I have come across a problem in unmarshalling a document composed of
elements coming from various namespaces all known to the JAXBContext.
It looks like the unmarshaller forgets to process some inner elements
which are allowed by the <xsd:any> schema type.
You will need to set JWSDP_HOME environment variable to use ant. I have 1.3.
Running "ant jar" builds all the classes.
The example shows the problem: "ant run".
Compare the output obtained from first unmarshaller and then
marshalling the document src/xml/risch.xml.
The marshalled child element <monet:implementation name="RImpl"
has no fragment in the namespace mathb:
This is quite strange since the unmarshaller does pick up a
<mathb:machine_hardware...> fragment at a higher level (getAny returns it).
Any help is very appreciated.
Best regards,
Olga Caprotti
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net