Hi.
It looks like the xmlReader parser is able to parse HTML. At least it
accepts doctype at document start. It does however behave differently
than the SAX/DOM HTML parser. For example it wants closing tags for META
and LI.
To what extend does xmlReader support HTML? I think a lot of things
On Fri, Jun 10, 2011 at 02:26:56PM +0200, Joachim Zobel wrote:
Hi.
It looks like the xmlReader parser is able to parse HTML. At least it
accepts doctype at document start. It does however behave differently
than the SAX/DOM HTML parser. For example it wants closing tags for META
and LI.
On Fri, Jun 10, 2011 at 10:52:45AM -0400, Paul B. Cameron wrote:
Thanks again for the assistance.
It turns out that when I add the targetNamespace, global namespace, and
prefixed namespace declarations to the physical schema files, and remove the
code that added these entries at runtime, the
On Fri, Jun 10, 2011 at 08:57:47PM +0200, Joachim Zobel wrote:
On Fri, 2011-06-10 at 22:29 +0800, Daniel Veillard wrote:
It doesn't, right now the reader is always operating on top of an
XML parser, not an HTML one, hence your result.
Why are there different parsers for DOM/SAX and
On Sat, 2011-06-11 at 01:02 +0200, David Kubicek wrote:
The problem is that by default, libxml knows only the basic 5 XML
entities.
Why is this a problem?
XML documents must either stick to those entities or define the ones
they want to use, so you should not predefine others.
I just can't