> are you sure you implemented the ErrorHandler to capture the error and
> warning messages?

Yes.

By the way, I also use an IBM Alphaworks utility named XML Viewer, based upon
the XML4J parser and it shows the same behaviour.

Amedeo

>
>
> Please respond to xerces-j-user <[EMAIL PROTECTED]>
> To:     xerces-j-user <[EMAIL PROTECTED]>
> cc:
>
> Subject:        Re: DTD validation
>
> Hi Anish,
>
> > Your XML file and the Dtd is correct . Your dtd correctly says that
> there
> > will be a name tag inside the content tag. So the parser is correctly
> not
> > complaining.
>
> Inside the content tag, _not_ inside the container tag at the same level
> with
> the content tag.
> I would like to have the parser complain because it has found a name tag
> _outside_ the content tag. How should I write the DTD to obtain this
> behaviour?
>
> Am I missing something fundamental?
>
> Thanks
>
> Amedeo
>
>
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to