users@jaxb.java.net

xjc bug with xsd:documentation

From: Malachi de AElfweald <malachi_at_EOTI.ORG>
Date: Wed, 05 Mar 2003 14:52:02 -0700

In playing with JAXB, I tried parsing the AbiWord xsd (http://www.abisource.com/awml.xsd) fails to parse on the following:

<xsd:annotation>
  <xsd:documentation>
    XML Schema for AbiWord Markup Language
    This should properly validate all AbiWord documents
    For validation, use http://cgi.w3.org/cgi-bin/xmlschema-check
    Please report errors to sam_at_uchicago.edu
    Modifed on 4-27-00
  </xsd:documentation>
</xsd:annotation>

with a series of errors like:
parsing a schema...
[ERROR] s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than xs:appinfo and xs:documentation.
Saw 'XML Schema for AbiWord Markup Language'.
  line 13 of awml.xsd


>>From what I have learned of Schema, theirs should be correct.

Malachi