If someone can tell me definitively that this is a bug of the saxon transformer then I will tell client that he can not use saxon as he wants to do.
Greg
[EMAIL PROTECTED] wrote:
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. JanWe are using JBoss 3.03 and want to use Saxon 6.5.2 as the Transformerand 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". atorg.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='"moz-txt-link-freetext" href="">http://thinkgeek.com/sf' target='_top'>http://thinkgeek.com/sf</a> _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] <a href='"moz-txt-link-freetext" 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
-- Greg Turner, JBoss Authorized Consultant Tiburon Enterprise Systems http://www.tiburon-e-systems.com Box 1171 Tiburon, CA 94920 415-927-2543
