OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: Why the Infoset?

[ Lists Home | Date Index | Thread Index ]
  • From: Richard Tobin <richard@cogsci.ed.ac.uk>
  • To: xml-dev@lists.xml.org
  • 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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS