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>

Similar Messages

  • Validation error: cvc-elt.1: Cannot find the declaration of element

    I use JAXP to do XML Parsing and validation. I use DOM and not SAX.
    My code is as follows:
    SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
    File schemaLocation = new File("C:\\config\\JMS_properties.xsd");
    Schema schema = schemaFactory.newSchema(schemaLocation);
    // Create the validator
    Validator validator = schema.newValidator();
    // Add an error handler to the validator
    JMSErrorHandler errorHandler = new JMSErrorHandler();
    validator.setErrorHandler(errorHandler);
    // Create the dom factory
    DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance();
    // Set the namespace property
    domFactory.setNamespaceAware(true);
    // Create the document builder
    DocumentBuilder builder = domFactory.newDocumentBuilder();
    // Parse the xml file
    Document doc = builder.parse(xmlFile);
    // Create the dom source and destination
    // The destination will contain the doc augmented with the default attribute/element
    DOMSource source = new DOMSource(doc);
    DOMResult result = new DOMResult();
    // Validate and augment the source
    validator.validate(source, result);
    // Error checking
    if ( errorHandler.validationError == true ) {
        // errors occured during the parsing
        System.out.println("XML file is not valid");
        System.exit(1);
    // Get the augmented document
    this.augmented = (Document) result.getNode();When executing my code, I got:
    Validation error: cvc-elt.1: Cannot find the declaration of element 'JMSProperties'
    But the xml file has this element in it so I do not understand the meaning of that error.
    ??????

    I fight with the same error, it is curious that the schema from schemaLocation can not be validated. If i set the schema manually through an attribute it works. What i try to do is overwriting the resolveEntity in the handler to get the schema from another location and validate the xml against the schema specified in the attribute schemaLocation rather than setting it manually :-(

  • Cvc-elt.1: Cannot find the declaration of element 'html'

    I was getting an error when I was trying to validate the following XML file as below:
    cvc-elt.1: Cannot find the declaration of element 'html'
    However the error below goes away when I type in
    <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml"
    instead of "<html xmlns="http://www.w3.org/1999/xhtml"
    I am not sure why the second way works. I am not familiar with namespaces, so if anyone could tell me why the second approach works, i would be grateful. Or, is there any other reason also that makes the error appear..Please demystify. Thanks very much
    The error:
    *cvc-elt.1: Cannot find the declaration of element 'html'*
    {code}
    <?xml version="1.0" encoding="UTF-8"?>
    *<html xmlns="http://www.w3.org/1999/xhtml"*      xmlns:xhtml="http://www.w3.org/2002/Xforms"
         xmlns:ev="http://www.w3.org/2001/xml-events"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
         xmlns:xsi="http://www/w3.org/2001/XMLSchema-instance"
         xmlns:xxforms="http://orbeon.org/oxf/xml/xform"
         xmlns:xs="http://www.w3.org/2001/XMLSchema"
         xmlns:fe="http://example.com/form/xform"
         xmlns:f="http://orbeon.org/oxf/xml/formatting"
         xmlns:xforms="http://w3.org/2002/xforms">
                   <head>
                        <title> ProtoType Complaint Form - 2 </title>
                        <!-- We are going to use an external CSS file here -->
                        <!-- <link rel="stylesheet" type="text/css" href="my_styles.css"/> -->
                        <!-- Let us use an Internal Style sheet as well -->
                        <!-- Let us use or adapt the Form Editor CSS in the form as suggested by Mike, Dan, Intalio -->
                        <!--We are going to be using CSS Rules:
                        A CSS rule comprises of a selector, and a property:value pair (declaration). -->
                        <!--
                        selector:
                             how content can be selected for styling, for example, the selector for a level-one
                        heading element is h1; selectors include element name, ID and class
                        property:
                             how a presentation attribute of an element can be targeted, for example, the font-family
                             property refers to the typeface content should be set in
                        value:
                             the values permitted for each property; for example, a colour can be set using a keyword:
                             red, green, blue; or a hexadecimal code: #f00, #0f0, #00f
                        -->
                        <!--
                        We are going to use Solitary ID selectors:
                             those that can apply to any type of element and have the simple syntax
                             #idname, for example, #title. This selector selects the single element on a page
                             that has an ID of "title".
                        -->
                        <!-- SideNote: Keyword - "CSS pseudo elements" -->          
                        <style type="text/css">
                        <!-- #xforms_cntrl_COMPLAINT_TYPE {position : absolute; top : 30; left : 270; width : 195; height : 29; margin : 0; padding : 0;} -->
                             h1
                                  font: bold 20pt helvetica,verdana;
                             h2
                                  font: bold 18pt helvetica,verdana;
                             h3
                                  font: bold 16pt helvetica,verdana;
                             /* blue background for Group labels */
                             /* h4 { font: bold 14pt helvetica,verdana; background-color: #1078E1; } */
                             h4
                                  font: bold 14pt helvetica,verdana;
                             .xforms-group {
                             /* border: 10px; */
                             border: thin solid #0000FF;
                             background-color: #ffffcc;
                             PADDING-RIGHT: 0.5em;
                             DISPLAY: block;
                             margin-bottom:5px;
                             /* display: table-row; */
              .xforms-label { font-weight: bold }
                        </style>
                        <!-- define the form model -->
                        <!-- We will constrain instance data by specifying an XML schema -->
                        <!-- xforms:model starts here -->
                        <xforms:model schema="test2.xform.xsd" id="COMPLAINT_DATA">
                             <!-- Task input -->
                             <xforms:instance id="taskinput">
                                  <fe:input>
                                       <fe:Arrestee_Last_Name/>
                                       <fe:Arrestee_First_Name/>
                                  </fe:input>
                             </xforms:instance>
                                  <xforms:instance id="taskmetadata">
                                  <!-- if I need to populate some instance using an XSL stylesheet and eXist ?? -->
                                       <taskmetadata/>
                                  </xforms:instance>
                             <!-- Task Output -->
                             <xforms:instance id="taskoutput">
                                  <fe:output>
                                       <fe:Arrestee_Last_Name/>
                             <fe:Arrestee_First_Name/>
                                  </fe:output>
                             </xforms:instance>     
                             <!-- the xforms-ready event is used here to trigger setValue -->
                             <!-- We set Instance Values with the xforms:setvalue Action -->
                             <xforms:action ev:event="xforms-ready">
                                  <xforms:action xforms:if="string(instance('taskoutput')/@saved) != 'true'">
                                       <xforms:setValue ref="instance('taskoutput')/fe:Arrestee_Last_Name" value="instance('taskinput')/fe:Arrestee_Last_Name" />
                                       <xforms:setValue ref="instance('taskoutput')/fe:Arrestee_First_Name" value="instance('taskinput')/fe:Arrestee_First_Name" />
                                  </xforms:action>
                             </xforms:action>
                             <!-- can I use type="xsd:string ?? -->
                             <xforms:bind nodeset="instance('taskoutput')/fe::Arrestee_Last_Name" relevant="true()" type="xs:anyURI" />
                             <xforms:bind nodeset="instance('taskoutput')/fe:Arrestee_First_Name" relevant="true()" type="xs:anyURI" />     
                        </xforms:model> <!-- xforms:model ends here -->
                   </head>     
              <body>
                        <h3>
                             <center>
                                  <font color="blue">
                                       Criminal Complaint <br></br>
                                  </font>
                             </center>
                        </h3>          
                        <!-- Use Later??
                        <div id="intalio-bpms-form">
                             <div id="xforms_cntrl_output105">
                                  <xforms:output ref="instance('taskoutput')/fe:output105"/>
                             <div>
                        <div> -->
                        <xforms:group appearance="full">
                        <p class="proto">
                             <xforms:input model="COMPLAINT_DATA" ref="instance('taskinput')/fe:input/fe:Arrestee_Last_Name">
                                  <xforms:label>Arrestee Last Name: </xforms:label>
                             </xforms:input>     
                        </p>
                        <p class="proto">
                             <xforms:input model="COMPLAINT_DATA" ref="instance('taskinput')/fe:input/fe:Arrestee_First_Name">
                                  <xforms:label>Arrestee First Name: </xforms:label>
                             </xforms:input>     
                        </p>
                        </xforms:group>     
              </body>
         </html>

    Though this is not my area, you can have a look at this thread which may help you
    [Re: XML inputs in a MII transaction to be used as a Web Service call|XML inputs in a MII transaction to be used as a Web Service call;
    thanks
    G. Lakshmipathi

  • Problem with xerces2 J (cvc-elt.1: Cannot find the declaration of element)

    cvc-elt.1: Cannot find the declaration of element 'Unternehmen'.
    Can anyone help me to get this problem solved?
    I am using xerces to validate a xml with a xsd scheme and i think there must be a error within the scheme. But the XSD Validator on w3c.org says that the xsd is fine !? :-o
    scheme (xsd)
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <xsd:complexType name="PersonTyp" abstract="true">
         <xsd:sequence>
           <xsd:element name="Vorname" type="xsd:string" maxOccurs="3"/>
           <xsd:element name="Name" type="xsd:string"/>
           <xsd:element name="Geburtsdatum" type="xsd:date"/>
         </xsd:sequence>
       </xsd:complexType>
       <xsd:complexType name="MitarbeiterTyp">
         <xsd:complexContent>
           <xsd:extension base="PersonTyp">
             <xsd:sequence>
               <xsd:element name="Gehalt">
                 <xsd:simpleType>
                   <xsd:restriction base="xsd:float">
                     <xsd:minInclusive value="10000"/>
                   </xsd:restriction>
                 </xsd:simpleType>
               </xsd:element>
             </xsd:sequence>
           </xsd:extension>
         </xsd:complexContent>
       </xsd:complexType>
       <xsd:element name="Unternehmen">
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element name="Mitarbeiter" type="MitarbeiterTyp"
               maxOccurs="unbounded"/>
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
    </xsd:schema>xml
    <?xml version="1.0" encoding="UTF-8"?>
    <Unternehmen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:noNamespaceSchemaLocation="Beispiel.xsd">
    <Mitarbeiter>
      <Vorname>Hagen</Vorname>
      <Vorname>Dieter</Vorname>
      <Name>Becker</Name>
      <Geburtsdatum>1967-08-13</Geburtsdatum>
      <Gehalt>39512.34</Gehalt>
    </Mitarbeiter>
    <Mitarbeiter>
      <Vorname>Jutta</Vorname>
      <Name>Stehl</Name>
      <Geburtsdatum>1976-09-11</Geburtsdatum>
      <Gehalt>42500.34</Gehalt>
    </Mitarbeiter>
    </Unternehmen>

    forget about this thread.
    i have read a chapter of http://java.sun.com/webservices/docs/1.2/tutorial/doc/index.html this document and found out that i missed a statement within my java code.
    Next, you need to configure the parser factory to generate a parser that is namespace-aware parser, as well as validating:
      SAXParserFactory factory = SAXParserFactory.newInstance();
      factory.setNamespaceAware(true);
      factory.setValidating(true); I MISSED THE factory.setNamespaceAware(true); LINE!!!!

  • Error cvc-elt.1: Cannot find the declaration of element 'wsdl:definitions'

    Hi! Ive got an error: cvc-elt.1: Cannot find the declaration of element 'wsdl:definitions'
    My WSDL file was generated by PI.
    After import this WSDL-file to my Business Process to section Service Interfaces - I've got this error.
    But, it seems to be OK when I created the project, create a model by choosing the WSDL-file. All validators do not give me any error.
    Whats wrong?!

    Though this is not my area, you can have a look at this thread which may help you
    [Re: XML inputs in a MII transaction to be used as a Web Service call|XML inputs in a MII transaction to be used as a Web Service call;
    thanks
    G. Lakshmipathi

  • Problem in creating Data/Service in FlashBuilder 4 beta 2 with this error .cvc-elt.1: Cannot find the declaration of element 'model'

    hi
    i have a problem after installing flashBuilder 4 beta2 .
    when i want to create Data/Service with BlazeDs and when i click on button finish
    this error shown and I can't do anything with it .
    in flashBuilder beta1 it's work perfect .
    if any one in thereand know why?
    please help me
    ERROR: XML parse error : Error on line 1 of documen : cvc-elt.1:Cannot find declaration of element 'model'. Nested exeption:Cannot find declaration of element 'model'.
    thanks

    Hi,
    Thanks for your feedback
    Can you attach your sample project and provide details on the Flash Builder and BlazeDS builds you are using?
    Also add your vote to http://bugs.adobe.com/jira/browse/FB-23479 a similar known issue
    Thanks,
    Balaji
    http://balajisridhar.wordpress.com

  • Cvc-elt.1: Cannot find the declaration of element 'mesa'.

    When I trying to send a Soap request I am getting the following exception.
    Soap request
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/mesa" xmlns:web="http://www.webservice.stockquotein">
    <soapenv:Header/>
    <soapenv:Body>
    <web:GetQuote xmlns:web="http://www.webservice.stockquotein">
    <web:symbol>test</web:symbol>
    </web:GetQuote>
    </soapenv:Body>
    </soapenv:Envelope>
    XSD
    <?xml version="1.0" encoding="utf-8" ?>
    <xs:schema elementFormDefault="qualified" targetNamespace="http://www.webservice.stockquotein"
    xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mesa="http://www.sterlingcommerce.com/mesa">
    <xs:element name="GetQuote">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="symbol" />
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="symbol" type="xs:string"/>
    </xs:schema>
    WSDL (initial lines not complete as its very big)
    <wsdl:definitions xmlns:mesa="http://www.sterlingcommerce.com/mesa" xmlns:mesa_xsd="http://www.sterlingcommerce.com/mesa" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns0="http://www.webservice.stockquotein" xmlns:tns1="http://www.webservice.stockquoteout" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="StockQuote_no_attachments" targetNamespace="http://www.sterlingcommerce.com/mesa">
    <wsdl:types>
    <xs:schema xmlns="http://www.sterlingcommerce.com/mesa" xmlns:tns="http://www.sterlingcommerce.com/mesa" xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.sterlingcommerce.com/mesa">
    What can be the issue?
    Thanks
    Abhishek

    Though this is not my area, you can have a look at this thread which may help you
    [Re: XML inputs in a MII transaction to be used as a Web Service call|XML inputs in a MII transaction to be used as a Web Service call;
    thanks
    G. Lakshmipathi

  • Cannot find the declaration of element

    What's the problem here. I've been developing spring-ws app (particularly for mm7). When i receive the request I'm getting org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'mm7:SubmitReq'... What's the problem here?
    <?xml version="1.0" encoding="UTF-8"?>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.mail.org/mailschema"
         xmlns:mm7="http://www.mail.org/mailschema" elementFormDefault="qualified">
              <complexType name="SubmitReq">
                   <sequence>
                        <element name="messageType" type="string"/>
                        <element name="verseion" type="string"/>
                   </sequence>
              </complexType>
         <element name="MM7SubmitReqObject" type="mm7:SubmitReq"></element>
    </schema>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
    <mm7:TransactionID xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-6-MM7-1-4" SOAP-ENV:mustUnderstand="1">205a83ed79d64576</mm7:TransactionID>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
         <mm7:SubmitReq xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-6-MM7-1-4">
              <mm7:MM7Version>6.8.0</mm7:MM7Version>
              <mm7:SenderIdentification>
                   <mm7:VASPID>VASP_TEST</mm7:VASPID>
                   <mm7:VASID>VAS_TEST</mm7:VASID>
                   <mm7:SenderAddress>
                        <mm7:Number>123456</mm7:Number>
                   </mm7:SenderAddress>
              </mm7:SenderIdentification>
              <mm7:Recipients>
                   <mm7:To>
                        <mm7:Number>+15166771001</mm7:Number>
                   </mm7:To>
              </mm7:Recipients>
              <mm7:MessageClass>Advertisement</mm7:MessageClass>
              <mm7:ExpiryDate>P1D</mm7:ExpiryDate>
              <mm7:DeliveryReport>false</mm7:DeliveryReport>
              <mm7:ReadReply>false</mm7:ReadReply>
              <mm7:Priority>Normal</mm7:Priority>
              <mm7:Subject>Check this out ---</mm7:Subject>
              <mm7:Content allowAdaptations="true" href="cid:AppLogo.jpg"/>
         </mm7:SubmitReq>
         <ericMm7:EricssonSubmitReq xmlns:ericMm7="REL-5-MM7-1-1-ericsson.xsd">
              <ericMm7:FreeText>;LUCK ON;123456789012;1</ericMm7:FreeText>
              <ericMm7:SenderVisibility>true</ericMm7:SenderVisibility>
         </ericMm7:EricssonSubmitReq>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    06/24/09 20:16:57.015 endpoint.SimpleSoapExceptionResolver [DEBUG] Resolving exception from endpoint [com.smart.mms.endpoint.MM7Endpoint@746e96ff]: org.springframework.oxm.jaxb.JaxbUnmarshallingFailureException: JAXB unmarshalling exception: null; nested exception is javax.xml.bind.UnmarshalException
    - with linked exception:
    [org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'mm7:SubmitReq'.]
    06/24/09 20:16:57.016 server.SoapMessageDispatcher [DEBUG] Endpoint invocation resulted in exception - responding with Fault
    org.springframework.oxm.jaxb.JaxbUnmarshallingFailureException: JAXB unmarshalling exception: null; nested exception is javax.xml.bind.UnmarshalException
    - with linked exception:
    [org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'mm7:SubmitReq'.]
    Caused by:
    javax.xml.bind.UnmarshalException
    - with linked exception:
    [org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'mm7:SubmitReq'.]

    Hi,
              can you check with JSTL1.0
              pl. let me know service pack that you are using
              Regards,
              Prasanna Yalam

  • Cannot find the declaration of element 'scheduledTasks'

    Hi,
    I'm trying to send email notification using scheduled task, when i run the job it gives me warning
    <11 Oct, 2013 4:18:53 PM IST> <Warning> <oracle.iam.scheduler.impl> <BEA-000000> <XSD Validation Exception: org.xml.sax.SAXParseException; cvc-elt.1: Cannot find the declaration of element 'scheduledTasks'.>
    thanks

    Not sure what your version of OIM is, but I have seen this in R2PS1 even though all the OOTB jobs and custom jobs are working fine. So I guess this can be safetly ignored.
    -Bikash

  • Cannot find the declaration of element taglib

    Hi,
              I am using JSTL1.1 standard.jar.I deployed it in my WL8.1 server.when i start my WL8.1 it giving the following warning.Its not giving any error while runtime.
              Please help me.
              Mitul
              <Warning> <HTTP> <BEA-101248> <[ServletContext(id=
              26711310,name=pem,context-path=/)]: Deployment descriptor "jar:file:E:\WORKSP~3\
              Domains\PEM-FM\.\portalServer\.wlnotdelete\extract\portalServer__appsdir_pem_dir
              _pem\jarfiles\WEB-INF\lib\standard.jar!/META-INF/fn.tld" is malformed. Check aga
              inst the DTD: cvc-elt.1: Cannot find the declaration of element 'taglib'. (line
              3, column 228).>

    Hi,
              can you check with JSTL1.0
              pl. let me know service pack that you are using
              Regards,
              Prasanna Yalam

  • 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 with XML Report Publish

    Anyone see the following error in XML Report Publisher? This happened after I ran Employee W2 XML Interface and ran XML Report Publisher for the output of the PDF output.
    --XDOException
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:570)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:235)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5936)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3459)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3548)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:684)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Caused by: org.xml.sax.SAXParseException: <Line 268, Column 6>: XML-20109: (Fatal Error) PI with the name 'xml' can occur only in the beginning of the document.
         at oracle.xdo.parser.v2.XMLError.flushErrorHandler(XMLError.java:441)
         at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:303)
         at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:305)
         at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:289)
         ... 17 more
    Thanks.

    We are going to user Employee W-2 PDF.

  • Org.xml.sax.SAXParseException: com.sun.xml.parser/P-067

    this is an error I get, i tried everything to solve it, please help
    org.xml.sax.SAXParseException: com.sun.xml.parser/P-067
    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 ParseXML.readFile(ParseXML.java:56)
    at ParseXML.getXMLData(ParseXML.java:40)

    Googling I get this....
    P-067 = Document root element is missing.

  • Org.xml.sax.SAXParseException: Document root element "taglib", must match D

    hi
    using tomcat 4
    and jdf1.5
    i am getting bellow error
    org.xml.sax.SAXParseException: Document root element "taglib", must match DOCTYPE root "null".

    Check your web.xml once again.

  • 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.

Maybe you are looking for