[jdom-interest] Hi Again

Szegedi, Attila szegedi at scriptum.hu
Thu Jun 28 07:38:07 PDT 2001


As per XML spec, if a DTD is specified, the parser must read it even when
non-validating to ensure that
- the DTD is well-formed
- to obtain the entity definitions so it can expand entity references.

So, it is conforming behavior, not a bug.

Attila.

> -----Original Message-----
> From: jdom-interest-admin at jdom.org
> [mailto:jdom-interest-admin at jdom.org]On Behalf Of Noam Tamim
> Sent: Thursday, June 28, 2001 1:59 AM
> To: Jason Hunter; Peter Barraud
> Cc: Jdom
> Subject: Re: [jdom-interest] Hi Again
>
>
> > Sounds like Xerces is trying to contact java.sun.com to get the DTD
> > (yes, it does this even if validation is off) and is
> unsuccessful for
> > some reason, like you have a firewall.  You can use an
> EntityResolver in
> > the builder to avoid this issue.
>
> Why does Xerces do it when validation is off? Is that a bug?
>
>
>  - Noam.
>
>
>
>
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/yo
> uraddr at yourhost.com
>




More information about the jdom-interest mailing list