[xml] HTMLparser and namespaces
- From: Michael Day <mikeday yeslogic com>
- To: xml gnome org
- Subject: [xml] HTMLparser and namespaces
- Date: Wed, 26 Oct 2005 12:25:44 +1000 (EST)
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]