Re: Reserved XML names and namespaces

Michael,

An XML with Namespaces document should at first be XML document (because one
is a subset of the other)

Since it's not allowed in XML, it is a fortiori not allowed for XML with
Namespaces document

Regards,

Mohamed

On Thu, May 12, 2011 at 5:56 PM, Michael Schäfer <
michael.schaefer@destatis.de> wrote:

> Dear Madam or Sir,
>
> I'm an employee of the Federal Statistical Office and member of
> a working group that developed an XML protocol for exchanging
> data between businesses and public administrations.
>
> A few days ago an implementor has come up with a question about
> the protocol's conformity with the XML specification, since the
> root element is named 'XMLTransport' and possibly considered a
> reserved name according to that specification.
>
> However, that element is defined in a namespace, so according to
> the XML Namespaces specification the local part of its name must
> conform to
>
>  http://www.w3.org/TR/2009/REC-xml-names-20091208/#NT-LocalPart
>
> which is equivalent to NCName at
>
>  http://www.w3.org/TR/2009/REC-xml-names-20091208/#NT-NCName
>
> which refers back to Name at
>
>  http://www.w3.org/TR/REC-xml/#NT-Name
>
> in the XML specification, excluding the colon from the character
> space.
>
> Name defines syntax and character space for legal XML Names. The
> "rule" defining reserved names appears separately somewhat earlier
> in the same section. It's applicability seems to be restricted to
> the XML specification ("this specification"). Also, it is not a
> production.
>
> To me, it is unclear wether or not that rule applies to XML names
> defined in an XML namepace.
>
> I'd appreciate any clarification or helpful pointers on that subject.
>
> Thank you vermy much in advance,
>
> Michael Schäfer
>
> --
> _____________________________________
>
>   Michael Schäfer
>
>   C304 Werkzeuge und Standards
>
>   Telefon +49 (0)611.753652
>
>   michael.schaefer@destatis.de
>   www.destatis.de
>
>   DESTATIS
>   wissen.nutzen. | Statistisches Bundesamt
>
>
>
>
>
>
>


-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 €

Received on Thursday, 12 May 2011 17:50:27 UTC