cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabi Brysch" <bry...@inxnet.de>
Subject problems with schema-validation
Date Tue, 10 Oct 2000 11:54:12 GMT
hi,

[win2000, tomcat3.1, cocoon1.8 with xerces-j-1.2]

i turn on the property parser.validate = true in the cocoon.properties file.

then i tried to process the sample-files in the xerces1.2distribution under
xerces/java/data/personal-schema.xml with the schema-file personal.xsd.

when i copied this in a file where other xml-files are, i get an
error-message i cannot understand:

I'VE ATTACHED THE TWO sample-files i used to this mail !!

error-message:
	java.lang.RuntimeException: org.xml.sax.SAXParseException: General Schema
Error: 	Grammar with uri : http://www.w3.org/1999/XSL/Transform , can not
found.
	at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1008)
	at
org.apache.xerces.validators.common.XMLValidator.reportRecoverableXMLError
(XMLValidator.java:1250)
	at
org.apache.xerces.validators.common.XMLValidator.validateElementAndAttribute
s	(XMLValidator.java:2497)
	at org.apache.xerces.validators.common.XMLValidator.callStartElement
(XMLValidator.java:818)
	at org.apache.xerces.framework.XMLDocumentScanner.scanElement
(XMLDocumentScanner.java:1852)
	at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch
(XMLDocumentScanner.java:1000)
	at org.apache.xerces.framework.XMLDocumentScanner.parseSome
(XMLDocumentScanner.java:380)
	at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
	at org.apache.cocoon.parser.XercesParser.parse(XercesParser.java:84)
	at org.apache.cocoon.parser.AbstractParser.parse(AbstractParser.java:83)
	at org.apache.cocoon.processor.xsp.XSPProcessor.init(XSPProcessor.java:170)
	at org.apache.cocoon.framework.Manager.create(Manager.java:101)
	at org.apache.cocoon.framework.Router.init(Router.java:80)
	at org.apache.cocoon.framework.Manager.create(Manager.java:101)
	at org.apache.cocoon.Engine.(Engine.java:171)
	at org.apache.cocoon.Engine.getInstance(Engine.java:218)
	at org.apache.cocoon.Cocoon.init(Cocoon.java:141)
	at
org.apache.tomcat.core.ServletWrapper.initServlet(ServletWrapper.java:315)
	at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:445)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection
(HttpConnectionHandler.java:160)
	at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
	at java.lang.Thread.run(Thread.java:484)

please give me a tip how to resolve this !!!

thanks, GABI

Mime
View raw message