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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Namespace declaration versus attribute

[ Lists Home | Date Index | Thread Index ]

Amy Lewis writes:
> That seems to make sense, but isn't true in my experience.  I haven't
> used the MS parser; I've used various parsers for Java and maybe a
> couple for Perl and Python and the like.
> 
> In those parsers, if namespace recognition is turned on, a namespaced
> instance can be validated against a namespace-less (by definition)
> DTD. Mixing namespaces is pretty impossible, but otherwise it works
> fine. Both of the given examples were validated.  Possibly I'm using
> different parsers, or configuring them differently, though, than what
> you've seen.

I'd have to call those some seriously buggy parsers, if they're
validating.  I don't see anything in Namespaces in XML which
countenances that behavior.  Given that xml:lang and xml:space have to
be declared for use in valid documents, I don't see much precedent
either.



-------------
Simon St.Laurent - SSL is my TLA
http://simonstl.com may be my URI
http://monasticxml.org may be my ascetic URI
urn:oid:1.3.6.1.4.1.6320 is another possibility altogether




 

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

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