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