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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: XSchema Spec, Section 3, Draft 1 (Namespaces)

[ Lists Home | Date Index | Thread Index ]
  • From: "Simon St.Laurent" <SimonStL@classic.msn.com>
  • To: "Xml-Dev (E-mail)" <xml-dev@ic.ac.uk>
  • Date: Tue, 30 Jun 98 13:03:13 UT

>> 3.2 Interaction with Other Namespaces
>
>why is this needed?
>the processor will sit on top of a parser which supports namespace pi's.
>if w^3 removes the src attribute, then perhaps.
>better would be a parallel mechanism (another pi) since that will be required
>anyway by a processor (non-xschema) which wishes to validate the document
>against its schema/dtd

The processor will sit on top of a parser which supports namespace PIs and (as 
I understand it) spits out resolved namespace references.  The processor needs 
to be able to determine whether these resolved namespace references match up 
with the resolved names in the XSchema.  Because element names in XSchemas are 
stored as attribute values, an extra resolution step is required.  The 
namespace element provides the processor with the information to do this, and 
also makes it easier to cope with situations where prefixes change between the 
XSchema's creation and the arrival of the document instance to be processed.

We could use the normal namespace PI and just force the processor to deal with 
reading those PIs and processing them, but this seems to confuse the 
namespaces issues further.  (There'd be a namespace for XSC, a namespace for 
extensions, and a pile of namespaces for the elements of the XSchema.  
Plausible but messy.)

There will be more detail on these issues in Section 4 (conversion to DTDs, 
where it all goes back into the DTD and PIs) and Section 5.

John Cowan wrote a piece June 5 - Re: Namespaces: Biting The Bullet.  It 
should be in the archive someplace.

If I'm wrong about this, or if there's a better way, I'd _really_ like to hear 
it.  Please let me know, everyone.

Simon St.Laurent
Dynamic HTML: A Primer / XML: A Primer / Cookies


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

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

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