When is called "validateElement"?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Garfield

    When is called "validateElement"?

    I use Sax2 in xerces-c 2.7.

    I know when is called "validateElemen t" method.

    I know simply that is called before "startEleme nt" until now.

    but I was wrong!!!!

    there is not always called "validateElemen t" before "startEleme nt".

    When is not called "validateElemen t"?

    When is called "validateElemen t"?


    please give me an answer..T.T

  • Joseph Kesselman

    #2
    Re: When is called "validateE lement"?

    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.

    --
    Joe Kesselman / Beware the fury of a patient man. -- John Dryden

    Comment

    Working...