OK, I'm getting a bit confused about the well-formedness checking of expat. Doesn't 
expat do basic well-formedness checking? If I set empty start/endElement and charData 
handlers, and I parse:
<elem1>
  <elem2>text
  </elem1>
</elem2>
I get an error as expected about mismatched tags.

But if I give:
<elem>text

Or:
<elem/>text

It doesn't give an error.

Why is that?

TIA,
thalis


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to