HI,
I am implementing my own SAX parser where I am
registering my handlers with the SAX handler structure(
which used to call SAX2.c functions for DOM).
Incidentally, the validation happens inside the
SAX2.c functions when the tree is being built.
Since I also need to support validation in the SAX
parser I will not be able to call my handlers directly from parser.c.
Rather I would need to call the SAX2.c functions where
the validation happens along with the tree building.
I would like to know if there is a way to validate(DTD validation)
without building a tree(which happens in SAX2.c). I also understand
that validation requires information about child elements which
would not be stored if I do normal SAX parsing.
Any help would be appreciated as it is very urgent.
Regards,
Satish