lenya-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hartmann <andr...@apache.org>
Subject CollectionWrapperTest fails (was: [zone] - [lenya.2.0.x.update] lenya-2.0.x tests failed)
Date Thu, 02 Jul 2009 11:49:50 GMT
dev@lenya.apache.org schrieb:
> At lenya.zones.apache.org
> [lenya.2.0.x.update] lenya-2.0.x tests failed
> 
> Please help to fix the tests. ATM most of them fail because they are empty.
> 
> See logfile: http://lenya.zones.apache.org/log/lenya.2.0.x.update.log


org.xml.sax.SAXParseException: The prefix "col" for element 
"col:document" is not bound.
java.lang.RuntimeException: org.xml.sax.SAXParseException: The prefix 
"col" for element "col:document" is not bound.
	at 
org.apache.lenya.modules.collection.CollectionWrapper.load(CollectionWrapper.java:127)
	at 
org.apache.lenya.modules.collection.CollectionWrapper.documents(CollectionWrapper.java:78)
	at 
org.apache.lenya.modules.collection.CollectionWrapper.size(CollectionWrapper.java:321)
	at 
org.apache.lenya.modules.collection.CollectionWrapperTest.testXLinkCollection(CollectionWrapperTest.java:87)
Caused by: org.xml.sax.SAXParseException: The prefix "col" for element 
"col:document" is not bound.
	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:76)
	at 
org.apache.lenya.xml.DocumentHelper.readDocument(DocumentHelper.java:190)
	at 
org.apache.lenya.modules.collection.CollectionWrapper.getNamespaceHelper(CollectionWrapper.java:268)
	at 
org.apache.lenya.modules.collection.CollectionWrapper.load(CollectionWrapper.java:125)



It works on my local machine. Maybe an issue with the Java version / 
parser implementation?

-- Andreas



-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Mime
View raw message