Org.xml.sax.SAXParseException: File "..\contents.dtd" not found.

I have an xml file that has to be parsed in my application, without changing the XML. I don't have the dtd that is mentioned in the XML file.
The code i am using to parse the xml into a Document is
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
factory.setValidating(false);
System.out.println("Factory=" + factory.isValidating());
DocumentBuilder builder = factory.newDocumentBuilder();
builder.setEntityResolver(new XMLResolver());
System.out.println("DocBuilder=" + builder.isValidating());
Document doc = builder.parse(xml.getInputStream());
System.out.println("doc=" + doc);
if (doc == null) {
return;
The XML file is
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE contentspace SYSTEM "..\contents.dtd" [
]>
<contentspace validdtd="0.0.2">
<emscombicategory emscombisubtype="EMSCOLLECTION">
<default name="lugares" description="lugares"/>
<emscombi>
<default name="alemania" description="Alemania"/>
<commondetails copyrightowner="TME" copyright="COPYRIGHTED" price="" validfrom="" validto="" provider="terramobile" globalcontentid="ECOLL"/>
<previewedbinarycontent preview="alemania.GIF">
<binarycontent binarydata="alemania.OTA"/>
</previewedbinarycontent>
<emsringtone>
<default name="alema" description="Himno de Alemania"/>
<commondetails copyrightowner="TME" copyright="FREE" price="" validfrom="" validto="" provider="terramobile" globalcontentid="TMEEMEL"/>
<previewedbinarycontent preview="alema.WAV">
<binarycontent binarydata="alema.OTA"/>
</previewedbinarycontent>
<ringtonedetails composer="Tradicional" performer="Tradicional"/>
</emsringtone>
<emspicture>
<default name="birra" description="Cerveza alemana"/>
<commondetails copyrightowner="TME" copyright="COPYRIGHTED" price="" validfrom="" validto="" provider="terramobile" globalcontentid="TMEEPM"/>
<emspicturedetails width="32" height="32">
<previewedbinarycontent preview="birra.GIF">
<binarycontent binarydata="birra.OTA"/>
</previewedbinarycontent>
</emspicturedetails>
</emspicture>
</emscombi>
</emscombicategory>
</contentspace>
When i run this through it throws an exception with the message
org.xml.sax.SAXParseException: File "..\contents.dtd" not found.
I thought by setting factory.setValidating(false) it would not read the DTD, but it does.
Is there any way to make the document model NOT attempt to read the DTD ???

setValidating(false) has no effect on checking against the DTD.
create your own EntityResolver rather than using new XMLResolver(): in this resolver divert the call to the DTD on an empty XML document.
i have shown how to do so in another thread, just run a search on this forum (this hint is valid for any question btw)

Similar Messages

  • Org.xml.sax.SAXParseException: Content is not allowed in prolog Error

    Hello,
    this is pratap.<br>
    i was trying rules using decision tables with 'call charges' example<br>.
    after filling the text fields i am getting an error org.xml.sax.SAXParseException: Content is not allowed in prolog<br>.
    Can any one please tell me what are the reasons for this error and how to correct it<br>.
    thank you.

    Problem solved.There was some problem in xml file i corrected it and it worked.Sorry for asking silly question.

  • Org.xml.sax.SAXParseException: Content is not allowed in prolog.

    Hi All,
    Currently i m doing some practice on JSTL and following few examples from this link http://java.sun.com/developer/technicalArticles/javaserverpages/faster/
    while doing xml-ex1.jsp
    This is xml-ex1.jsp code
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <%@ taglib prefix="x" uri="http://java.sun.com/jstl/xml" %>
    <html>
    <head>
    <title>JSTL Support for XML</title>
    </head>
    <body bgcolor="#FFFFCC">
    <h3>Books Info:</h3>
    <c:set var="xmltext">
    <books>
    <book>
    <title>Book Title A</title>
    <author>A. B. C.</author>
    <price>17.95</price>
    </book>
    <book>
    <title>Book Title B</title>
    <author>X. Y. Z.</author>
    <price>24.99</price>
    </book>
    </books>
    </c:set>
    <x:parse xml="${xmltext}" var="output"/>
    <b>The title of the first book is</b>:
    <x:out select="$output/books/book[1]/title"/>
    <br>
    <b>The price of the second book</b>:
    <x:out select="$output/books/book[2]/price"/>
    </body>
    </html>
    While running jsp page i m getting follwing error
    SEVERE: Servlet.service() for servlet jsp threw exception
    org.xml.sax.SAXParseException: Content is not allowed in prolog.
         at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
         at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
         at org.apache.taglibs.standard.tag.common.xml.ParseSupport.parseInputSource(ParseSupport.java:227)
         at org.apache.taglibs.standard.tag.common.xml.ParseSupport.parseInputSourceWithFilter(ParseSupport.java:193)
         at org.apache.taglibs.standard.tag.common.xml.ParseSupport.parseReaderWithFilter(ParseSupport.java:199)
         at org.apache.taglibs.standard.tag.common.xml.ParseSupport.parseStringWithFilter(ParseSupport.java:206)
         at org.apache.taglibs.standard.tag.common.xml.ParseSupport.doEndTag(ParseSupport.java:138)
         at org.apache.jsp.jsp.xml_002dex1_jsp._jspx_meth_x_parse_0(org.apache.jsp.jsp.xml_002dex1_jsp:152)
         at org.apache.jsp.jsp.xml_002dex1_jsp._jspService(org.apache.jsp.jsp.xml_002dex1_jsp:70)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at
    NOTE :- I m using Tomcat 5.5.14 .
    Please help me out how to resolve this problem
    Thanks & Regards
    Rupesh Kumar

    From what I understand, it has nothing to do with your JSP and all to do with the XML it's supposed to parse. It sounds malformed. Check the first tag.

  • Could not parse deployment descriptor: org.xml.sax.SAXParseException

    I am using Taglib in JSP file .
    I am calling the AbcTagLib from my jsp Login.jsp file.
    The entries for the taglib is there in web.xml file.
    Please see the attachments.
    I am getting the following errors while running my JSP file:
    Parsing of JSP File '/jsp/Login.jsp' failed:
    /jsp/Login.jsp: Could not parse deployment descriptor: org.xml.sax.SAXParseException:
    Could not parse: taglib starting at line 1
    probably occurred due to an error in /jsp/Login.jsp:
    <%@ taglib uri="AbcTagLib" prefix="abc" %>
    Please look in to it and suggest some solution.
    The files are :
    AbcTagLib.tld
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc. //DTD JSP Tag Library 1.1//EN"
    "web-jsptaglib_1_1.dtd">
    <taglib>
    <tlibversion>1.0</tlibversion>
    <jspversion>1.1</jspversion>
    <shortname>TagLib</shortname>
         <tag>
         <name>label</name>
         <tagclass>com.abc.internet.common.taglib.LiteralTag</tagclass>
         <bodycontent>empty</bodycontent>
         <info>This is a simple tag for ABC</info>
              <attribute>
                   <name>name</name>
                   <required>false</required>
                   <rtexpvalue>false</rtexpvalue>
              </attribute>
         </tag>
         <tag>
         <name>linkAccess</name>
         <tagclass>com.abc.internet.common.taglib.LinkAccessTag</tagclass>
         <bodycontent>JSP</bodycontent>
         <info>this is the tag class for showing the button</info>
         <attribute>
         <name>linkId</name>
         <required>true</required>
         <rtexpvalue>false</rtexpvalue>
         </attribute>
         <attribute>
         <name>flag</name>
         <required>true</required>
         <rtexpvalue>false</rtexpvalue>
         </attribute>
         </tag>
    </taglib>
    web.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN'
    'file:///D:/bea/wlserver6.0sp1/web-app_2_2.dtd'>
    <web-app>
    <taglib>
    <taglib-uri>AbcTagLib</taglib-uri>
    <taglib-location>/WEB-INF/AmsTagLib.tld</taglib-location>
    </taglib>
    </web-app>
    Login.jsp
    <%@ page language="Java" errorPage="/jsp/AbcJspError.jsp" import="java.util.Vector,com.abc.internet.common.util.UtilFunctions,com.abc.internet.welcome.form.LoginForm,com.abc.internet.common.util.*"%>
    <%@ taglib uri="AbcTagLib" prefix="abc" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <HTML>
    <HEAD>
         <TITLE>LOGIN SCREEN</TITLE>
         <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </HEAD>
    <BODY class="imgSpacerTan" onUnload="javascript:funcCloseErrorWindow();">
    <html:form action="/struts/Login" name="LoginForm" type="com.abc.internet.welcome.form.LoginForm"
    onsubmit="onLogin()">
         <table align="center" cellpadding=0 cellspacing=0 border=0 class="imgSpacerTan">
              <tr>
                   <td align="left">
                        <img border="0" src="../images/logo.gif">
                   </td>
              </tr>
         </table>
         <table align="center" cellpadding=0 cellspacing=0 border=0 class="imgSpacerTan">
              <tr> <td ALIGN="center" class="header" height=30px><font class="fontBlue" >Welcome
    to the</font></td></tr>
              <tr> <td ALIGN="center" class="header" height=30px><font class="fontBlue" >ABC
    System</font></td></tr>
              <tr> <td ALIGN="center" class="header" height=20>  </td></tr>
         </table>
         <table cellpadding=0 cellspacing=0 border=5 bordercolor="#293163" class="deadlineHistoryTablebgcolor"
    align="center">
              <tr class="deadlineHistoryTablebgcolor">
                   <td class="deadlineHistoryTablebgcolor">
                        <table cellpadding=10 cellspacing=10 border=0 width="400" class="deadlineHistoryTablebgcolor"
    align="center">
                             <tr>
                                  <td>
                                       <script language="javascript">
                                            if(navigator.appName.indexOf("Netscape") != -1)
                                                      document.write('<table cellpadding=0 cellspacing=0 border=1 width="400"
    bordercolor="#293163" class="deadlineHistoryTablebgcolor" align="center">');
                                            else
                                                      document.write('<table cellpadding=0 cellspacing=0 border=1 width="400"
    bordercolorlight="#293163" class="deadlineHistoryTablebgcolor" align="center">');
                                       </script>
                                            <tr>
                                                 <td>
                                                      <table cellpadding=7 cellspacing=7 border=0 width="400" bordercolor="#293163"
    class="deadlineHistoryTablebgcolor" align="center">
                                                           <tr>
                                                                <td>
                                                                     <font class="fontBlue">   USER ID       &nbsp:  </font><input
    type="text" name="iv-user">
                                                                </td>
                                                           </tr>
                                                      </table>
                                                 </td>
                                            </tr>
                                       </table>     
                                  </td>
                             </tr>
                             <tr>
                                  <td>
                                       <table cellpadding=0 cellspacing=0 border=1 width="400" class="borderBlue"
    class="deadlineHistoryTablebgcolor" align="center">
                                            <tr>
                                                 <td>
                                                      <table cellpadding=7 cellspacing=7 border=0 width="400" class="borderBlue"
    class="deadlineHistoryTablebgcolor" align="center">
                                                           <tr>
                                                                <td align="center" ><input type="submit" value="Submit" onclick="return
    (onLogin())" ></td>
                                                           </tr>
                                                      </table>
                                                 </td>
                                            </tr>
                                       </table>
                                  </td>
                             </tr>
                        </table>
                   </td>
              </tr>
         </table>
    </html:form>     
    </body>
    </html>
    Thanks

    I am using Taglib in JSP file .
    I am calling the AbcTagLib from my jsp Login.jsp file.
    The entries for the taglib is there in web.xml file.
    Please see the attachments.
    I am getting the following errors while running my JSP file:
    Parsing of JSP File '/jsp/Login.jsp' failed:
    /jsp/Login.jsp: Could not parse deployment descriptor: org.xml.sax.SAXParseException:
    Could not parse: taglib starting at line 1
    probably occurred due to an error in /jsp/Login.jsp:
    <%@ taglib uri="AbcTagLib" prefix="abc" %>
    Please look in to it and suggest some solution.
    The files are :
    AbcTagLib.tld
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc. //DTD JSP Tag Library 1.1//EN"
    "web-jsptaglib_1_1.dtd">
    <taglib>
    <tlibversion>1.0</tlibversion>
    <jspversion>1.1</jspversion>
    <shortname>TagLib</shortname>
         <tag>
         <name>label</name>
         <tagclass>com.abc.internet.common.taglib.LiteralTag</tagclass>
         <bodycontent>empty</bodycontent>
         <info>This is a simple tag for ABC</info>
              <attribute>
                   <name>name</name>
                   <required>false</required>
                   <rtexpvalue>false</rtexpvalue>
              </attribute>
         </tag>
         <tag>
         <name>linkAccess</name>
         <tagclass>com.abc.internet.common.taglib.LinkAccessTag</tagclass>
         <bodycontent>JSP</bodycontent>
         <info>this is the tag class for showing the button</info>
         <attribute>
         <name>linkId</name>
         <required>true</required>
         <rtexpvalue>false</rtexpvalue>
         </attribute>
         <attribute>
         <name>flag</name>
         <required>true</required>
         <rtexpvalue>false</rtexpvalue>
         </attribute>
         </tag>
    </taglib>
    web.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN'
    'file:///D:/bea/wlserver6.0sp1/web-app_2_2.dtd'>
    <web-app>
    <taglib>
    <taglib-uri>AbcTagLib</taglib-uri>
    <taglib-location>/WEB-INF/AmsTagLib.tld</taglib-location>
    </taglib>
    </web-app>
    Login.jsp
    <%@ page language="Java" errorPage="/jsp/AbcJspError.jsp" import="java.util.Vector,com.abc.internet.common.util.UtilFunctions,com.abc.internet.welcome.form.LoginForm,com.abc.internet.common.util.*"%>
    <%@ taglib uri="AbcTagLib" prefix="abc" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <HTML>
    <HEAD>
         <TITLE>LOGIN SCREEN</TITLE>
         <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </HEAD>
    <BODY class="imgSpacerTan" onUnload="javascript:funcCloseErrorWindow();">
    <html:form action="/struts/Login" name="LoginForm" type="com.abc.internet.welcome.form.LoginForm"
    onsubmit="onLogin()">
         <table align="center" cellpadding=0 cellspacing=0 border=0 class="imgSpacerTan">
              <tr>
                   <td align="left">
                        <img border="0" src="../images/logo.gif">
                   </td>
              </tr>
         </table>
         <table align="center" cellpadding=0 cellspacing=0 border=0 class="imgSpacerTan">
              <tr> <td ALIGN="center" class="header" height=30px><font class="fontBlue" >Welcome
    to the</font></td></tr>
              <tr> <td ALIGN="center" class="header" height=30px><font class="fontBlue" >ABC
    System</font></td></tr>
              <tr> <td ALIGN="center" class="header" height=20>  </td></tr>
         </table>
         <table cellpadding=0 cellspacing=0 border=5 bordercolor="#293163" class="deadlineHistoryTablebgcolor"
    align="center">
              <tr class="deadlineHistoryTablebgcolor">
                   <td class="deadlineHistoryTablebgcolor">
                        <table cellpadding=10 cellspacing=10 border=0 width="400" class="deadlineHistoryTablebgcolor"
    align="center">
                             <tr>
                                  <td>
                                       <script language="javascript">
                                            if(navigator.appName.indexOf("Netscape") != -1)
                                                      document.write('<table cellpadding=0 cellspacing=0 border=1 width="400"
    bordercolor="#293163" class="deadlineHistoryTablebgcolor" align="center">');
                                            else
                                                      document.write('<table cellpadding=0 cellspacing=0 border=1 width="400"
    bordercolorlight="#293163" class="deadlineHistoryTablebgcolor" align="center">');
                                       </script>
                                            <tr>
                                                 <td>
                                                      <table cellpadding=7 cellspacing=7 border=0 width="400" bordercolor="#293163"
    class="deadlineHistoryTablebgcolor" align="center">
                                                           <tr>
                                                                <td>
                                                                     <font class="fontBlue">   USER ID       &nbsp:  </font><input
    type="text" name="iv-user">
                                                                </td>
                                                           </tr>
                                                      </table>
                                                 </td>
                                            </tr>
                                       </table>     
                                  </td>
                             </tr>
                             <tr>
                                  <td>
                                       <table cellpadding=0 cellspacing=0 border=1 width="400" class="borderBlue"
    class="deadlineHistoryTablebgcolor" align="center">
                                            <tr>
                                                 <td>
                                                      <table cellpadding=7 cellspacing=7 border=0 width="400" class="borderBlue"
    class="deadlineHistoryTablebgcolor" align="center">
                                                           <tr>
                                                                <td align="center" ><input type="submit" value="Submit" onclick="return
    (onLogin())" ></td>
                                                           </tr>
                                                      </table>
                                                 </td>
                                            </tr>
                                       </table>
                                  </td>
                             </tr>
                        </table>
                   </td>
              </tr>
         </table>
    </html:form>     
    </body>
    </html>
    Thanks

  • Org.xml.sax.SAXParseException: Reference is not allowed in prolog

    Hi,
    I have been using DocumentBuilder to parse an xml string in our application but now came up with this exception:
    org.xml.sax.SAXParseException: Reference is not allowed in prolog
    When I looked at the xml data, I found that it does not have a prolog in it. I also found that the data contains end of line character ""&#xD;""
    " in it.
    This the xml to be parsed: (Qutoted them to view the unicodes in xml)
    "<dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/">
    <dc:title xml:lang="en">Test metadata</dc:title>
    <dc:language>en</dc:language>
    <dc:description xml:lang="en">Blah</dc:description>
    <dc:creator>BEGIN:vcard
    FN:Jan Austin
    ORG:IBalahblahLtd
    EMAIL:[email protected]
    END:vcard</dc:creator>
    <dc:format>text/html</dc:format>
    <dc:identifier>http://gg.com/</dc:identifier>
    <dc:subject>Medicine and Dentistry</dc:subject>
    </dc:dc>"
    And in the class, I used,
    DocumentBuilderFactory factory =  DocumentBuilderFactory.newInstance();
    factory.setNamespaceAware(true);
    DocumentBuilder builder = factory.newDocumentBuilder();
    Document document = builder.parse(file);I can not change the xml data to be parsed as the application gets this data from other targets through a web service.
    So, can anyone provide any suggestions to solve this issue please?
    Thanks,
    Shiv.

    I have tried various options by
    1. factory.setIgnoringElementContentWhitespace(true);
    2. factory.setValidation(false);
    But, none of them seems to work.
    Could anyone please giv me atleast a gist abt where to look about?
    Cheers,
    Shiv.

  • Org.xml.sax.SAXParseException: The prefix "c" for element "c:set" is not bo

    Hi,
    When deploying the ADF aaplication in glassfish server getting error like,
    [#|2012-12-03T14:21:53.586+0530|INFO|glassfish3.1.2|oracle.j2ee.jsp|_ThreadID=22;_ThreadName=Thread-2;|unable to dispatch JSP page: The following exception occurred:.
    oracle.jsp.parse.JspParseException:
    Error: Validator com.sun.faces.taglib.jsf_core.CoreValidator reports:
    org.xml.sax.SAXParseException: The prefix "c" for element "c:set" is not bound.
         at oracle.jsp.parse.OracleJsp2Java.reportValidationMsgs(OracleJsp2Java.java:777)
         at oracle.jsp.parse.OracleJsp2Java.invokeValidator(OracleJsp2Java.java:755)
         at oracle.jsp.parse.OracleJsp2Java.checkJspTagLibValidator(OracleJsp2Java.java:653)
         at oracle.jsp.parse.OracleJsp2Java.transformImpl(OracleJsp2Java.java:522)
         at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:593)
         at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:691)
         at oracle.jsp.runtimev2.JspPageCompiler.compileBothModes(JspPageCompiler.java:490)
         at oracle.jsp.runtimev2.JspPageCompiler.parseAndGetTreeNode(JspPageCompiler.java:457)
         at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:624)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:645)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:385)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:810)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:734)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
         at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1542)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
         at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:807)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:671)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:505)
         at org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:476)
         at org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:355)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:305)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:546)
         at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
         at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
         at oracle.adfinternal.view.faces.config.rich.RecordRequestAttributesDuringDispatch.dispatch(RecordRequestAttributesDuringDispatch.java:44)
         at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
         at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
         at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:167)
         at com.sun.faces.application.view.JspViewHandlingStrategy.executePageToBuildView(JspViewHandlingStrategy.java:363)
         at com.sun.faces.application.view.JspViewHandlingStrategy.buildView(JspViewHandlingStrategy.java:154)
         at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.buildView(ViewDeclarationLanguageFactoryImpl.java:341)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:990)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:342)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:236)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:509)
         at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1542)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
         at com.ge.ohr.dm.ui.sessionHandler.GEDMSessionExpiryHandler.doFilter(GEDMSessionExpiryHandler.java:61)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
         at com.ge.ohr.dm.ui.filter.GEDMSecurityFilter.doFilter(GEDMSecurityFilter.java:173)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
    The code which in .jspx page is like;
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns="http://www.w3.org/1999/xhtml">
    <c:set var="gedmuiBundle" value="#{adfBundle['com.ge.ohr.dm.ui.UIBundle']}"/>
    When including the 'xmlns:c="http://java.sun.com/jsp/jstl/core' it shows the error;
    The server encountered an internal error (OracleJSP error: oracle.jsp.parse.JspParseException: <br>Error: Validator com.sun.faces.taglib.jsf_core.CoreValidator reports:<br>org.xml.sax.SAXParseException: The prefix "c" for element "c:set" is not bound.<br>) that prevented it from fulfilling this request.
    Please help me on this.
    Thanks and Regards
    Binsy

    This is an ADF application, so you will probably find more help in the JDeveloper and ADF forum here:
    JDeveloper and ADF
    Best Regards,
    Chris

  • Org.xml.sax.SAXParseException: The encoding "ISO8859-1" is not supported.

    Please help. I am trying to parse an XMl document using de DOMParser:
    try {
    DOMParser parser = new DOMParser();
    parser.parse("myFile.xml");
    document = parser.getDocument();     
    } catch (SAXException e) {
    System.err.println (e);
    } catch (IOException e) {
    System.err.println (e);
    I use the encouding "ISO8859-1" in myFile.xml:
    <?xml version='1.0' encoding='ISO8859-1' ?>
    But if I execute my program I get the following error:
    org.xml.sax.SAXParseException: The encoding "ISO8859-1" is not supported.
    How I can I resolve that?
    Many thanks!
    Yassin

    The Java API documentation (the bit about character encodings) mentions "ISO-8859-1" but not "ISO8859-1". Try that instead?

  • Exception in thread "main" org.xml.sax.SAXParseException:

    Hi everybody,
    I had a code which is running good in the output till error comes,i want to remove that error in xml file and replace with blanck(or null value) by using string function.
    It will be a great help if some body could modify my code .
    import javax.xml.bind.Validator;
    import javax.xml.parsers.*;
    import org.xml.sax.SAXException;
    import org.xml.sax.XMLReader;
    import org.xml.sax.helpers.DefaultHandler;
    import java.util.jar.Attributes;
    import java.io.File;
    class Reading extends DefaultHandler
    public static void main(String args[])throws Exception
    SAXParserFactory spf = SAXParserFactory.newInstance();
    SAXParser sp = spf.newSAXParser();
    File file=new File("C://raj.xml");
    sp.parse(file,new Reading());
    /*XMLReader xmlr=sp.getXMLReader();
    xmlr.setContentHandler(new Reading());
    xmlr.parse("first.xml");*/
    private Object args;
    public void startElement(String uri,String localName,String qName,
    Attributes attributes)
    System.out.println(qName);
    public void characters(char []ch,int start,int length)
    String str=new String(ch,start,length);
    System.out.print(str);
    public void endElement(String uri,String localName,String qName)
    System.out.println(qName);
    // Get a validator from the schema.
    //Validator validator = schema.newValidator();
    /*String file;
    try {
    Object validator;
         Object source;
         ((Object) validator).validate(source);
    System.out.println(file + " is valid.");
    catch (SAXException ex) {
    System.out.println(file + " is not valid because ");
    System.out.println(ex.getMessage());
    /* Object args;
              if (args.length != 1) {
    System.err.println("Exception in thread "main" org.xml.sax.SAXParseException: The entity "content_ppov_1704781_1091806592456" was referenced, but not declared.");
    System.exit(1);
    //public boolean equalsIgnoreCase(String anotherString)
    //String s="content_ppov_1704781_1091806592456";
    //String s1="null";
    //Object error = null;
    //Stringreplace(content_ppov_1704781_1091806592456,null);
    //return null;
    //System.out.println("");
    //private void Stringreplace(Object error, Object object) {
         // TODO Auto-generated method stub
    /* Object internal;
         private String file;
         // Let's suppose that lines in the underlying input stream are known
    // to be no greater than 80 characters long.
         // Emit an error message, and delete the resource:
                   String msg = file+ "content_ppov_1704781_1091806592456";
                   //void getServer().errlog(this, msg);
                   delete();
                        private void delete() {
                             // TODO Auto-generated method stub
                        private void errlog(Reading reading, String msg2) {
                             // TODO Auto-generated method stub
    and my raj.xml file is like this
    <div>This is a data .</div>]]>
    </TEXT>
    </content>
    &content_1234789; // this line of error is comming
    </content>
    thanks in advance.
    The error message displaying on console is
    Exception in thread "main" org.xml.sax.SAXParseException: The entity "content_ppov_1704781_1091806592456" was referenced, but not declared.
         at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1213)
         at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromEntity(DefaultEntityHandler.java:601)
         at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1264)
         at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
         at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:331)
         at runner.Reading.main(Reading.java:18)

    The error is in your XML input, not in your Java code. Probably the XML doesn't declare its encoding, so the parser assumes that it is encoded in UTF-8. And probably it contains some character (like an accented letter, for example) that is not part of the UTF-8 encoding. So contact the person who created the XML -- which is not well-formed XML, by the way -- and get them to fix it. It's possible that declaring the encoding as ISO8859-1 might work, but it might not. All depends on what the invalid character is.

  • The taglib validator rejected the page: "org.xml.sax.SAXParseException

    Hi,
              I've deployed a webapplication on weblogic 8.1 SP3. I get the following error, when running my application:
              java.io.IOException: javax.servlet.jsp.JspException: The taglib validator rejected the page: "org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed., "
                   at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:130)
                   at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
                   at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:388)
                   at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:238)
                   at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:188)
                   at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:535)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:373)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:463)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
                   at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:312)
                   at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
                   at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
                   at com.sun.jsfcl.app.ViewHandlerImpl.renderView(ViewHandlerImpl.java:169)
                   at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
                   at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
                   at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
                   at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
                   at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
                   at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
                   at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
                   at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
              The code of my jsp-page is:
              <?xml version="1.0" encoding="UTF-8"?>
              <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page">
              <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
              <f:view>
              <html lang="nl-BE" xml:lang="nl-BE">
              <head>
              <meta content="no-cache" http-equiv="Cache-Control"/>
              <meta content="no-cache" http-equiv="Pragma"/>
              <title>OltbHomePage Title</title>
              <link href="resources/stylesheet.css" rel="stylesheet" type="text/css"/>
              </head>
              <body style="-rave-layout: grid">
              <h:form binding="#{OltbHomePage.form1}" id="form1">
              <div style="left: 0px; top: 0px; position: absolute; height:580px">
              <jsp:directive.include file="OltbMenu.jspf"/>
              </div>
              <div style="left: 180px; top: 0px; position: absolute; height:50px">
              <jsp:directive.include file="OltbStatus.jspf"/>
              </div>
              <div style="height: 530px; left: 120px; top: 50px; position: absolute; width: 900px">
              <iframe name="OltbMain" src="" style="left: 0px; top: 10px; position: absolute; height:510; width:890"></iframe>
              </div>
              </h:form>
              </body>
              </html>
              </f:view>
              </jsp:root>
              When I open a simple jsp-page, it works fine...
              Thx in advance
              Ann

    Make sure there's no whitespace prior to <?xml version="1.0" encoding="UTF-8"?>, or do away with it completey.
              Kris

  • Org.xml.sax.SAXParseException: Document root element is missing.

    Hi,
    I am trying to get the portal login id from a weblogic server based application from iplaet portal server.
    I get this follwoing error
    org.xml.sax.SAXParseException: Document root element is missing.
    at com.sun.xml.parser.Parser.fatal(Parser.java:2817)
    at com.sun.xml.parser.Parser.fatal(Parser.java:2805)
    at com.sun.xml.parser.Parser.parseInternal(Parser.java:493)
    at com.sun.xml.parser.Parser.parse(Parser.java:284)
    at com.sun.xml.tree.XmlDocument.createXmlDocument(XmlDocument.java:226)
    at com.iplanet.portalserver.util.XMLParser.<init>(XMLParser.java:70)
    at com.iplanet.portalserver.naming.share.NamingResponseParser.<init>(NamingResponseParser.java:33)
    at com.iplanet.portalserver.naming.share.NamingResponse.parseXML(NamingResponse.java:74)
    at com.iplanet.portalserver.naming.WebtopNaming.updateNamingTable(WebtopNaming.java:174)
    at com.iplanet.portalserver.naming.WebtopNaming.getNamingProfile(WebtopNaming.java:155)
    at com.iplanet.portalserver.naming.WebtopNaming.getServiceURL(WebtopNaming.java:57)
    at com.iplanet.portalserver.session.Session.getSessionServiceURL(Session.java:534)
    at com.iplanet.portalserver.session.Session.getSessionServiceURL(Session.java:520)
    at com.iplanet.portalserver.session.Session.getSession(Session.java:414)
    at jsp_servlet.__eatonPortalLogin._jspService(__eatonPortalLogin.java:155)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1075)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:462)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
    <May 19, 2004 9:01:12 AM EDT> <Error> <HTTP> <101017> <[ServletContext(id=4873279,name=ematrix,context-path=/ematrix)] Root cause of ServletException
    com.iplanet.portalserver.session.SessionException
    at com.iplanet.portalserver.session.Session.getSessionServiceURL(Session.java:539)
    at com.iplanet.portalserver.session.Session.getSessionServiceURL(Session.java:520)
    at com.iplanet.portalserver.session.Session.getSession(Session.java:414)
    at jsp_servlet.__eatonPortalLogin._jspService(__eatonPortalLogin.java:155)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1075)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:462)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5517)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3156)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
    Any help/pointers will be appreciated.
    Ashish

    Just for anyone else who hits this problem: I encountered the same issue with an XML document that XMLSpy claims is quite well formed. I opened the document in a hex editor, and there at the from was a three-byte byte order marker - the marker that I believe the UTF-8 standard says is optional. I removed these three bytes, and the file was parsed correctly.
    In this case, the XML file was created using a Microsft DOM (save).
    My solution is to make the java parser - as I use it - a tad more robust: Open the file and create an input stream - a pushback input stream. Read the first three bytes; if they are NOT a BOM, then push those bytes back. Now - in any case - give the stream to the parser to read.
    try {
    // Open file for reading.
    f = new File(path);
    FileInputStream fis = new FileInputStream(f);
    PushbackInputStream pis = new PushbackInputStream(fis);
    byte[] buf = new byte[3];
    pis.read(buf, 0, 3);
    if (! (buf[0] == 0x00EF) && (buf[1] == 0x00BB) && (buf[2] == 0x00BF) ) {
         pis.unread(buf, 0, 3);
    builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
    doc = builder.parse(pis);
    catch (Exception x) {
         x.printStackTrace();
    }

  • Org.xml.sax.SAXParseException during deploying project in SOA 11G

    Hello,
    I was migrating a project from SOA 10G to SOA 11G (11.1.1.3). I had to make a few changes in the project such as:
    1) Put concrete wsdl's
    2) Put "<bpelx:exec import="oracle.soa.common.util.Base64Decoder"/>" in the bpel file
    3) Change the database adapters to have "toplink" as the persistence provider as when I migrated the file , it changed it to Eclipse
    4) Fill in the port and location in the reference portion of the composite.xml
    At the end of all these changes , my project compiled properly , but when I tried to deploy it , I am getting this error:
    [09:57:27 AM] Error deploying archive sca_MIA_ModuleInvToGP_rev1.0.jar to partition "default" on server soa_server1 [sv-soafm-dev1.infinera.com:8001]
    [09:57:27 AM] HTTP error code returned [500]
    [09:57:27 AM] Error message from server:
    Error during deployment: org.xml.sax.SAXParseException: <Line 26, Column 68>: XML-20221: (Fatal Error) Invalid char in text.: <Line 26, Column 68>: XML-20221: (Fatal Error) Invalid char in text..
    [09:57:27 AM] Check server log for more details.
    I am unable to know where this particular error is coming from , and do not know how to resolve this. Does any one have any idea on what could be the possible reason for this?
    Seems to be a problem with some XML file , but I dont know which file to check.
    Any help is welcome.
    Thanks
    Manan Sanghvi

    In the session.xml schema it is a choice between driver-class/url and datasource, so you need to remove the driver-class tag as you are using a datasource.
    <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
    <datasource>jdbc/AlfaDS</datasource>
    replalce with,
    <datasource>jdbc/AlfaDS</datasource>

  • Exception: org.xml.sax.SAXParseException

    Hi Folks,
    We are trying to parse against a dtd and we are receiving:
    org.xml.sax.SAXParseException: Relative URI "C:\SuitabilityHR.dtd"; can not be resolved without a document URI.
    The path is absolute and named correctly. Can anyone provide some direction around the cause of this exception? Thanks.

    Thanks. However we are still receiving this exception. Here is the <!Doctype> tag along with the rest of the message. We also tried the relative version. Thanks.
    <!DOCTYPE SuitAddClose SYSTEM "c:\\SuitabilityCasesInput.dtd"><SuitAddClose><XMLVersion><XMLBase>3.0</XMLBase><XMLRev>1.0</XMLRev></XMLVersion><EMMHeader/><SuitActionCode>Update</SuitActionCode><SuitCaseInfo><ClientID>00100000000000018364735</ClientID><SuitIndicator>Y</SuitIndicator><TIN/><AcctID/><AdvisorID/><GroupID/><Reason/><Topic/><SubTopic/><PaymentAmount/><SuitFields/></SuitCaseInfo></SuitAddClose>

  • ParserUtils: warning org.xml.sax.SAXParseException

    Hi, I am trying to deploy the samples from JSF_BETA. to Borland Enterprise Server(which uses Tomcat as a web-container), The "guessnumber" sample works absolutely fine but the "components" sample throws up the following error: Please note that all the samples from previous JSF versions work fine.
    "menu.jsp": ParserUtils: warning org.xml.sax.SAXParseException: Valid documents must have a <!DOCTYPE declaration.
    error:This absolute uri (http://java.sun.com/jsf/demo/components) cannot be resolved in either web.xml or the jar files deployed with this application
    C:\j2sdk1.4.2_01\bin\java -classpath "C:\Program Files\Borland\BES\lib\tomcat\jasper\jasper-runtime.jar;C:\Program Files\Borland\BES\lib\tomcat\jasper\jasper-compiler.jar;C:\Program Files\Borland\BES\lib\tomcat\common\ant.jar;C:\Program Files\Borland\BES\lib\tomcat\common\jasper-runtime.jar;C:\Program Files\Borland\BES\lib\tomcat\common\jasper-compiler.jar;C:\Program Files\Borland\BES\lib\tomcat\common\naming-common.jar;C:\Program Files\Borland\BES\lib\tomcat\common\naming-factory.jar;C:\Program Files\Borland\BES\lib\tomcat\common\naming-resources.jar;C:\Program Files\Borland\BES\lib\tomcat\common\servlet.jar;C:\Program Files\Borland\BES\lib\xmlrt.jar;F:\WORK\JSF10BETA\temp4\classes;C:\Program Files\Borland\BES\lib\asrt.jar;C:\Program Files\Borland\BES\lib\lm.jar;C:\Program Files\Borland\BES\lib\xmlrt.jar;C:\Program Files\Borland\BES\lib\vbjorb.jar;C:\Program Files\Borland\BES\lib\vbejb.jar;C:\Program Files\Borland\BES\lib\vbsec.jar;C:\Program Files\Borland\BES\lib\beandt.jar;C:\Program Files\Borland\BES\lib\dx.jar;C:\Program Files\Borland\BES\lib\axis\axis-bes.jar;C:\Program Files\Borland\BES\lib\axis\axis-ant.jar;C:\Program Files\Borland\BES\SonicMQ\lib\sonic_Client.jar;F:\WORK\JSF10BETA\temp5\libraries\commons-beanutils.jar;F:\WORK\JSF10BETA\temp5\libraries\commons-collections.jar;F:\WORK\JSF10BETA\temp5\libraries\commons-digester.jar;F:\WORK\JSF10BETA\temp5\libraries\commons-logging.jar;F:\WORK\JSF10BETA\temp5\libraries\jsf-api.jar;F:\WORK\JSF10BETA\temp5\libraries\jsf-impl.jar;F:\WORK\JSF10BETA\temp5\libraries\jstl.jar;F:\WORK\JSF10BETA\temp5\libraries\standard.jar;C:\Program Files\Borland\BES\lib\tomcat\common\servlet.jar;C:\j2sdk1.4.2_01\demo\jfc\Java2D\Java2Demo.jar;C:\j2sdk1.4.2_01\demo\plugin\jfc\Java2D\Java2Demo.jar;C:\j2sdk1.4.2_01\jre\javaws\javaws.jar;C:\j2sdk1.4.2_01\jre\lib\charsets.jar;C:\j2sdk1.4.2_01\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.2_01\jre\lib\ext\ldapsec.jar;C:\j2sdk1.4.2_01\jre\lib\ext\localedata.jar;C:\j2sdk1.4.2_01\jre\lib\ext\sunjce_provider.jar;C:\j2sdk1.4.2_01\jre\lib\im\indicim.jar;C:\j2sdk1.4.2_01\jre\lib\im\thaiim.jar;C:\j2sdk1.4.2_01\jre\lib\jce.jar;C:\j2sdk1.4.2_01\jre\lib\jsse.jar;C:\j2sdk1.4.2_01\jre\lib\plugin.jar;C:\j2sdk1.4.2_01\jre\lib\rt.jar;C:\j2sdk1.4.2_01\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_01\lib\dt.jar;C:\j2sdk1.4.2_01\lib\htmlconverter.jar;C:\j2sdk1.4.2_01\lib\tools.jar" org.apache.jasper.JspC -d "F:/WORK/JSF10BETA/temp4/classes/Temporary_Files/.jsp/temp4app" -p "" -c menu_0002ejsp_jsp -uriroot "F:/WORK/JSF10BETA/temp4/temp4app" "F:/WORK/JSF10BETA/temp4/temp4app/menu.jsp"
    "menu.jsp": Invocation Error
    "index.jsp": ParserUtils: warning org.xml.sax.SAXParseException: Valid documents must have a <!DOCTYPE declaration.
    "ShowSource.jsp": ParserUtils: warning org.xml.sax.SAXParseException: Valid documents must have a <!DOCTYPE declaration.
    error:This absolute uri (http://java.sun.com/jstl/core) cannot be resolved in either web.xml or the jar files deployed with this application
    C:\j2sdk1.4.2_01\bin\java -classpath "C:\Program Files\Borland\BES\lib\tomcat\jasper\jasper-runtime.jar;C:\Program Files\Borland\BES\lib\tomcat\jasper\jasper-compiler.jar;C:\Program Files\Borland\BES\lib\tomcat\common\ant.jar;C:\Program Files\Borland\BES\lib\tomcat\common\jasper-runtime.jar;C:\Program Files\Borland\BES\lib\tomcat\common\jasper-compiler.jar;C:\Program Files\Borland\BES\lib\tomcat\common\naming-common.jar;C:\Program Files\Borland\BES\lib\tomcat\common\naming-factory.jar;C:\Program Files\Borland\BES\lib\tomcat\common\naming-resources.jar;C:\Program Files\Borland\BES\lib\tomcat\common\servlet.jar;C:\Program Files\Borland\BES\lib\xmlrt.jar;F:\WORK\JSF10BETA\temp4\classes;C:\Program Files\Borland\BES\lib\asrt.jar;C:\Program Files\Borland\BES\lib\lm.jar;C:\Program Files\Borland\BES\lib\xmlrt.jar;C:\Program Files\Borland\BES\lib\vbjorb.jar;C:\Program Files\Borland\BES\lib\vbejb.jar;C:\Program Files\Borland\BES\lib\vbsec.jar;C:\Program Files\Borland\BES\lib\beandt.jar;C:\Program Files\Borland\BES\lib\dx.jar;C:\Program Files\Borland\BES\lib\axis\axis-bes.jar;C:\Program Files\Borland\BES\lib\axis\axis-ant.jar;C:\Program Files\Borland\BES\SonicMQ\lib\sonic_Client.jar;F:\WORK\JSF10BETA\temp5\libraries\commons-beanutils.jar;F:\WORK\JSF10BETA\temp5\libraries\commons-collections.jar;F:\WORK\JSF10BETA\temp5\libraries\commons-digester.jar;F:\WORK\JSF10BETA\temp5\libraries\commons-logging.jar;F:\WORK\JSF10BETA\temp5\libraries\jsf-api.jar;F:\WORK\JSF10BETA\temp5\libraries\jsf-impl.jar;F:\WORK\JSF10BETA\temp5\libraries\jstl.jar;F:\WORK\JSF10BETA\temp5\libraries\standard.jar;C:\Program Files\Borland\BES\lib\tomcat\common\servlet.jar;C:\j2sdk1.4.2_01\demo\jfc\Java2D\Java2Demo.jar;C:\j2sdk1.4.2_01\demo\plugin\jfc\Java2D\Java2Demo.jar;C:\j2sdk1.4.2_01\jre\javaws\javaws.jar;C:\j2sdk1.4.2_01\jre\lib\charsets.jar;C:\j2sdk1.4.2_01\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.2_01\jre\lib\ext\ldapsec.jar;C:\j2sdk1.4.2_01\jre\lib\ext\localedata.jar;C:\j2sdk1.4.2_01\jre\lib\ext\sunjce_provider.jar;C:\j2sdk1.4.2_01\jre\lib\im\indicim.jar;C:\j2sdk1.4.2_01\jre\lib\im\thaiim.jar;C:\j2sdk1.4.2_01\jre\lib\jce.jar;C:\j2sdk1.4.2_01\jre\lib\jsse.jar;C:\j2sdk1.4.2_01\jre\lib\plugin.jar;C:\j2sdk1.4.2_01\jre\lib\rt.jar;C:\j2sdk1.4.2_01\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_01\lib\dt.jar;C:\j2sdk1.4.2_01\lib\htmlconverter.jar;C:\j2sdk1.4.2_01\lib\tools.jar" org.apache.jasper.JspC -d "F:/WORK/JSF10BETA/temp4/classes/Temporary_Files/.jsp/temp4app" -p "" -c ShowSource_0002ejsp_jsp -uriroot "F:/WORK/JSF10BETA/temp4/temp4app" "F:/WORK/JSF10BETA/temp4/temp4app/ShowSource.jsp"
    "ShowSource.jsp": Invocation Error
    "tabbedpanes3.jsp": ParserUtils: warning org.xml.sax.SAXParseException: Valid documents must have a <!DOCTYPE declaration.
    "demo-test.jsp": ParserUtils: warning org.xml.sax.SAXParseException: Valid documents must have a <!DOCTYPE declaration.
    "repeater.jsp": ParserUtils: warning org.xml.sax.SAXParseException: Valid documents must have a <!DOCTYPE declaration.
    error:This absolute uri (http://java.sun.com/jstl/core) cannot be resolved in either web.xml or the jar files deployed with this application
    C:\j2sdk1.4.2_01\bin\java -classpath "C:\Program Files\Borland\BES\lib\tomcat\jasper\jasper-runtime.jar;C:\Program Files\Borland\BES\lib\tomcat\jasper\jasper-compiler.jar;C:\Program Files\Borland\BES\lib\tomcat\common\ant.jar;C:\Program Files\Borland\BES\lib\tomcat\common\jasper-runtime.jar;C:\Program Files\Borland\BES\lib\tomcat\common\jasper-compiler.jar;C:\Program Files\Borland\BES\lib\tomcat\common\naming-common.jar;C:\Program Files\Borland\BES\lib\tomcat\common\naming-factory.jar;C:\Program Files\Borland\BES\lib\tomcat\common\naming-resources.jar;C:\Program Files\Borland\BES\lib\tomcat\common\servlet.jar;C:\Program Files\Borland\BES\lib\xmlrt.jar;F:\WORK\JSF10BETA\temp4\classes;C:\Program Files\Borland\BES\lib\asrt.jar;C:\Program Files\Borland\BES\lib\lm.jar;C:\Program Files\Borland\BES\lib\xmlrt.jar;C:\Program Files\Borland\BES\lib\vbjorb.jar;C:\Program Files\Borland\BES\lib\vbejb.jar;C:\Program Files\Borland\BES\lib\vbsec.jar;C:\Program Files\Borland\BES\lib\beandt.jar;C:\Program Files\Borland\BES\lib\dx.jar;C:\Program Files\Borland\BES\lib\axis\axis-bes.jar;C:\Program Files\Borland\BES\lib\axis\axis-ant.jar;C:\Program Files\Borland\BES\SonicMQ\lib\sonic_Client.jar;F:\WORK\JSF10BETA\temp5\libraries\commons-beanutils.jar;F:\WORK\JSF10BETA\temp5\libraries\commons-collections.jar;F:\WORK\JSF10BETA\temp5\libraries\commons-digester.jar;F:\WORK\JSF10BETA\temp5\libraries\commons-logging.jar;F:\WORK\JSF10BETA\temp5\libraries\jsf-api.jar;F:\WORK\JSF10BETA\temp5\libraries\jsf-impl.jar;F:\WORK\JSF10BETA\temp5\libraries\jstl.jar;F:\WORK\JSF10BETA\temp5\libraries\standard.jar;C:\Program Files\Borland\BES\lib\tomcat\common\servlet.jar;C:\j2sdk1.4.2_01\demo\jfc\Java2D\Java2Demo.jar;C:\j2sdk1.4.2_01\demo\plugin\jfc\Java2D\Java2Demo.jar;C:\j2sdk1.4.2_01\jre\javaws\javaws.jar;C:\j2sdk1.4.2_01\jre\lib\charsets.jar;C:\j2sdk1.4.2_01\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.2_01\jre\lib\ext\ldapsec.jar;C:\j2sdk1.4.2_01\jre\lib\ext\localedata.jar;C:\j2sdk1.4.2_01\jre\lib\ext\sunjce_provider.jar;C:\j2sdk1.4.2_01\jre\lib\im\indicim.jar;C:\j2sdk1.4.2_01\jre\lib\im\thaiim.jar;C:\j2sdk1.4.2_01\jre\lib\jce.jar;C:\j2sdk1.4.2_01\jre\lib\jsse.jar;C:\j2sdk1.4.2_01\jre\lib\plugin.jar;C:\j2sdk1.4.2_01\jre\lib\rt.jar;C:\j2sdk1.4.2_01\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_01\lib\dt.jar;C:\j2sdk1.4.2_01\lib\htmlconverter.jar;C:\j2sdk1.4.2_01\lib\tools.jar" org.apache.jasper.JspC -d "F:/WORK/JSF10BETA/temp4/classes/Temporary_Files/.jsp/temp4app" -p "" -c repeater_0002ejsp_jsp -uriroot "F:/WORK/JSF10BETA/temp4/temp4app" "F:/WORK/JSF10BETA/temp4/temp4app/repeater.jsp"
    "repeater.jsp": Invocation Error
    "result-set.jsp": ParserUtils: warning org.xml.sax.SAXParseException: Valid documents must have a <!DOCTYPE declaration.
    error:This absolute uri (http://java.sun.com/jsf/demo/components) cannot be resolved in either web.xml or the jar files deployed with this application
    C:\j2sdk1.4.2_01\bin\java -classpath "C:\Program Files\Borland\BES\lib\tomcat\jasper\jasper-runtime.jar;C:\Program Files\Borland\BES\lib\tomcat\jasper\jasper-compiler.jar;C:\Program Files\Borland\BES\lib\tomcat\common\ant.jar;C:\Program Files\Borland\BES\lib\tomcat\common\jasper-runtime.jar;C:\Program Files\Borland\BES\lib\tomcat\common\jasper-compiler.jar;C:\Program Files\Borland\BES\lib\tomcat\common\naming-common.jar;C:\Program Files\Borland\BES\lib\tomcat\common\naming-factory.jar;C:\Program Files\Borland\BES\lib\tomcat\common\naming-resources.jar;C:\Program Files\Borland\BES\lib\tomcat\common\servlet.jar;C:\Program Files\Borland\BES\lib\xmlrt.jar;F:\WORK\JSF10BETA\temp4\classes;C:\Program Files\Borland\BES\lib\asrt.jar;C:\Program Files\Borland\BES\lib\lm.jar;C:\Program Files\Borland\BES\lib\xmlrt.jar;C:\Program Files\Borland\BES\lib\vbjorb.jar;C:\Program Files\Borland\BES\lib\vbejb.jar;C:\Program Files\Borland\BES\lib\vbsec.jar;C:\Program Files\Borland\BES\lib\beandt.jar;C:\Program Files\Borland\BES\lib\dx.jar;C:\Program Files\Borland\BES\lib\axis\axis-bes.jar;C:\Program Files\Borland\BES\lib\axis\axis-ant.jar;C:\Program Files\Borland\BES\SonicMQ\lib\sonic_Client.jar;F:\WORK\JSF10BETA\temp5\libraries\commons-beanutils.jar;F:\WORK\JSF10BETA\temp5\libraries\commons-collections.jar;F:\WORK\JSF10BETA\temp5\libraries\commons-digester.jar;F:\WORK\JSF10BETA\temp5\libraries\commons-logging.jar;F:\WORK\JSF10BETA\temp5\libraries\jsf-api.jar;F:\WORK\JSF10BETA\temp5\libraries\jsf-impl.jar;F:\WORK\JSF10BETA\temp5\libraries\jstl.jar;F:\WORK\JSF10BETA\temp5\libraries\standard.jar;C:\Program Files\Borland\BES\lib\tomcat\common\servlet.jar;C:\j2sdk1.4.2_01\demo\jfc\Java2D\Java2Demo.jar;C:\j2sdk1.4.2_01\demo\plugin\jfc\Java2D\Java2Demo.jar;C:\j2sdk1.4.2_01\jre\javaws\javaws.jar;C:\j2sdk1.4.2_01\jre\lib\charsets.jar;C:\j2sdk1.4.2_01\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.2_01\jre\lib\ext\ldapsec.jar;C:\j2sdk1.4.2_01\jre\lib\ext\localedata.jar;C:\j2sdk1.4.2_01\jre\lib\ext\sunjce_provider.jar;C:\j2sdk1.4.2_01\jre\lib\im\indicim.jar;C:\j2sdk1.4.2_01\jre\lib\im\thaiim.jar;C:\j2sdk1.4.2_01\jre\lib\jce.jar;C:\j2sdk1.4.2_01\jre\lib\jsse.jar;C:\j2sdk1.4.2_01\jre\lib\plugin.jar;C:\j2sdk1.4.2_01\jre\lib\rt.jar;C:\j2sdk1.4.2_01\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_01\lib\dt.jar;C:\j2sdk1.4.2_01\lib\htmlconverter.jar;C:\j2sdk1.4.2_01\lib\tools.jar" org.apache.jasper.JspC -d "F:/WORK/JSF10BETA/temp4/classes/Temporary_Files/.jsp/temp4app" -p "" -c result_0002dset_0002ejsp_jsp -uriroot "F:/WORK/JSF10BETA/temp4/temp4app" "F:/WORK/JSF10BETA/temp4/temp4app/result-set.jsp"
    "result-set.jsp": Invocation Error
    "tabbedpanes.jsp": ParserUtils: warning org.xml.sax.SAXParseException: Valid documents must have a <!DOCTYPE declaration.
    error:This absolute uri (http://java.sun.com/jsf/demo/components) cannot be resolved in either web.xml or the jar files deployed with this application
    C:\j2sdk1.4.2_01\bin\java -classpath "C:\Program Files\Borland\BES\lib\tomcat\jasper\jasper-runtime.jar;C:\Program Files\Borland\BES\lib\tomcat\jasper\jasper-compiler.jar;C:\Program Files\Borland\BES\lib\tomcat\common\ant.jar;C:\Program Files\Borland\BES\lib\tomcat\common\jasper-runtime.jar;C:\Program Files\Borland\BES\lib\tomcat\common\jasper-compiler.jar;C:\Program Files\Borland\BES\lib\tomcat\common\naming-common.jar;C:\Program Files\Borland\BES\lib\tomcat\common\naming-factory.jar;C:\Program Files\Borland\BES\lib\tomcat\common\naming-resources.jar;C:\Program Files\Borland\BES\lib\tomcat\common\servlet.jar;C:\Program Files\Borland\BES\lib\xmlrt.jar;F:\WORK\JSF10BETA\temp4\classes;C:\Program Files\Borland\BES\lib\asrt.jar;C:\Program Files\Borland\BES\lib\lm.jar;C:\Program Files\Borland\BES\lib\xmlrt.jar;C:\Program Files\Borland\BES\lib\vbjorb.jar;C:\Program Files\Borland\BES\lib\vbejb.jar;C:\Program Files\Borland\BES\lib\vbsec.jar;C:\Program Files\Borland\BES\lib\beandt.jar;C:\Program Files\Borland\BES\lib\dx.jar;C:\Program Files\Borland\BES\lib\axis\axis-bes.jar;C:\Program Files\Borland\BES\lib\axis\axis-ant.jar;C:\Program Files\Borland\BES\SonicMQ\lib\sonic_Client.jar;F:\WORK\JSF10BETA\temp5\libraries\commons-beanutils.jar;F:\WORK\JSF10BETA\temp5\libraries\commons-collections.jar;F:\WORK\JSF10BETA\temp5\libraries\commons-digester.jar;F:\WORK\JSF10BETA\temp5\libraries\commons-logging.jar;F:\WORK\JSF10BETA\temp5\libraries\jsf-api.jar;F:\WORK\JSF10BETA\temp5\libraries\jsf-impl.jar;F:\WORK\JSF10BETA\temp5\libraries\jstl.jar;F:\WORK\JSF10BETA\temp5\libraries\standard.jar;C:\Program Files\Borland\BES\lib\tomcat\common\servlet.jar;C:\j2sdk1.4.2_01\demo\jfc\Java2D\Java2Demo.jar;C:\j2sdk1.4.2_01\demo\plugin\jfc\Java2D\Java2Demo.jar;C:\j2sdk1.4.2_01\jre\javaws\javaws.jar;C:\j2sdk1.4.2_01\jre\lib\charsets.jar;C:\j2sdk1.4.2_01\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.2_01\jre\lib\ext\ldapsec.jar;C:\j2sdk1.4.2_01\jre\lib\ext\localedata.jar;C:\j2sdk1.4.2_01\jre\lib\ext\sunjce_provider.jar;C:\j2sdk1.4.2_01\jre\lib\im\indicim.jar;C:\j2sdk1.4.2_01\jre\lib\im\thaiim.jar;C:\j2sdk1.4.2_01\jre\lib\jce.jar;C:\j2sdk1.4.2_01\jre\lib\jsse.jar;C:\j2sdk1.4.2_01\jre\lib\plugin.jar;C:\j2sdk1.4.2_01\jre\lib\rt.jar;C:\j2sdk1.4.2_01\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_01\lib\dt.jar;C:\j2sdk1.4.2_01\lib\htmlconverter.jar;C:\j2sdk1.4.2_01\lib\tools.jar" org.apache.jasper.JspC -d "F:/WORK/JSF10BETA/temp4/classes/Temporary_Files/.jsp/temp4app" -p "" -c tabbedpanes_0002ejsp_jsp -uriroot "F:/WORK/JSF10BETA/temp4/temp4app" "F:/WORK/JSF10BETA/temp4/temp4app/tabbedpanes.jsp"
    "tabbedpanes.jsp": Invocation Error
    "imagemap.jsp": ParserUtils: warning org.xml.sax.SAXParseException: Valid documents must have a <!DOCTYPE declaration.
    error:This absolute uri (http://java.sun.com/jsf/demo/components) cannot be resolved in either web.xml or the jar files deployed with this application
    C:\j2sdk1.4.2_01\bin\java -classpath "C:\Program Files\Borland\BES\lib\tomcat\jasper\jasper-runtime.jar;C:\Program Files\Borland\BES\lib\tomcat\jasper\jasper-compiler.jar;C:\Program Files\Borland\BES\lib\tomcat\common\ant.jar;C:\Program Files\Borland\BES\lib\tomcat\common\jasper-runtime.jar;C:\Program Files\Borland\BES\lib\tomcat\common\jasper-compiler.jar;C:\Program Files\Borland\BES\lib\tomcat\common\naming-common.jar;C:\Program Files\Borland\BES\lib\tomcat\common\naming-factory.jar;C:\Program Files\Borland\BES\lib\tomcat\common\naming-resources.jar;C:\Program Files\Borland\BES\lib\tomcat\common\servlet.jar;C:\Program Files\Borland\BES\lib\xmlrt.jar;F:\WORK\JSF10BETA\temp4\classes;C:\Program Files\Borland\BES\lib\asrt.jar;C:\Program Files\Borland\BES\lib\lm.jar;C:\Program Files\Borland\BES\lib\xmlrt.jar;C:\Program Files\Borland\BES\lib\vbjorb.jar;C:\Program Files\Borland\BES\lib\vbejb.jar;C:\Program Files\Borland\BES\lib\vbsec.jar;C:\Program Files\Borland\BES\lib\beandt.jar;C:\Program Files\Borland\BES\lib\dx.jar;C:\Program Files\Borland\BES\lib\axis\axis-bes.jar;C:\Program Files\Borland\BES\lib\axis\axis-ant.jar;C:\Program Files\Borland\BES\SonicMQ\lib\sonic_Client.jar;F:\WORK\JSF10BETA\temp5\libraries\commons-beanutils.jar;F:\WORK\JSF10BETA\temp5\libraries\commons-collections.jar;F:\WORK\JSF10BETA\temp5\libraries\commons-digester.jar;F:\WORK\JSF10BETA\temp5\libraries\commons-logging.jar;F:\WORK\JSF10BETA\temp5\libraries\jsf-api.jar;F:\WORK\JSF10BETA\temp5\libraries\jsf-impl.jar;F:\WORK\JSF10BETA\temp5\libraries\jstl.jar;F:\WORK\JSF10BETA\temp5\libraries\standard.jar;C:\Program Files\Borland\BES\lib\tomcat\common\servlet.jar;C:\j2sdk1.4.2_01\demo\jfc\Java2D\Java2Demo.jar;C:\j2sdk1.4.2_01\demo\plugin\jfc\Java2D\Java2Demo.jar;C:\j2sdk1.4.2_01\jre\javaws\javaws.jar;C:\j2sdk1.4.2_01\jre\lib\charsets.jar;C:\j2sdk1.4.2_01\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.2_01\jre\lib\ext\ldapsec.jar;C:\j2sdk1.4.2_01\jre\lib\ext\localedata.jar;C:\j2sdk1.4.2_01\jre\lib\ext\sunjce_provider.jar;C:\j2sdk1.4.2_01\jre\lib\im\indicim.jar;C:\j2sdk1.4.2_01\jre\lib\im\thaiim.jar;C:\j2sdk1.4.2_01\jre\lib\jce.jar;C:\j2sdk1.4.2_01\jre\lib\jsse.jar;C:\j2sdk1.4.2_01\jre\lib\plugin.jar;C:\j2sdk1.4.2_01\jre\lib\rt.jar;C:\j2sdk1.4.2_01\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_01\lib\dt.jar;C:\j2sdk1.4.2_01\lib\htmlconverter.jar;C:\j2sdk1.4.2_01\lib\tools.jar" org.apache.jasper.JspC -d "F:/WORK/JSF10BETA/temp4/classes/Temporary_Files/.jsp/temp4app" -p "" -c imagemap_0002ejsp_jsp -uriroot "F:/WORK/JSF10BETA/temp4/temp4app" "F:/WORK/JSF10BETA/temp4/temp4app/imagemap.jsp"
    "imagemap.jsp": Invocation Error

    It looks like the XML parser provided by the server is having problems with resolving URIs to resources that are within a JAR file. In addition, the JSF web applications have JSTL 1.1 bundled into them, so if the server is running a version of Tomcat 4.x (instead of 5.x) you'll have problems with the JSTL tag libraries -- which the guessNumber demo does not use but the components demo does.
    Craig

  • Org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of ..

    Hello,
    I try to validate a DOM Document using:
    SchemaFactory factory=SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
    Source schemaFile=new StreamSource("myschema.xsd");
    schema schema=factory.newSchema(schemaFile);
    Validator validator=schema.newValidator();
    validator.validate(new DOMSource(document));
    I don't validate using the parse(File) method, because I already have a DOM Tree in memory.
    BUT now I receive the following error:
    org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'catalogue'.
    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
    at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
    at org.apache.xerces.jaxp.validation.DOMValidatorHelper.beginNode(Unknown Source)
    at org.apache.xerces.jaxp.validation.DOMValidatorHelper.validate(Unknown Source)
    at org.apache.xerces.jaxp.validation.DOMValidatorHelper.validate(Unknown Source)
    at org.apache.xerces.jaxp.validation.XMLSchemaValidator.validate(Unknown Source)
    at javax.xml.validation.Validator.validate(Unknown Source)
    catalogue is my rootElement.
    I'm using jdk 1.4.
    Does somebody know how to solve this?
    Thank you!
    Katja

    extra information
    a part of the XSD schema:
    <?xml version="1.0" encoding="UTF-8"?><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">     <xsd:element name="catalogue">    <xsd:complexType>      <xsd:sequence>        <xsd:element ref="date_created"/>        <xsd:element ref="date_modified"/>        <xsd:element ref="comment"/>        <xsd:element ref="books"/>        <xsd:element ref="cds"/>      </xsd:sequence>    </xsd:complexType>  </xsd:element>the code I'll using:
    public class DomWriterWithValidation extends AppBo{
         public static void main(String[] args) {
              DocumentBuilderFactory dbFactory=DocumentBuilderFactory.newInstance();
              dbFactory.setNamespaceAware(true);
              final String OUR_SCHEMA="C:/_develop/asja/lib/local/domxmlliblocal/properties/xmlfiles/catalogueBig.xsd";
              SchemaFactory schemaFactory=SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
              try{
                   Source schemaFile=new StreamSource(new FileInputStream(OUR_SCHEMA));
                   Schema schema=schemaFactory.newSchema(schemaFile);
                   Validator validator=schema.newValidator();
                   DocumentBuilder domBuilder=dbFactory.newDocumentBuilder();
                   File file=new File("C: /xmlfiles/catalogueDOMW1.xml");
                   Document document=domBuilder.newDocument();
                   Catalogue catalogue=getCatalogue(10,10);
                   writeXMLFile(file,catalogue,document,validator);
              }catch (Exception e) {
                   e.printStackTrace();
    public static void writeXMLFile(File file,Catalogue catalogue,Document document,Validator validator)throws SAXException{
              //1. BUILDING THE DOM TREE
              Element rootElement=document.createElement("catalogue");
              document.appendChild(rootElement);
              Element dateCreated=document.createElement("date_created");
              rootElement.appendChild(cds);
              OutputStream outputstream=null;               
                   try{
                        //2. WRITE THE DOM TREE TO AN XML FILE
                   TransformerFactory transformerFactory = TransformerFactory.newInstance();
                      Transformer transformer = transformerFactory.newTransformer();
                      transformer.setOutputProperty(OutputKeys.METHOD,"xml");
                      transformer.setOutputProperty(OutputKeys.INDENT,"yes");
                      outputstream=   new FileOutputStream(file.getPath());
                      /*With VALIDATION */
                        validator.validate(new DOMSource(document));
                   /*With VALIDATION */
                      transformer.transform(new DOMSource(document), new StreamResult(outputstream));      
              }catch (SAXException saxException){
                        System.out.println("The XML-file you are trying to create is not valid");
                        throw saxException;
              catch(Exception e){
                   e.printStackTrace();
              }finally{
                   try{
                   outputstream.close();
                   }catch (IOException ioException){
                        ioException.printStackTrace();
                        throw new RuntimeException(ioException);
    }A little part of the valid XML file I want to create:
    <?xml version="1.0" encoding="UTF-8"?><catalogue><date_created><day>1</day><month>7</month><year>2008</year></date_created><date_modified><day>1</day><month>7</month><year>2008</year></date_modified>

  • Org.xml.sax.SAXParseException: The markup in the document preceding the roo

    Below is the XML we are using to parse:
    <?xml version="1.0" encoding="UTF-8"?>
    <ead><archdesc level="class">desc</archdesc><eadheader audience="internal"><eadid>eadid23456</eadid></eadheader></ead>
    The application throws the exception:
    org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed.
         at weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1189)
         at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
         at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:152)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:143)
         at gov.nysed.vrc.xml.FAHandler.parse(FAHandler.java:44)
         at gov.nysed.vrc.web.actions.FAEditorDispatchAction.validateFA(FAEditorDispatchAction.java:857)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)...
    I tried using several editors and online XML syntax checkers. None of them complained. Also I tried removing the newline character or any spaces in the document. Didn't help either. I read in some of the forums that Xerces could be picky about spaces but even without any spaces, I am getting this exception.
    We are using Weblogic 8.1 and the default parsers... Any help is appreciated. - Thanks...

    The Java API documentation (the bit about character encodings) mentions "ISO-8859-1" but not "ISO8859-1". Try that instead?

Maybe you are looking for

  • How can I set up a Mac pro with internal Raid 5

    I have a Mac pro running Leopard server. I would like to format 3 of the drives as an internal Raid 5. Can this be done? Can it be done without an internal Raid card? or Can it be done if I install a Mac Pro Raid card? Thanks, RT

  • How to Delete the Photo's in iPad1 , how to fix the simcard for iPad with 3G....

    hello..               How i can delete the photos which are uploaded in ipad . How to fix the sim card in the 3G iPad, where i can get the tool which to open the simcard slot.

  • How to STOP microphone sensitivity from changing by itself?

    I'm using Skype and I keep the sensitivity of the mic low through the sound pref. pane. It keeps automatically raising the sensitivity when something louder is picked up by the mic and this is really annoying. Anyone have a fix for this ? thanks!

  • Create "Rotate Picture" function for Iphone Camera?

    Just wondering - why hasn't Apple added a "rotate" image function on the iphone? I receive MMS photos or send photos to others that aren't in the necessarily "right" orientation. They should really allow this function within the phone itself without

  • Impossibly slow backup to time capsule

    i just bought a 2TB time capsule and i have now managed to set it up on my wireless network. i tried to set up the time machnie but i only did 5GB (of 400GB) in 6 hours. it says it will take a further 5 days. as far as i know it should be uninterrupt