We depend currently on a snapshot version of Spring to enable the enhanced XML support (the use of <component> tags and <qname> etc).

We were hoping Spring 1.3 would include some version of the enhanced XML support I added - but I've not heard a peep out of the Spring folks about it for a while - I think its low on their priorities. So we'll put in place some other mechanism that will allow us to work with any Spring release.

For now though I'd recommend using the spring-1.2.2-dev-2.jar - which is a snapshot of Spring 1.2.2 CVS REPO.


On 24 Aug 2005, at 16:10, Frederic Do Couto wrote:
Hello,

I've changed the spring-1.2.2-dev-2.jar  to the version 1.2.3 and I
have this error :

INFO: Loading XML bean definitions from class path resource [servicemix.xml] Caught: org.springframework.beans.factory.BeanDefinitionStoreException:
Line 2 in XML document from class path resource [servicemix.xml] is
invalid; nested exception is org.xml.sax.SAXParseException: Document
root elemen
t "beans", must match DOCTYPE root "null".
org.springframework.beans.factory.BeanDefinitionStoreException: Line 2
in XML document from class path resource [servicemix.xml] is invalid;
nested exception is org.xml.sax.SAXParseException: Document root
element "beans
", must match DOCTYPE root "null".
org.xml.sax.SAXParseException: Document root element "beans", must
match DOCTYPE root "null".


I've tried to add the servicemix dtd in the doctype tag of my
servicemix.xml, and now I have :

INFO: Loading XML bean definitions from class path resource [servicemix.xml] Caught: org.springframework.beans.factory.BeanDefinitionStoreException:
Line 8 in XML document from class path resource [servicemix.xml] is
invalid; nested exception is org.xml.sax.SAXParseException: Element
type "contai
ner" must be declared.
org.springframework.beans.factory.BeanDefinitionStoreException: Line 8
in XML document from class path resource [servicemix.xml] is invalid;
nested exception is org.xml.sax.SAXParseException: Element type
"container" mus
t be declared.
org.xml.sax.SAXParseException: Element type "container" must be declared. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException (Unknown
Source)

Any idea ?

Fred.



James
-------
http://radio.weblogs.com/0112098/

Reply via email to