Transporting document fragments

Problem: Conforming Included SVG Document Fragments must be surrounded by an <n:svg xmlns:n="blabla">...</n:svg>. We cannot append these to the main document, so we would have to walk through each child element.

In addition, I imagine we would not be able to append completely arbitrary svg elements to <n:svg>, just as you can't append <input> to <body> in XHTML.

Chosen solution: ignore the spec and do it anyway.

Each chunk from a chunked HTTP transfer doesn't have to be a conformant XHTML document.

It's in transport. Think of it as a diff or a patch. Diffs don't compile. There's no requirement to be a valid SVG document in transport.

© 2006. Some rights reserved. Author: Ian Sollars.