[xml] HTMLparser and namespaces




Hi,

What is the status of namespaces in HTMLparser?

Currently, the following HTML will produce an error message:

    <p xmlns:foo="blah"></p>

    error: Namespace prefix xmlns of attribute foo is not defined

It seems to be treating "xmlns" as a generic namespace prefix, rather than
recognising that this is in fact defining the "foo" namespace prefix.

If namespaces are supposed to be supported by the HTMLparser then this
behaviour should be changed to correctly process the definition.

Alternatively, if the HTMLparser is not supposed to process namespaces
then this should just be treated as a simple "xmlns:foo" attribute.

Best regards,

Michael

-- 
Print XML with Prince!
http://www.princexml.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]