Jaxb validating

Thank you Blaise, that was indeed a useful information.

I have one quick question, while loading the the path I am giving is absolute right now, I am not sure how do I set the relative path in order to have it loaded. Updated my question regardign the same Thanks and yes that's correct, so as updated in my question, if that is my absolute path, how should I find out the relative path in intelli J :( Generally it do pick from resource but I am clueless why is it not picking it up from there (as relative) :(.

At the end of this section, you will also learn how to use an XML Schema definition to validate a document that contains elements from multiple namespaces.

(To learn more about XML Schema, you can review the online tutorial, XML Schema Part 0: Primer.

There are two ways to do that: , which stands for "XML Schema instance." The second line specifies the schema to use for elements in the document that do not have a namespace prefix-that is, for the elements you typically define in any simple, uncomplicated XML document.

as I am unmarshalling and marshalling the XML into Java objects and vice versa.

Alternatively, you can visit the the Glass Fish server downloads page or the Apache Tomcat downloads page.

The goal of this exercise is to create a project and generate Java objects from an XML document.


Leave a Reply