Tag soup

Today I tested my Nokia UA armed with Ian Hickson’s tests to determine the answer to a important question.

Is Nokia’s UA XHTML browser an XHTML browser?

An XHTML UA would naturally use a XML parser. The big benefit for painstakingly using XHTML compared to “tag soup” is that it is much simpler to parse, which is important for mobile devices with limited resources.

Hixie's tests:

"Tag soup or XML?":http://www.hixie.ch/tests/adhoc/xhtml/mime-type/001

"Sanity test":http://www.hixie.ch/tests/adhoc/xhtml/001.xhtml


"text/html test (not treating invalid HTML as XHTML)":http://www.hixie.ch/tests/adhoc/xhtml/002.html

Nokia3100/1.0 (04.01) UA:
# Fails – red, black, red – Not an XML parser then
# Pass (phew!)
# Doesn’t understand text/xml
# Fails – red – parses text/html like it is XHTML

I am a little shocked.

It’s not a (compliant) XML parser.

So perhaps a better question is: Is an XHTML browser an XHTML browser without an XML parser?

Found any of my content interesting or useful?