JAXB Marshaller with specified schema?

To specify a noNamespaceSchemaLocation you can do the following.

To specify a noNamespaceSchemaLocation you can do the following: JAXBContext jc = JAXBContext. NewInstance(Root. Class); Marshaller marshaller = jc.

CreateMarshaller(); marshaller. SetProperty(Marshaller. JAXB_NO_NAMESPACE_SCHEMA_LOCATION, "bla-bla.

Xsd").

It's what I need. Thanks a lot. – Stas Kurilin Dec 17 '10 at 18:55 I have some problem with unmarshaling this property.

Please, see stackoverflow. Com/questions/4478666/… – Stas Kurilin Dec 20 '10 at 13:10 @Stas Kurilin, I have now posted an answer to that question that leverages a XMLStreamReader (StAX parser) to get the noNamespaceSchemaLocation. Once the noNamespaceSchemaLocation is obtained JAXB can use the XMLStreamReader to perform the unmarshal.

– Blaise Doughan Dec 20 '10 at 14:16.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions