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? Michel Benhamou
- Re: How to use RevalidatingDOMParser? Ted Leung