[osis-core] warning on use of xs:language & xml:lang

Todd Tillinghast osis-core@bibletechnologieswg.org
Sat, 27 Sep 2003 19:55:54 -0600


Chris and Patrick,

One problem we will have is that the xml:lang must be defined in a
specific namespace.  The proper thing to do is to use the schema defined
for xml:lang.  It is possible for us to refer to
http://www.bibletechnologies.net/xml.xsd, use the
http://www.w3.org/XML/1998/namespace namespace, and make the changes we
want to xml.xsd.

Todd

> -----Original Message-----
> From: osis-core-admin@bibletechnologieswg.org [mailto:osis-core-
> admin@bibletechnologieswg.org] On Behalf Of Chris Little
> Sent: Saturday, September 27, 2003 7:13 PM
> To: osis-core@bibletechnologieswg.org
> Subject: [osis-core] warning on use of xs:language & xml:lang
> 
> I tried to validate a document that includes an ISO 639-2 value in an
> xml:lang attribute and found that they are invalid.  The XML Schema WG
> knows about the problem and records it in the errata:
> http://www.w3.org/2001/05/xmlschema-errata#e2-25 .
> 
> The problem stems partly from the update from RFC 1766 to RFC 3066,
> which allows 3-letter codes.  But the greater problem is that the
regex
> for xs:language in XML Schema 1.0 was never a correct reflection of
the
> pattern represented in either RFC.
> 
> This means we cannot correctly identify languages such as Aramaic
(arc)
> or Ancient Greek (grc) as RFC 3066 directs.
> 
> Perhaps we could recommend using "x-iso-[code]" (e.g. x-iso-grc for
> Ancient Greek) until Schema is updated.
> 
> --Chris
> 
> 
> 
> _______________________________________________
> osis-core mailing list
> osis-core@bibletechnologieswg.org
> http://www.bibletechnologieswg.org/mailman/listinfo/osis-core