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/xml":http://www.hixie.ch/tests/adhoc/xhtml/001.xml

"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?

Advertisement

If you like this, you might like the stateless Web kiosk software I develop. Webconverger typically replaces Windows on PCs and is deployed in public and business environments for ease of deployment and privacy. Once installed it auto-updates making it painless to maintain. Try it where you exclusively use the only viable open platform... the Web!