Menu

Error reported by XML parser

Help
Alex
2011-12-05
2012-09-04
  • Alex

    Alex - 2011-12-05

    Hi all!

    I have problem:

    Error on line 86 column 12. Error reported by XML parser: The character sequence "]]>" must not appear in
      content unless used to mark the end of a CDATA section
    

    This line contains:

    <script language="javascript">
    <!--//<![CDATA[ ...... //]]>-->
    </script>
    

    I tried remove all CDATA parts from page with regexp. I helped in GUI, but in
    my java project this error exist

     
  • Alex

    Alex - 2011-12-05

    Also I tried usecdata="false" in html-to-xml. It helped also in GUI, but
    not in project

     
  • Alex

    Alex - 2011-12-05

    I tried prunetags="script". It removed all script tags from page, but
    again only in GUI.

    Please, help me!

     
  • Alex

    Alex - 2011-12-06

    I tried delete all from config. Left only get content:

    <config>
        <var-def name="content">
            <http url="${page_url}" 
                cookie-policy="browser">
                <http-header name="User-Agent">
                    Mozilla/5.0 (Windows NT 6.0; rv:2.0) Gecko/20100101 Firefox/4.0
                </http-header>
            </http>
        </var-def>
    </config>
    

    And еhe error is still present

     
  • Alex Wajda

    Alex Wajda - 2011-12-06

    which means that you are probably digging into wrong direction :)

    Your error relates to the XML parsing and the piece of code from your last
    message has nothing to do with XML parsing.

    So I would assume that the problem is not even in WH.

     

Log in to post a comment.