I'd like to share some news and asks for confirmation.The problem: I save an XML data in a text file, use parse() method and obtain an invalid document object.I wrote this test code: SchedaCensimento sc = SchedaCensimento.Factory.newInstance(); Capitolo capitolo = sc.addNewCapitolo(); // add
Thanks for the kind answer Radu,
You're right, I didn't explain the problem very well
(my poor English knowledge doesn't help).
I have an XSD file.
I compiled it with scomp command.
I used the resulting classes to parse XML data
generated by a remote procedure (a poor implementation
of a web
Hard to say where you are wrong, since you give very little detail of
what you are doing ;-)
In fact, what the validate implementation does is parse the document
provided in an XmlObject, then call .validate() on it (in addition to
parsing the Schema files of course).
So what I can suggest is
3 matches
Mail list logo