quality@glassfish.java.net

unable to get web-app_3_0.xsd pass validation

From: Survivant 00 <survivant00_at_gmail.com>
Date: Thu, 5 Mar 2009 14:42:46 -0500

I was trying to generate classes from the schemas web-app_3_0.xsd that
came from GF_v3

but I always obtain a validation error.

[INFO] [jaxb2:generate {execution: default}]
Cannot find CatalogManager.properties
[ERROR] XJC while parsing schema(s)
file:/F:/workspace/dtd-schemas-generator/src
/main/resources/web-common_3_0.xsd[382,21]: org.xml.sax.SAXParseException:
Unexp
ected <xsd:element> appears at line 382 column 21


I tried with Altova XMLSpy 2009.. and got a validation error too.


can someone confirm that the schemas are fine in GF_v3 ?

here the files that I used to generate the classes :

domain.jaxb
javaee_5.xsd
javaee_web_services_1_2.xsd
javaee_web_services_client_1_2.xsd
jsp_2_1.xsd
web-app_3_0.xsd
web-common_3_0.xsd
web-fragment_3_0.xsd

if SAXParser is not able to validate the schemas.. I don't think webapps
that use 3_0 will works on GF_v3