[lxml-dev] Problem with ":" char in tag names
Stefan Behnel
stefan_ml at behnel.de
Sat Aug 18 07:56:25 CEST 2007
Ian Bicking wrote:
> Stefan Behnel wrote:
>>>> It's because of the ":" in the tag name.
>>> As another data point: by coincidence yesterday I saw a discussion of
>>> some other project who also ran into this problem.
>>>
>>> http://groups.google.com/group/html5lib-discuss/browse_thread/thread/9997a2468ab2b362
>>>
>>>
>>> No idea about the context there.
>>
>> Hmmm, I really wonder how many people used this 'feature' to work around
>> having to implement proper namespace support...
>
> One of the places where this recently came up is that Facebook is using
> markup with fb:*: http://wiki.developers.facebook.com/index.php/FBML
No, they are not. They are using a well-defined namespace:
http://wiki.developers.facebook.com/index.php/FBML_DTD
If you use unnamespaced "fb:*" tag names here, you will also break validation
against their XSD.
Stefan
More information about the lxml-dev
mailing list