XML Embedded in XML
843834Sep 30 2009 — edited Oct 5 2009What are the ramifications of embedding an XML document in another XML document when the parser is the JAXP DOM parser? Specifically; if my schema says that the embedded XML is of type "string", then the parser chokes when it sees the embedded XML tags in the data region - it comes back complaining that the field is a simple type and must have no children.
Is it common to embed XML in XML like this ...is it an intended/envisioned/supported use of the JAXP parser? If so, there must be a standard way of making it work. In this case an XML message is being used to send an updated (.xsd)Schema - embedded in the XML document as one of its fields.