Loading ...
Sorry, an error occurred while loading the content.

27055Re: namespace question

Expand Messages
  • Niklas Gustavsson
    Mar 3, 2003
      nrissvg wrote:
      > Is it good form to add custom attributes to an SVG tag without
      > specifying some sort of namespace?
      >
      > e.g. I have a tag like this:
      >
      > <circle id="circ1" cx="100" cy="150" r="4" name="Upper Begonia" />
      >
      > Is it okay to make it:
      >
      > <circle id="circ1" cx="100" cy="150" r="4" name="Upper Begonia"
      > featuretype="point" />
      >
      > This doesn't seem to affect ASV and it is gettable. But I'm wondering
      > if it's valid XML.

      It's no valid SVG. However, with a modified DTD it could be. But, it's
      best to keep it in your own namespace to keep a clean separation.

      You can read more at: http://www.w3.org/TR/SVG11/extend.html#PrivateData

      /niklas
    • Show all 5 messages in this topic