users@glassfish.java.net

Re: beans.xml grammar

From: Ludo <Ludovic.Champenois_at_Sun.COM>
Date: Wed, 30 Dec 2009 10:59:20 -0800

Felipe Gaścho wrote:
> again a boring warning in my IDE about a XML file without any grammar..
>
> option #1 - to disable the validation (ulgy, but works)
> option #2 - to declare the proper schema or DTD for the beans.xml file
> (elegant and the way to go)
>
> so, where is the model of the beans.xml file ? an schema or even an old dtd ?
>
schema files are in lib/schemas directory of gf v3.
See beans_1_0.xsd file.
This schema is registered in the GlassFish Eclipse plugin automatically.
Ludo