Hi,
Xerces handles both external and internal DTD subsets.
scanDoctypeDecl() method checks if the DTD is external or internal and calls
scanDecls(boolean) with true or false value accordingly.
Hope this answers your query.
regards,
Pavani
--
Sun Microsystems Inc.
> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
> list-help: <mailto:[EMAIL PROTECTED]>
> list-unsubscribe: <mailto:[EMAIL PROTECTED]>
> list-post: <mailto:[EMAIL PROTECTED]>
> Delivered-To: mailing list [EMAIL PROTECTED]
> X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0
> Content-Class: urn:content-classes:message
> Subject: how to change Xerces 1.x to use my own dtd for validation
> Date: Tue, 21 Aug 2001 10:04:25 -0700
> X-MS-Has-Attach:
> X-MS-TNEF-Correlator:
> Thread-Topic: how to change Xerces 1.x to use my own dtd for validation
> Thread-Index: AcEqY1Tm/gVLWi/0TRu2u5idW1KVFg==
> From: "Jim Gan" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N
> Content-Transfer-Encoding: 8bit
> X-MIME-Autoconverted: from quoted-printable to 8bit by blr-root.India.Sun.COM
id WAA23849
>
>
> Hi,
>
> I'd like to change the Xerces 1.x parser to use the local dtd instead of
> the
> dtd embedded in the xml document for validation.
>
> Can anyone tell me which java files I should modify ?
> Is it enough to just change scanDoctypeDecl() in XMLDocumentScanner ?
>
> Thanks in advance
>
> Jim
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]