[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Why the Infoset?
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|