Results 1 to 2 of 2
  1. #1
    Join Date
    May 2010
    Rep Power

    Default xml parser problem

    Hi ,
    i am new to java .
    we are having java parser in our shell script.

    export JAVA_HOME='/opt/java1.5'
    export CLASSPATH=$base/xercesImpl.jar:$base/xml-apis.jar:$base/xercesSamples.jar:$PATH
    and i am executing this

    ${JAVA_HOME}/bin/java -classpath "$CLASSPATH" PPDSAXParser_general1_CRE23 $FILE_DIR/$file.xml $FILE_DIR/$PARSE_LAYOUT>> $FILE_DIR/$file.xml.out

    it is throwing with message saying that

    Error in parsing XML layout
    org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.
    at org.apache.xerces.parsers.AbstractSAXParser.parse( Unknown Source)
    at PPDSAXParser_general1_CRE23.Parse(PPDSAXParser_gen
    at PPDSAXParser_general1_CRE23.main(PPDSAXParser_gene

    Please let me wats the problem i am not able to debug it

    Thanks in advance

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Rep Power


    Please don't double post...I answered your question in your other thread.

    You may be in a hurry, but all it does is annoy the people you are hoping will help you.

Similar Threads

  1. Problem with HTML parser
    By kpraveenreddy in forum New To Java
    Replies: 0
    Last Post: 03-02-2010, 03:12 PM
  2. problem with XERCES Parser using Option FieldType
    By oregon in forum New To Java
    Replies: 1
    Last Post: 07-24-2007, 01:44 AM
  3. XML Parser
    By samfuerte in forum XML
    Replies: 1
    Last Post: 07-14-2007, 04:14 PM
  4. Parser
    By Peter in forum Advanced Java
    Replies: 2
    Last Post: 07-04-2007, 07:08 AM
  5. DKP Log Parser 1.4.1
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 06-25-2007, 08:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts