- From: Eric van der Vlist <vdv@dyomedea.com>
- Date: Tue, 07 Nov 2000 21:29:39 +0100
- To: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
I don't know if the problem is related or not, but: <xsd:schema xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" xmlns:xml="http://www.w3.org/XML/1998/namespace" targetNamespace='http://www.w3.org/XML/1998/namespace' attributeFormDefault="unqualified"> <xsd:attribute name="lang" type="xsd:language"/> </xsd:schema> works fine (I can reference a xml:lang attribute), while: <xsd:schema xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" xmlns:xml="http://www.w3.org/XML/1998/namespace" targetNamespace='http://www.w3.org/XML/1998/namespace' attributeFormDefault="unqualified"> <xsd:attribute name="xml:lang" type="xsd:language"/> </xsd:schema> gives you an error: <schemaError char='8' line='15' phase='instance' resource='file:/C:/Java/Formations/xmlschemas/library-2ns1.xsd'>Undeclared attribute xml{http://www.w3.org/XML/1998/namespace}:lang referenced</schemaError> Eric -- ------------------------------------------------------------------------ Eric van der Vlist Dyomedea http://dyomedea.com http://xmlfr.org http://4xt.org http://ducotede.com ------------------------------------------------------------------------
Received on Tuesday, 7 November 2000 15:30:00 UTC