You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by Michel Benhamou <bm...@club-internet.fr> on 2000/01/16 01:05:18 UTC

How to use RevalidatingDOMParser?

I tried the validate method of a RevalidatingDOMParser
on a node but it doesn'work.
It seems that the fCurrentContentSpecType field used in
the checkContent method of DTDValidator class is set to -1
instead of the correct value corresponding to the node. I guess
there must be some initialising code necessary before calling validate.
Can anyone help?



Re: How to use RevalidatingDOMParser?

Posted by Ted Leung <tw...@sauria.com>.
RevalidatingDOMParser is broken in Xerces, and won't get
fixed until the schema support is done.

Ted
----- Original Message ----- 
From: "Michel Benhamou" <bm...@club-internet.fr>
To: <xe...@xml.apache.org>
Sent: Saturday, January 15, 2000 4:05 PM
Subject: How to use RevalidatingDOMParser?


> I tried the validate method of a RevalidatingDOMParser
> on a node but it doesn'work.
> It seems that the fCurrentContentSpecType field used in
> the checkContent method of DTDValidator class is set to -1
> instead of the correct value corresponding to the node. I guess
> there must be some initialising code necessary before calling validate.
> Can anyone help?
> 
> 
>