W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2006

Re: modules binding the xml/xmlns prefix

From: Jonathan Robie <jonathan.robie@datadirect.com>
Date: Mon, 27 Feb 2006 12:11:11 -0500
Message-ID: <440332AF.7080403@datadirect.com>
To: Frans Englich <frans.englich@telia.com>
CC: public-qt-comments@w3.org

Frans Englich wrote:
> Hi everyone,
>
> 4.12 Namespace Declaration specifies that it is not allowed to redeclare the 
> xml and xmlns prefix(XQST0070).
>
> A module declaration also allows an namespace binding to be done: "In the 
> statically known namespaces of the library module, the namespace prefix 
> specified in the module declaration is bound to the module's target 
> namespace".
>
> I don't see what makes it invalid to do for example "module namespace xml = 
> 'example.org/ns';".
>
> What have I missed? Or already taken care of? I'll probably file a report 
> otherwise.
>
>
> Regards,
>
> 		Frans
>
>   

Hi Frans,

These prefixes are reserved in the XML namespaces spec:

http://www.w3.org/TR/2004/REC-xml-names11-20040204/#xmlReserved

Since  "module namespace xml ='example.org/ns';" binds xml to a 
different prefix, it seems inconsistent with the philosophy advocated by 
the XML namespaces rec.

Jonathan

-- 
Read my Blog: http://blogs.datadirect.com/jonathan_robie/
Learn XQuery: http://media.datadirect.com/download/docs/ddxquery/tutorial_query.html
Learn XQJ (the JDBC for XQuery): http://www.datadirect.com/developer/xquery/topics/xqj_tutorial/
Get DataDirect XQuery: http://www.datadirect.com/products/xquery/
Received on Monday, 27 February 2006 17:11:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:10 UTC