Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Detect if SGML or XML parser is used?

Opera screwed over XHTML and no longer reliably parses XHTML applications.

4:09 pm on Dec 15, 2011 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member jab_creations is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 26, 2004
posts: 3169
votes: 22

Opera 11.6 really screwed XHTML over as malformed XML switches Opera's parser from XML to SGML thereby negating my use of XHTML and the ability to rely on Opera for web design and web development. I want those parse errors to show so I can fix them immediately as I always have. I will not debate HTML versus XHTML, I simply want to know if it's possible to detect which parser is being used and if so how?

- John

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members