Limitations on XML transported via XMPP

Problem: A conforming SVG viewer should be able to process internal and external DTD subsets, and make references to internal and external entities, as per the XML 1.0 specification, both of which are forbidden in XMPP, as per 1.1 of the proposed standard.

Chosen solution: Anything loaded via XMPP has DTD declarations, inline DTDs and entity references are forbidden.

However, if loaded via a location specified in the "src" attribute of the response via a different protocol (e.g. HTTP) then you can do what you want, as long as it's valid XML/SVG.

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