[xml] html attributes and colons

Date view Thread view Subject view Author view

From: Helge Hess (helge.hess@skyrix.com)
Date: Tue Jan 02 2001 - 09:44:21 EST


Hi,

I try to parse an HTML file which contains elements like this:

---snip---
<input bind:value="variable">
---snap---

This doesn't print any errors, but the 'bind:value' attribute is passed
as 'value' only, the 'bind:' prefix seems to be lost (the 'ns' element
of xmlAttr is also null).

I can imagine that ':' is invalid in HTML attribute names, but shouldn't
libxml print a warning or error then, instead of stripping the prefix
silently ?

Thanks,
  Helge

----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 10:43:53 EST