I have a xsd schema that includes an xs:anyType.
My class exports this as either byte[] (get...Bytes) or InputStream
(get...Stream) it is backed by a blob.  The Mapping generator produced
output for both these accusers as if they where attributes.  On another
class this includes a pair dealing with remainder, i.e., the un mapped
elements.

Okay the first issue is how to get the content of these into the output as
xml?
If I select the bytes, it encodes them:
                <field cst:name="objectBytes" cst:type="bytes">
                         <bind-xml name="object" node="element"/>
                </field>
                <field cst:name="objectStream"
cst:type="java.io.InputStream" transient="true"/>

<object>eHh4eA==</object> 

If I select the stream it just gives me:
                <field cst:name="objectBytes" cst:type="bytes"
transient="true"/>
                <field cst:name="objectStream"
cst:type="java.io.InputStream">
                         <bind-xml name="object" node="element"/>
                </field>

<object xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xsi:type="java:java.io.ByteArrayInputStream"/>



-------------------------------------------------
If you wish to unsubscribe from this list, please 
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to