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] external entities

[ Lists Home | Date Index | Thread Index ]

In article <420B44A5.9020602@metalab.unc.edu> you write:

>> Well that's illegal for a start: you can't use element or attribute
>> names starting "xml".

>But that's not really an element or attribute name, is it?

All Names starting "xml" are reserved, not just element and attribute
names.

>The document is invalid, but I don't think this makes it malformed.

You're right, I went too far in saying that it was "illegal".  I don't
think the term "reserved" is defined by the XML spec, but the idea is
that you shouldn't use those names because they might be used for some
purpose in the future.  Parsers shouldn't reject them, because they
might have been assigned such a purpose in some higher layer, just as
was the case with attributes starting "xmlns".  Using a reserved Name
is wrong, but not a well-formedness error.

-- 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