Re: parsing xHTML

Matthew Hixson <[email protected]> Mon, 15 Sep 2003 09:26:18 -0700
Newsgroups gmane.comp.java.enhydra.xmlc
Message-ID <[email protected]>
On Monday, September 15, 2003, at 12:00  AM, Petr Stehlik wrote:

> V Po, 15. 09. 2003 v 08:01, Matthew Hixson píše:
>> Is there a way that XMLC can intelligently handle either well formed 
>> or
>> non-well formed HTML?
>
> Not sure what you call non-well formed HTML but I know XMLC does the
> right thing: HTML that does not validate the w3.org rules is simply not
> compiled.

What I meant by non-well formed HTML was how HTML has traditionally 
been written, like non-well formed XML:

<img src="foo">
<p>
<b>Some more stuff here.</b>

It'd be nice if I could get away with either closing my <img> tags like 
well formed XML, or not.  I guess I'm asking for the type of parsing 
most web browsers have nowadays.
   -M@