Re: [svg-developers] Re: some discussion of SVG 1.2

Jim Ley wrote:

 > and if that namespace context changed?   My problem with using the
 > prefix, is that the prefix is supposed to disappear once you've parsed
 > the XML, which would mean your
 > (//rect[@ex:type='stepBox']).mouseover
 > would have to be expanded to:
 > (//rect[@urn:moo:type='stepBox']).mouseover
 > on parsing, which means why bother with the extra confusing layer -
 > why not just work with the namespace direct?

I think you misunderstood the original proposal; sure there need to be
URIs declared for prefixes. I don't think he suggested using prefixes
without URI mappings.

Then your question seems to be: why use prefixes, not URIs? ... saves
typing.

Tobi

-- 
http://www.pinkjuice.com/

Received on Monday, 18 November 2002 12:39:30 UTC