Discussions

EJB programming & troubleshooting: difference between validating and non validating parser

  1. can any one explain the difference between validating and non validating parser in simple words
  2. A validating parser considers whether the given XML file obeys the syntax defined by the referenced DTD/schema.

    For example, if your WML document contains an element like
    <thisdoesnotexist>foobar</thisdoesnotexist>
    ...a validating parser complains because <thisdoesnotexist> is not defined in the WML DTD.