Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What does this error mean???

Status
Not open for further replies.

DCCoolBreeze

Programmer
Jul 25, 2001
208
US
What does this error mean????

org.xml.sax.SAXParseException: The processing instruction must begin with the name of the target.
 
The processing instruction must begin with the name of the target

explain your question!
It seems your stylesheet is messed up.
try opening your xml file referencing it to your xsl file using IE 5.5+ and tell me what errors you get.

whichman Build web applications faster with a few lines of XML Code using DataML[tm]
 
Thanks for the response. Actually this is the situation. I have a standalone java app that works calling the SAX parse command. I copied that code to a class that is running under Corba and I get the errors. I have striped down the DTD to basically nothing and I have done the same with the XML. Now I get a new error.... what is a programmer to do?? :eek:)

I have included the latest DTD and XML for your review. Any suggestions would be greatly appreciated!

DTD:

<!ELEMENT DNS (#PCDATA)>

XML:

<?xml version=&quot;1.0&quot;?>
<!DOCTYPE DNS SYSTEM &quot;DNS.dtd&quot; >
<DNS>Test</DNS>

Error returned: org.xml.sax.SAXParseException: Content is not allowed in trailing section.

Thanks in advance...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top