I'm working with a Android App and XML. By using Jaxb, I had java xml classes from a .xsd file.
I want to generate a xml file from these xml classes then validate against the .xsd file.
I found here an example: http://www.mkyong.com/java/jaxb-hello-world-example/
But I cannot use javax.xml.bind.Marshaller:
Error:(76, 27) error: cannot access XMLEventWriter
class file for javax.xml.stream.XMLEventWriter not found
Then I add javax.xml.stream lib:
java.exe finished with non-zero exit value 1
I also posted a question about xml validation against xsd but till now I have not get any suggestion yet: Android XML validation using XSD ( both xerces and SchemaFactory) error
Any suggestion for me? Thanks,