On 02 Sep 2001 07:58:57 -0600, Jason E. Stewart wrote:

>Is this one error for the non-validating, and one for the validating
>parser?

Yes.

>Also, how are you instructing the parser to be
>validating/non-validating? You need to use the setValidationScheme()
>method and the Val_Always or Val_Never enums, or it won't work
>properly. When I tried Val_Auto, I got lots of errors.

Since I use SAX2, I use the standard SAX2 validation feature, and did
set the Apache "dynamic" feature to true.

With auto=false, and only using the validating parser, I get 26
violations out of 1820 tests (plus two errors due to missing files),
which is certainly acceptable. And you're right, lots of OASIS tests
use well-formed docs w/o a DOCTYPE to test validating parsers
(expecting failure).


Ciao, J�rgen



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

Reply via email to