Dear Sir;
 The problem is solved after adding j2ee.jar into the classpath.

Best regards, XiaoYing
-----Original Message-----
From: Xiao Ying, Chen 
Sent: Saturday, September 03, 2005 5:17 PM
To: '[email protected]'
Subject: Got error " java.net.MalformedURLException: no protocol"
Importance: High

Dear Sir;
 
I managed to compile iText sample file Chap0707.java, but when it is
run, following error occurred

Chapter 7 example 7: parsing the HTML from example 2
ExceptionConverter: java.net.MalformedURLException: no protocol:
Chap0702.html
        at oracle.xml.parser.v2.XMLError.flushErrors(XMLError.java:143)
        at
oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:209)
        at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:144)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:379)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:265)
        at com.lowagie.text.html.HtmlParser.go(HtmlParser.java:115)
        at com.lowagie.text.html.HtmlParser.parse(HtmlParser.java:133)
        at
com.sns.legal.efs.gateway.autopdf.Chap0707.main(Chap0707.java:61)
Invalid InputSource.

My work environment is
xmlparserv2.jar
iText1-2jar
jdk1.3.1

Thanks in advance.
Best regards, XiaoYing


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to