Hi Y'all,
The processing instruction target matching "[xX][mM][lL]" is not allowed.
I was told that JDom was the alternative when dealing with XML and JAVA.
I am pretty new on JAVA as well as XML. (Please don't give me the answer
: RTFM. I have been there!)
Any way what I try to do is really simple (that's what I thought). In a JSP page I post a short XML message.
at first I write the XML to a File (this works! woopie). This file I then pass to:
validate(discoveryFile);
in the "validate" method I do the following:
Document doc = null;
SAXBuilder builder = new SAXBuilder();
doc = builder.build(new FileInputStream(file));
That's all!
when I post anything thru the TEXTAREA field in my JSP I Will get the following message:
org.xml.sax.SAXParseException:
The processing instruction target matching "[xX][mM][lL]" is not allowed.
This stuff is driving me crazy. Can anybody lend a hand?
greetz Aschwin