William Lupton <[email protected]> writes:
> But the errata at https://www.w3.org/XML/xml-V10-5e-errata
> <https://www.w3.org/XML/xml-V10-5e-errata> say the following. There
> are also related changes to Section 2.6 (processing instructions) and
> Section 3 (logical structures).

>> Section 2.3 Common Syntactic Constructs 
>> <http://www.w3.org/TR/REC-xml/#sec-common-syn>
>> Delete the following paragraph:
>>
>> Names beginning with the string "xml", or with any string which would
>> match (('X'|'x') ('M'|'m') ('L'|'l')), are reserved for
>> standardization in this or future versions of this specification.

Hmmm, I'd not heard of that.  But let me also quote this part of the
same errata, which is the new version of section 3:

>> This specification does not constrain the application semantics, use,
>> or (beyond syntax) names of the element types and attributes, except
>> that names beginning with "xml:" are reserved for standardization in
>> this or future specifications from the XML Core Working Group or its
>> successors.

If I read everything correctly, the only reserved names are now:

- beginning with "xml:" (the revised XML spec)
- the attribute "xmlns" (XML Namespaces spec)
- attributes beginning "xmlns:" (XML Namespaces spec)
- the attributres "xml:base" and "xml:id" (other XML specs, per Wikipedia)

And it seems that the only way to use Yang to cause the creation of an
XML name that violates those rules is to define a prefix "xml", which
will appear on element names.  But maybe even that one exclusion isn't
true, since the use of a Yang prefix as an XML namespace name is not
mandatory; the processor is allowed to use a different prefix if there
is a "conflict".  (6020bis, section 7.1.4)

Dale

_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to