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

  • From: Richard Tobin <richard@c...>
  • To: xml-dev@l...
  • Date: Tue, 01 Aug 2000 17:53:07 +0100 (BST)


> For example the two documents below have the same core infoset but different
> canonical forms:

> 1: <x:a xmlns:x="one.uri"/>
> 2: <y:a xmlns:y="one.uri"/>

Actually they have different core infosets, because the prefixes are
there in the namespace declaration info items.  (As they  have to be,
so that qualified names in attributes and text can be resolved.)

> While these two have the same canonical form but different core infosets:

> 1: <x:a xmlns:x="one.uri"><x:b/></x:a>
> 2: <x:a xmlns:x="one.uri"><x:b xmlns:x="one.uri"/></x:a>

If the in-scope namespaces, rather than the declared namespaces, were
in the core this would be fixed.

-- Richard

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