W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2001

Re: Declaring an element with an "xml:lang" attribute

From: Eddie Robertsson <eddie@allette.com.au>
Date: Fri, 17 Aug 2001 16:02:13 +1000
Message-ID: <3B7CB365.92206826@allette.com.au>
To: Tony.Coates@reuters.com
CC: xmlschema-dev@w3.org
Hi Tony,

Tony.Coates@reuters.com wrote:

> Attached is a ZIP file with a sample XML Schema that defines a "text" element with an "xml:lang" attribute.  I guess I thought this should be easy, but the attached solution only works with XSV, TIBCO Extensibility's tools, & MSXML 4.  I cannot get it to work with Xerces 1.4 or the Oracle XDK 9 beta.  Does anyone have a solution that does work for all known validators?  (See attached file: language.zip)

The way you have defined the xml:lang attribute is THE correct way. Why this doesn't work with some processors I don't know but I can't think of another solution that would work in the correct way. This solution works with XML Spy as well and hopefully it will work in the next version of Xerces and Oracle as well.

Cheers,
/Eddie
Received on Friday, 17 August 2001 02:03:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:23 GMT