Click to See Complete Forum and Search --> : Parsing XML - How to differ between XML / DTD


Volker Held
06-26-2002, 06:32 AM
Hi there,

i just completed a command-line XML
validation tool and it works fine.

I´m logging possible errors to a single
or multiple file(s) ( users choice ),
but the DTD is quite new itself, thus
there can be errors in both the XML
sources and the DTD file.

I´m using the Xerces parser ( 1.4.4 ) -
is there any way to tell if the error
occured in the DTD and not the xml source?

Thanks for any suggestions you might have.

Volker

Volker Held
06-26-2002, 07:25 AM
Sorry wrong group..... ;)

Volker Held wrote:
> Hi there,
>
> i just completed a command-line XML validation tool and it works fine.
>
> I´m logging possible errors to a single or multiple file(s) ( users
> choice ), but the DTD is quite new itself, thus there can be errors in
> both the XML sources and the DTD file.
>
> I´m using the Xerces parser ( 1.4.4 ) - is there any way to tell if the
> error occured in the DTD and not the xml source?
>
> Thanks for any suggestions you might have.
>
> Volker
>