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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: SAX2/Java: Towards a final form

[ Lists Home | Date Index | Thread Index ]
  • From: John Aldridge <john.aldridge@informatix.co.uk>
  • To: xml-dev@ic.ac.uk
  • Date: Mon, 10 Jan 2000 17:03:45 +0000

At 11:18 10/01/00 -0500, David Megginson <david@megginson.com> wrote:

>There is also the possibility that there will be a SAX feature to ask
>the XMLReader to place all unprefixed attribute names into the parent
>element's Namespace at user option (the default will be to leave them
>distinct).

I suggest that, if there is a need to support both modes, then it may well
be namespace dependent within one overall XML file.  For example:

   <a:a aa="b"/>
   <b:a aa="b"/>

might actually mean

   <a:a {nonamespace}:aa="b"/>
   <b:a b:aa="b"/>

Perhaps the way to integrate this is to say that the parsing mode may be
set within the startPrefixMapping() callback, and then only applies to
elements from the namespace being started.
-- 
Cheers,
John

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/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe 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