[Home] [By Thread] [By Date] [Recent Entries]

  • From: David Carlisle <davidc@n...>
  • To: jborden@m...
  • Date: Fri, 21 Sep 2001 13:51:14 +0100



> Algorithm to normalize namespace prefixes
This fails if the document you are normalising makes use of prefixes in
places you haven't normalised. For example if the document happens to be
an XSL stylesheet it will have XPath expressions all over the place, and
prefixes appearing in namespace-alias attributes etc. In general how are
you to know in a general XML document where th enamespace prefixes are?
any string might be (say) a URI employing XPointer. If you remap the
prefixes in the declarations but not in the XPointer, you break the link.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member