How to retrieve the xsi:noNamespaceSchemaLocation property during unmarshalling?
Hi all,
We have files here acc. to the following type:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<XXX xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="XXX.xsd">
...
</XXX>
I am using Eclipse with JAXB and I am trying to produce the same output as the input was read. Currently all works fine, but the output is:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<XXX>
...
</XXX>
That is missing the read in and validated schema location... how do I get this during the unmarshalling? I thought about getProperty() but to no effect... I cannot even access the noNamespaceSchemaLocation property.
Sorry if that topic was already treated - I looked, but "noNamespaceSchemaLocation" was considered too be long for searching :(devil): and "XML" too short... so it proves difficult.
Re: How to retrieve the xsi:noNamespaceSchemaLocation property during unmarshalling
Can someone put a question mark behind my title? It reads as if I explain that thing... ;)
Re: How to retrieve the xsi:noNamespaceSchemaLocation property during unmarshalling
Quote:
Originally Posted by
Sierra
Can someone put a question mark behind my title? It reads as if I explain that thing... ;)
Done. You could have done it yourself by editing the post and then clicking 'Go Advanced'
db