Skip to Content.
Sympa Menu

xom-interest - [XOM-interest] so, I guess this has to do with Crimson...

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: luca passani <passani AT eunet.no>
  • To: xom <xom-interest AT lists.ibiblio.org>
  • Subject: [XOM-interest] so, I guess this has to do with Crimson...
  • Date: Tue, 24 Jun 2003 02:38:38 +0200

OK, I rebuilt the WURFL XOM API with d17 without problems. It works.
Junit is ok unless I remove the Xerces lib (which, I understand, implies that
Crimson kicks in, right?).

Here is what I get with crimson. Is this expected? Can I work it around?

(using: Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06)
Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode)
=============================================================
C:\projects\wurfl\antbuild>ant runtest
Buildfile: build.xml

prepare:

compileapi:

compiletags:

buildlib:

compiletest:
[javac] Compiling 1 source file to C:\projects\wurfl\antbuild\tests

runtest:
[java] .Starting :Tue Jun 24 02:28:50 CEST 2003
[java] setUp() capability matrix and UA Manager
[java] wurfl.properties file found. Lemme have a look...
[java] using file://C:\projects\wurfl\antbuild\resources\wurfl.xml file found in wurfl.properties
[java] cannot parse the wurfl
[java] nu.xom.ParseException: URIs cannot contain 0x5c at line 1, column -1
.
[java] at nu.xom.Builder.build(Builder.java:621)
[java] at nu.xom.Builder.build(Builder.java:378)
[java] at net.sourceforge.wurfl.wurflapi.Wurfl.<init>(Unknown Source)
[java] at net.sourceforge.wurfl.wurflapi.ObjectsManager.getUAManagerInstance(Unknown Source)
[java] at StandAlone.setUp(Unknown Source)
[java] at junit.framework.TestCase.runBare(TestCase.java:125)
[java] at junit.framework.TestResult$1.protect(TestResult.java:106)
[java] at junit.framework.TestResult.runProtected(TestResult.java:124)
[java] at junit.framework.TestResult.run(TestResult.java:109)
[java] at junit.framework.TestCase.run(TestCase.java:118)
[java] at junit.framework.TestSuite.runTest(TestSuite.java:208)
[java] at junit.framework.TestSuite.run(TestSuite.java:203)
[java] at junit.textui.TestRunner.doRun(TestRunner.java:116)
[java] at junit.textui.TestRunner.doRun(TestRunner.java:109)
[java] at junit.textui.TestRunner.run(TestRunner.java:72)
[java] at junit.textui.TestRunner.run(TestRunner.java:57)
[java] at StandAlone.main(Unknown Source)
[java] Caused by: nu.xom.MalformedURIException: URIs cannot contain 0x5c
[java] at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:
524)
[java] at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
[java] at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.j
ava:442)
[java] E.Starting :Tue Jun 24 02:28:50 CEST 2003
[java] setUp() capability matrix and UA Manager
[java] at nu.xom.Builder.build(Builder.java:599)
[java] wurfl.properties file found. Lemme have a look...
[java] using file://C:\projects\wurfl\antbuild\resources\wurfl.xml file fou
nd in wurfl.properties
[java] ... 16 more
[java] cannot parse the wurfl
===================================================================

thanks

luca






Archive powered by MHonArc 2.6.24.

Top of Page