users@jaxb.java.net

JAXB - fails to resolve XML namespace for XHTML schema

From: Graeme Perrins <gperrins_at_optusnet.com.au>
Date: Thu, 20 Feb 2003 03:08:36 -0700

Hello,
I have been using JAXB to generate code for the XHTML modular schema. The JAXB compiler generates the following error when processing the SCHEMA/req/core/text/xhtml-blkphras-1.xsd schema:

jaxb:
[java] parsing a schema...
[java] src-resolve.4: Components from namespace 'http://www.w3.org/XML/1998/namespace' are not referenceable from schema document 'file:///opt/java/jaxb-1.0-beta/examples/users-guide/SampleApp2/SCHEMA/req/core/text/ xhtml-blkphras-1.xsd'.
[java] line 75 of xhtml-blkphras-1.xsd

[java] src-attribute_group: Attribute group 'pre.attlist' does not conform to the schema for schemas. Element 'attribute' is invalid or misplaced.
[java] line 75 of xhtml-blkphras-1.xsd

Has anyone seen this problem with this or other schemas? Does anyone know how I can modify the xhtml-blkphras- 1.xsd schema to be accepted by JAXB ?

Regards
Graeme Perrins
gperrins_at_optusnet.com.au