Hi,
Is validation turned on in Xerces? Can you enable debugging for the org.jboss.jetty
and org.mortbay.xml packages and have a look through the log trace - the XML config
that is being parsed is printed to the log (look for lines like: "Passing xml config
to Jetty" ...).
Looks like the XML that is being passed to the XMLConfigurator is not conformant to
the DTD (org/mortbay/xml/configure_1_1.dtd or org/mortbay/xml/configure_1_2.dtd) and
crimson is a bit more lenient on this. Try turning off validation, and we will have a
look into this.
Jan
>We are using JBoss 3.03 and want to use Saxon 6.5.2 as the Transformer
and Xerces 2.0.1 as the parser. The problem is that when used, the
parser coughs on parsing the Jetty config file. See error below. Has
anyone else had this problem and is it a matter of making the config
file more conformat to spec or something else. Thanks Greg
2002-12-08 14:28:08,555 INFO [org.jboss.jetty.JettyService] Creating
2002-12-08 14:28:08,806 WARN [org.jboss.jbossweb] WARNING: ERROR@null
line:2 col:129 : org.xml.sax.SAXParseException: Document root element
"server", must match DOCTYPE root "Configure".
2002-12-08 14:28:08,806 WARN [org.jboss.jbossweb] WARNING: ERROR@null
line:2 col:129 : org.xml.sax.SAXParseException: Element type "server"
must be declared.
2002-12-08 14:28:08,816 WARN [org.jboss.jbossweb] WARNING: ERROR@null
line:13 col:80 : org.xml.sax.SAXParseException: Element type "mbean"
must be declared.
2002-12-08 14:28:08,816 WARN [org.jboss.jbossweb] WARNING: ERROR@null
line:31 col:34 : org.xml.sax.SAXParseException: Element type "attribute"
must be declared.
2002-12-08 14:28:08,816 WARN [org.jboss.jbossweb] WARNING: ERROR@null
line:40 col:51 : org.xml.sax.SAXParseException: Element type "attribute"
must be declared.
2002-12-08 14:28:08,816 WARN [org.jboss.jbossweb] WARNING: ERROR@null
line:52 col:44 : org.xml.sax.SAXParseException: Element type "attribute"
must be declared.
2002-12-08 14:28:08,826 WARN [org.jboss.jbossweb] WARNING: ERROR@null
line:245 col:44 : org.xml.sax.SAXParseException: Element type
"attribute" must be declared.
2002-12-08 14:28:08,836 ERROR [org.jboss.jbossweb] problem configuring
Jetty:
org.xml.sax.SAXParseException: Document root element "server", must
match DOCTYPE root "Configure".
at
>org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:232)
>
at
org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:173)
>
at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:362)
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
<a href='http://thinkgeek.com/sf' target='_top'>http://thinkgeek.com/sf</a>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
<a href='https://lists.sourceforge.net/lists/listinfo/jboss-development'
>target='_top'>https://lists.sourceforge.net/lists/listinfo/jboss-development</a>
-------------------
Jan Bartel
Principal Consultant
Mort Bay Consulting UK and Australia
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development