Digital UK Design Blog

Do you like this story?

I found out two things today.

  1. The XSD for this XML:
    <someElement anAttribute="aValue">someValue</someElement>

    goes a little something like this:

    <xs:element name="someElement" type="some-element-def"
                         minOccurs="1" maxOccurs="1" />
    ...
    <xs:complexType name="some-element-def">
    <xs:simpleContent>
    <xs:extension base="xs:integer">
    <xs:attribute name="someAttribute" type="xs:boolean"
                             use="optional" />
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
  2. To get bzr 1.5 running on Ubuntu Hardy Heron add a couple of entries to /etc/apt/sources.list and re-run synaptic.
    deb-src http://ppa.launchpad.net/bzr/ubuntu hardy main
    deb http://ppa.launchpad.net/bzr/ubuntu hardy main
  3. To compile PHP4 with MySQL support other than the archaic bundled 3.x use --with-mysql=/usr

Related posts:

  1. Ubuntu Hardy Heron
  2. New job
  3. Ubuntu UK Podcast
  4. MySQL column truncation vulnerability
  5. How to downgrade packages in Ubuntu

Author :

Stephen O'Neill (aka Squid) is the co-founder of The Floating Frog and has written in excess of 50+ articles on web design development on the blog. Stephen now occasionally blogs, focusing his attention on his career at Ebuyer, his love for growing vegetables and his rescued cat.

3 Responses so far

  1. John Says:


    Hi, the launchpad hardy repository does NOT have bzr 1.5. I fyou want bzr 1.5, you have to build it yourself.


  2. squid Says:


    Ah crap, it looks like it’s been dropped in the last 3 weeks, or perhaps it’s been temporarily unpublished.

    https://launchpad.net/~bzr/+archive doesn’t list it at all for hardy, but does have bzrtools.

    You can get 1.6 beta: https://launchpad.net/~bzr-beta-ppa/+archive


  3. squid Says:


    A guy I work with says that they accidentally pushed 1.6b to the PPA repository and have since deleted 1.5 and not reinstated it.

    It’s an occupational hazard of the PPAs.

    I’d suggest trying 1.6b because it’s going to be released before long anyway.




Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

©2006 - 2009 The Floating Frog