Gregory
Web bumps out :)

static {
        DTDs.put(WEBXML_SYSTEM_ID_2_2,
WebUtils.class.getResource("dtd/web-app_2_2.dtd"));
        DTDs.put(WEBXML_SYSTEM_ID_2_3,
WebUtils.class.getResource("dtd/web-app_2_3.dtd"));
        DTDs.put(WEBXML_SCHEMA_2_4,
WebUtils.class.getResource("dtd/web-app_2_4.xsd"));

        DTDs.put(TAGLIB_SYSTEM_ID_1_2,
WebUtils.class.getResource("dtd/web-jsptaglibrary_1_2.dtd"));
        DTDs.put(TAGLIB_SCHEMA_2_0,
WebUtils.class.getResource("dtd/web-jsptaglibrary_2_0.xsd"));

        DTDs.put("http://java.sun.com/xml/ns/j2ee/jsp_2_0.xsd";,
WebUtils.class.getResource("dtd/jsp_2_0.xsd"));
        DTDs.put("http://java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd";,
WebUtils.class.getResource("dtd/j2ee_1_4.xsd"));
 
DTDs.put("http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xs
d", WebUtils.class.getResource("dtd/j2ee_web_services_client_1_1.xsd"));
        DTDs.put("http://www.w3.org/2001/xml.xsd";,
WebUtils.class.getResource("dtd/xml.xsd"));
        DTDs.put("http://www.w3.org/2001/XMLSchema.dtd";,
WebUtils.class.getResource("dtd/XMLSchema.dtd"));
        DTDs.put("http://www.w3.org/2001/datatypes.dtd";,
WebUtils.class.getResource("dtd/datatypes.dtd"));
    }

Quite nice, but where are these? 
Have you forgot to add those to CVS or were they moved somewhere else and
the reference left untouched ?

Regards
Diogo




-----------------------------------
Diogo Bacelar Quintela
EF - Tecnologias de Informação, Lda.
Av. António Serpa, 26 - 4º Dto.
1050-027 Lisboa, Portugal
Tel: (+351) 217 827 800
Fax: (+351) 217 827 830
Email: [EMAIL PROTECTED]
PGP: 0xF51A5AB9 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Grégory Joseph
> Sent: domingo, 4 de Dezembro de 2005 16:55
> To: xdoclet-plugins-interest@lists.sourceforge.net
> Subject: Re: [xdoclet-plugins-interest] Re: xsd validation
> 
> Hmmm.. got it now, by separating my tests, instead of trying to run
> tests for different "servletversion" of the same plugin in one test
> class. I assume the static-ness of some XmlUnit stuff was the cause of
> the pain there... maybe.
> 
> Cheers,
> 
> g
> 
> On 04/12/05, Grégory Joseph <[EMAIL PROTECTED]> wrote:
> > Alright, I still don't get this. With my latest commit, the generated
> > document is validated .. at generation time, thus, by the plugin...
> > while it's not, when testing.
> > Fails here:
> > XMLUnit.buildDocument(actualParser, new
> InputSource(actual.openStream()));
> > for both the actual and expected documents, in
> AbstractXmlGeneratingTestCase.
> >
> > Has anyone a clue ?
> > Cheers,
> >
> > g
> >
> > On 02/12/05, Grégory Joseph <[EMAIL PROTECTED]> wrote:
> > > Diogo,
> > >
> > > I had left this aside for a while, but remember you advised me on this
> > > subject ! ;-)
> > > I'm about to commit a couple of changes - but my tests still won't
> > > pass. Would you be kind enough to take a look? I've added all the
> > > missing xsd/dtd on which the main ones depend, at least all those i
> > > could see, and I still get the no grammar found errors :-/
> > > I'll try s'more, but I guess some fresh eyes on this couldn't hurt.
> > >
> > > When it all works, I hope we can somehow factor out some of this dtd
> > > mapping mess out ;)
> > >
> > > Cheers,
> > >
> > > g
> > >
> > > On 01/09/05, Diogo Quintela (EF) <[EMAIL PROTECTED]> wrote:
> > > > If you use XMLOutputValidator(Map)
> > > > I believe you should provide a map that points to *ALL* needed DTD
> and XSD.
> > > > Not only top ones!
> > > >
> > > > Check <xsd:include schemaLocation="...."/>
> > > > in XSD files and the similar for DTD's
> > > >
> > > > That's why in EjbVersion.fillEntityResolverMap
> > > > I add a couple more xsd's dtd's no directly refered.
> > > > (some of these, if we pull EjbVersion to generama or alike, should
> be put
> > > > there also, for reuse)
> > > >
> > > > http://www.w3.org/2001/XMLSchema.dtd
> > > > http://www.w3.org/2001/datatypes.dtd
> > > > http://www.w3.org/2001/xml.xsd
> > > >
> > > > Are kinda vulgar and are my primary candidates.
> > > >
> > > >
> > > > I don't really known if that helps, but googling for "Document is
> invalid:
> > > > no grammar found" gives somes tips.
> > > >
> > > > Regards
> > > > Diogo
> > > >
> > > >
> > > >
> > > > -----------------------------------
> > > > Diogo Bacelar Quintela
> > > > EF - Tecnologias de Informação, Lda.
> > > > Av. António Serpa, 26 - 4º Dto.
> > > > 1050-027 Lisboa, Portugal
> > > > Tel: (+351) 217 827 800
> > > > Fax: (+351) 217 827 830
> > > > Email: [EMAIL PROTECTED]
> > > > PGP: 0xF51A5AB9
> > > > > -----Original Message-----
> > > > > From: [EMAIL PROTECTED]
> > > > > [mailto:[EMAIL PROTECTED] On
> Behalf Of
> > > > > Grégory Joseph
> > > > > Sent: quinta-feira, 1 de Setembro de 2005 0:24
> > > > > To: xdoclet-plugins-interest@lists.sourceforge.net
> > > > > Subject: [xdoclet-plugins-interest] Re: xsd validation
> > > > >
> > > > > Hmm, I also get
> > > > > org.xml.sax.SAXParseException: Document is invalid: no grammar
> found.
> > > > >         at org.apache.xerces.parsers.DOMParser.parse(Unknown
> Source)
> > > > >         at
> org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown
> > > > > Source)
> > > > >         at
> > > > > org.custommonkey.xmlunit.XMLUnit.buildDocument(XMLUnit.java:352)
> > > > >         at
> > > > >
> org.generama.tests.AbstractXMLGeneratingPluginTestCase.compare(AbstractXML
> > > > > GeneratingPluginTestCase.java:25)
> > > > >         at
> > > > >
> org.generama.tests.AbstractPluginTestCase.testGenerateContent(AbstractPlug
> > > > > inTestCase.java:29)
> > > > >
> > > > > if I turn validation off. I'm really surprised I didn't get the
> same
> > > > > kind of errors with the tld plugin.
> > > > >
> > > > > g
> > > > >
> > > > >
> > > > > -------------------------------------------------------
> > > > > SF.Net email is Sponsored by the Better Software Conference & EXPO
> > > > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> > > > > Practices
> > > > > Agile & Plan-Driven Development * Managing Projects & Teams *
> Testing & QA
> > > > > Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> > > > > _______________________________________________
> > > > > xdoclet-plugins-interest mailing list
> > > > > xdoclet-plugins-interest@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-
> interest
> > > >
> > > >
> > > >
> > >
> >
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_idv37&alloc_id865&opÌk
> _______________________________________________
> xdoclet-plugins-interest mailing list
> xdoclet-plugins-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to