[Home] [By Thread] [By Date] [Recent Entries]
> 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
|

Cart



