This is my first post to the Xerces Java User list, so please forgive me if
this email is misdirected (i.e. should be directed to the dev list) or
otherwise insufficient.


>From the Xerces-Java Performance FAQ:
"If you don't need validation, avoid using a DOCTYPE line in your XML
document. The current version of the parser will always read the DTD if the
DOCTYPE line is specified even when validation feature is set to false."


Unfortunately for me, the application we're developing is NOT the source of
some of the XML documents it will be processing -- and the source MAY elect
to include the DOCTYPE tag, and referencing a DTD on the Internet. This is
problematic for two reasons -- mainly, that fetching and parsing the DTD for
each data document would be prohibitively expensive, and also that the
application's host is not guaranteed to have access to the URI specified in
the DOCTYPE tag.

Is there a workaround for this dilemma, or is a forthcoming release of
Xerces going to allow complete disabling of the DTD fetch-and-parse section
of validation?

Thanks in advance,
Chris Rathjen
Infinite Technology, Inc.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to