forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo" <leont...@tstt.net.tt>
Subject org.xml.sax.SAXParseException: Content is not allowed in prolog.
Date Wed, 27 Aug 2003 10:00:28 GMT
Hi folks

I have been making progress in my quest to have eXist
working inside forrest.

I am able to simple things such as retreive xml documents
and listing of collections.

However when I attempt to add a document: Introduction.xml, which
validates and displays correctly in Forrest
to the database, I get the following error

2003-08-27 05:36:46,324 [main] DEBUG (BrokerPool.java [initialize]:262) -
database engine initialized.
2003-08-27 05:37:15,006 [PoolThread-4] DEBUG (NativeBroker.java
[getCollection]:577) - loading collection /db/recipes
2003-08-27 05:37:15,016 [PoolThread-4] DEBUG (NativeBroker.java
[getCollection]:577) - loading collection /db/shakespeare
2003-08-27 05:37:15,016 [PoolThread-4] DEBUG (NativeBroker.java
[getCollection]:577) - loading collection /db/shakespeare/plays
2003-08-27 05:37:15,136 [PoolThread-4] DEBUG (Parser.java [scan]:662) -
validating document Introduction.xml ...
2003-08-27 05:37:15,166 [PoolThread-4] DEBUG (Parser.java
[fatalError]:366) - fatal error at line 1
org.xml.sax.SAXParseException: Content is not allowed in prolog.
	at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
	at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
	at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
	at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
	at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unkn
own Source)


Regards
Leo


Mime
View raw message