W3C home > Mailing lists > Public > www-international@w3.org > October to December 2005

Re: New article published: xml:lang in XML document schemas

From: Jeremy Carroll <jjc@hpl.hp.com>
Date: Thu, 24 Nov 2005 14:54:57 +0000
Message-ID: <4385D441.904@hpl.hp.com>
To: Addison Phillips <addison.phillips@quest.com>
CC: www-international@w3.org


Addison

I was somewhat surprised at:
[[
XML Schema requires that the xml namespace be declared and imported 
before using xml:lang (and other xml namespace values)
]]
http://www.w3.org/International/questions/qa-when-xmllang

since in:
http://www.w3.org/TR/1999/REC-xml-names-19990114/#ns-using
I read:
[[
The namespace prefix, unless it is xml or xmlns, must have been declared 
in a namespace declaration attribute in either the start-tag of the 
element where the prefix is used or in an an ancestor element (i.e. an 
element in whose content the prefixed markup occurs). The prefix xml is 
by definition bound to the namespace name 
http://www.w3.org/XML/1998/namespace.
]]

Please clarify

Jeremy

Richard Ishida wrote:
> 
> 
> 
> After incorporating comments from the review phase, the GEO Working Group has published the article:
> 
> 	xml:lang in XML document schemas
> 	http://www.w3.org/International/questions/qa-when-xmllang
> 	By Addison Phillips, Quest Software
> 
> 
> 
> The article provides an answer to the question: When should I use xml:lang and when should I define my own element or attribute for passing language values in an XML document schema (DTD)?
> 
> 
> 
> 
> You can find various news filters and RSS feeds relating to the work of the Internationalization Activity at http://www.w3.org/International/log/description
> 
> 
> 
> ============
> Richard Ishida
> Internationalization Lead
> W3C
> 
> http://www.w3.org/People/Ishida/
> http://www.w3.org/International/
> http://people.w3.org/rishida/blog/
> http://www.flickr.com/photos/ishida/
> 
> 
> 
Received on Thursday, 24 November 2005 14:55:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:17:06 GMT