This is not a validation problem. This is the xml parser loading
the external entities referenced by the xml document. Validation
is a seperate and secondary step. The simplest solution is to
drop the DOCTYPE usage as this is the behavior your asking
for.

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx
----- Original Message -----
From: "Edward Gemar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "'Dain Sundstrom'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, March 05, 2002 11:57 AM
Subject: RE: [JBoss-user] How do I run JBoss when deployment descriptor
dtd's are unavailable?


> It would be nice to be able to turn dtd validation off
> completely. When I ran into this problem the first thing I tried was
> turning of dtd validation by setting both the
> javax.xml.parsers.validation and http://xml.org/sax/features/validation
> system properties to false, but that did nothing to change the problem.
>
> After looking at the xmlfileloader code, it appears that in my
> case, we were having the problem because we are using jboss 2.4.3, but
> referencing application_1_3.dtd.  The version of xmlfileloader in 2.4.3
> doesn't have a local ref for this dtd.  Seems like the short answer in
> my case, is to just change the reference to application_1_2.dtd.
> Thanks all for the help!
>
> Edward Gemar
> ForwardVue Technologies, Inc.
> Austin, TX
> Vox: 512-482-5126
> Fax: 512-651-3209
>
>
> -----Original Message-----
> From: Georg Schmid [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 05, 2002 1:30 PM
> To: 'Dain Sundstrom'; [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] How do I run JBoss when deployment descriptor
> dtd's are unavailable?
>
>
> Wouldn't this make the corresponding XML document kind of non-standard?
> I'd like to suggest another solution: prevent the XML parser from
> loading
> the DTD.
>
> There would not be any need to add more and more DTDs to JBoss jar, nor
> to
> work
> with non-standard doctype declarations.
>
> This can be done with Xerces (just set the corresponding feature), but I
> don't
> know whether Crimson can be talked into completely ignoring the DTD.
>



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to