On 14/12/2010 14:38, rjelliffe wrote:
> I was thinking about how it behaves with XML with names not in
> HTML/MATHML/SVG.
well there the main (only?) thing that is unfortunate is that it parses
<foo/> as a start tag.
namespace declarations are ignored: unknown elements go into the
namespace of their parent, so xhtml normally. But that can be explained
easily enough "html doesn't do namespaces"
but fixing up the dom tree after
<aaa><xxx/><yyy/></aaa>
parses as
<aaa><xxx><yyy></yyy></xxx></aaa>
is a pain.
David
________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.
________________________________________________________________________