When is called "validateElement"?

G

Garfield

I use Sax2 in xerces-c 2.7.

I know when is called "validateElement" method.

I know simply that is called before "startElement" until now.

but I was wrong!!!!

there is not always called "validateElement" before "startElement".

When is not called "validateElement"?

When is called "validateElement"?


please give me an answer..T.T
 
J

Joseph Kesselman

The validateElement call appears to be specific to Xerces, so your best
bet for finding out more about it would be the Xerces website and/or
mailing list.

For what it's worth, I would expect validation to run at or after
end-element rather than when the element is started, since you can't
possibly have enough information to perform validation until all the
element's contents have been examined.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,008
Messages
2,570,271
Members
46,874
Latest member
CyberGateway

Latest Threads

Top