Hi, The following when called with a validated XML file as a parameter produces the above Exception, and I can't figure out why, any ideas? public class XMLDOM extends JPanel true); but I want the validation.
(You can get a basic grounding in XML itself through the Introduction to XML tutorial, if necessary.) In this tutorial, you will learn how to use SAX to retrieve, manipulate, and output XML data.
Prerequisites: SAX is available in a number of programming languages, such as Java, Perl, C , and Python.
"a derived type and that of it's base must both be mixed or both be element-only.
Type 'choices-type' is element only, but it's base type is not." I can probably understand the message, but how come I can validate the XML and XSD on not here?
It's just that I have the XSD file well and truly pinned down under house-arrest!
I get the same error even if I swap for file:/c:/path_to_xsd_folde Well, the question is answered, as in it's now validating the XML using the XSD file.
If I go to this site and enter the XML and XSD files they validate fine ...
do you think I need to do to get this to work with validation turned on?
In any case I thank you and objects to for the lovely experience I had using this site and I wish you all the very best in your pursuit for the valuable E.
This tutorial examines the use of the Simple API for XML version 2.0.x, or SAX 2.0.x.
Anyway, more points are available on that score here ...