quality@glassfish.java.net

Re: unable to get web-app_3_0.xsd pass validation

From: Davis Nguyen <Davis.Nguyen_at_Sun.COM>
Date: Fri, 06 Mar 2009 16:59:37 -0800

Hi Sebastien,

Has you tried the Java Blue Print yet, they have many different
applications for webapp 2.2-2.5?
http://java.sun.com/reference/blueprints/
I don't know if anyone here wrote a complete web 3.0 xml file yet!

-davis

Survivant 00 wrote:

> :)
>
> and if someone have complete samples for webapp 2.2 , 2.3, 2.4 and 2.5
> ... shoot it here :)
>
>
>
> 2009/3/5 Judy Tang <Judy.J.Tang_at_sun.com <mailto:Judy.J.Tang_at_sun.com>>
>
> Hi Survivant, Wow, this sounds a good test to test through all
> the possibilities in the web.xml, ha ...
>
> Wait some time, I am sure some one will jump in to help you :-)
>
> Judy
>
> Survivant 00 wrote:
>
> I confirm that it works well now. b39.
>
> there is someone that can send me a complete web.xml 3.0 ?
> I just need all the possibilities in the web.xml for my tests.
>
> need that to complete my MultipleWar deployer for Grizzly :)
>
>
> 2009/3/5 Judy Tang <Judy.J.Tang_at_sun.com
> <mailto:Judy.J.Tang_at_sun.com> <mailto:Judy.J.Tang_at_sun.com
> <mailto:Judy.J.Tang_at_sun.com>>>
>
>
> And you may help us find new bugs, many thanks to Survivant.
>
> Hi Jan, Amazed with your fast help and many thanks.
>
> Judy
>
> Survivant 00 wrote:
>
> thanjs you.. yes it was a older version. will download
> it right
> away
>
>
> 2009/3/5 Jan Luehe <Jan.Luehe_at_sun.com
> <mailto:Jan.Luehe_at_sun.com> <mailto:Jan.Luehe_at_sun.com
> <mailto:Jan.Luehe_at_sun.com>>
> <mailto:Jan.Luehe_at_sun.com <mailto:Jan.Luehe_at_sun.com>
> <mailto:Jan.Luehe_at_sun.com <mailto:Jan.Luehe_at_sun.com>>>>
>
>
>
> Hi Survivant,
>
>
> On 03/ 5/09 11:42 AM, Survivant 00 wrote:
>
> 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 ?
>
>
> web-common_3_0.xsd was recently (2009-03-02) fixed
> by Shing Wai :
>
> @@ -556,13 +556,13 @@
>
> </xsd:documentation>
> </xsd:annotation>
> + </xsd:element>
> <xsd:element name="async-supported"
> type="javaee:true-falseType"
> minOccurs="0"/>
> <xsd:element name="async-timeout"
> type="javaee:xsdIntegerType"
> minOccurs="0"/>
> - </xsd:element>
>
> <xsd:element name="init-param"
>
> type="javaee:param-valueType"
>
>
> The latest promoted build (b39) should have this fix.
> Are you using the schema from one of the earlier
> promoted builds?
>
> Thanks,
>
> Jan
>
>
>
> 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
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> quality-unsubscribe_at_glassfish.dev.java.net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>>
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>>>
>
> For additional commands, e-mail:
> quality-help_at_glassfish.dev.java.net
> <mailto:quality-help_at_glassfish.dev.java.net>
> <mailto:quality-help_at_glassfish.dev.java.net
> <mailto:quality-help_at_glassfish.dev.java.net>>
> <mailto:quality-help_at_glassfish.dev.java.net
> <mailto:quality-help_at_glassfish.dev.java.net>
> <mailto:quality-help_at_glassfish.dev.java.net
> <mailto:quality-help_at_glassfish.dev.java.net>>>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> quality-unsubscribe_at_glassfish.dev.java.net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>>
> For additional commands, e-mail:
> quality-help_at_glassfish.dev.java.net
> <mailto:quality-help_at_glassfish.dev.java.net>
> <mailto:quality-help_at_glassfish.dev.java.net
> <mailto:quality-help_at_glassfish.dev.java.net>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> <mailto:quality-unsubscribe_at_glassfish.dev.java.net>
> For additional commands, e-mail:
> quality-help_at_glassfish.dev.java.net
> <mailto:quality-help_at_glassfish.dev.java.net>
>
>