Results 1 to 3 of 3
- 10-22-2012, 04:51 PM #1
AN21XX
- Join Date
- Mar 2012
- Location
- Munich
- Posts
- 297
- Rep Power
- 2
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
and "XML" too short... so it proves difficult.
Last edited by DarrylBurke; 10-23-2012 at 02:29 PM.
I like likes!.gif)
- 10-22-2012, 05:44 PM #2
AN21XX
- Join Date
- Mar 2012
- Location
- Munich
- Posts
- 297
- Rep Power
- 2
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... ;)
I like likes!.gif)
- 10-23-2012, 02:29 PM #3
Similar Threads
-
Unmarshalling Restful Xml response
By mwr1976 in forum Advanced JavaReplies: 1Last Post: 04-01-2012, 06:19 AM -
JAXB Unmarshalling
By milan.nosal in forum XMLReplies: 0Last Post: 09-01-2010, 02:15 PM -
JAXB: Unmarshalling does not always populate certain classes?
By queuetip in forum XMLReplies: 0Last Post: 02-22-2010, 05:15 AM -
Be Elite Join Property Elite , Property Realtor Needed , Career With Us -
By mindyyong in forum Jobs OfferedReplies: 0Last Post: 06-25-2009, 05:28 AM -
JAXB Unmarshalling
By prateek in forum XMLReplies: 0Last Post: 07-10-2008, 06:53 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks