I have an xsd doc like :
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.capeclear.com/Foo"
xmlns:use="http://www.capeclear.com/Foo"
elementFormDefault="qualified" >
<xsd:annotation>
<xsd:documentation xml:lang="en">
Foo
Bar
</xsd:documentation>
</xsd:annotation>
....
</xsd:schema>
The xml:lang attribute is highlighted as not allowed - but it is so
according to
http://www.w3.org/TR/xmlschema-1/#declare-annotation
And also the schema's schema
<xs:element name="documentation" id="documentation">
<xs:annotation>
<xs:documentation
source="http://www.w3.org/TR/xmlschema-1/#element-documentation"/>
</xs:annotation>
<xs:complexType mixed="true">
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:any processContents="lax"/>
</xs:sequence>
<xs:attribute name="source" type="xs:anyURI"/>
<xs:attribute ref="xml:lang"/>
</xs:complexType>
</xs:element>
Edo
---
Edoardo Comar
Cape Clear Software
NEW CapeStudio 3, out now
Design, develop, integrate & deploy Web Services
http://www.capeclear.com/download
_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list