Bugs item #800923, was opened at 2003-09-05 17:58 Message generated for change (Settings changed) made by mlassau You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=800923&group_id=22866
Category: JBossServer Group: v3.2 Status: Open >Resolution: None Priority: 5 Submitted By: Mark Lassau (mlassau) Assigned to: Scott M Stark (starksm) Summary: xml config files not valid Initial Comment: I have tried to use Apache Xerces' DOMParser to parse some xml config files in JBoss v3.2.1 (eg jboss-3.2.1\server\default\conf\jboss-service.xml) These all have a doctype that looks only like: <!DOCTYPE server> The DOMParser will not give me any children of the root element - <server>. If I remove the doctype declaration, then it parses fine. According to Michael Glavassevich at apache.org these documents are well-formed but not valid. See below for snippet of posting to xerces-j-user mailing list: Your document is well formed, but isn't valid. <!DOCTYPE server> just means that a valid root element for the document is 'server', but you still need to declare 'server' in your DTD, as well as the rest of your elements and attributes (even if you declare 'server' as <!ELEMENT server ANY>), in order for your document to be valid. Hope that helps. On Fri, 5 Sep 2003, Mark Lassau wrote: >> Is the following valid xml? >> >> <?xml version="1.0" encoding="UTF-8"?> >> <!DOCTYPE server> >> <server> >> <classpath codebase="lib" archives="*"/> >> </server> ---------------------------------------------------------------------- Comment By: Mark Lassau (mlassau) Date: 2003-09-23 11:10 Message: Logged In: YES user_id=857189 Thanks. I couldn't find where to download these files via CVS, so I had to wait for 3.2.2RC4 to check this. FYI there are still a number of files with this tag. The only one I am personally interested in is jboss/server/default/deploy/mail-service.xml But here are the others under sever/<config-name>/ : conf/jboss-minimal.xml deploy/cache-invalidation-service.xml deploy/iiop-service.xml deploy/mail-service.xml deploy/properties-service.xml deploy/schedule-manager-service.xml deploy/scheduler-service.xml deploy/transaction-service.xml deploy/user-service.xml deploy/http-invoker.sar/META-INF/jboss-service.xml deploy/jboss-net.sar/META-INF/jboss-service.xml deploy/jms/jbossmq-httpil.sar/META-INF/jboss-service.xml deploy/jmx-invoker-adaptor-server.sar/META-INF/jboss-service.xml farm/cluster-examples-service.xml (This was in jboss-3.2.2RC4_jetty-4.2.11) ---------------------------------------------------------------------- Comment By: Scott M Stark (starksm) Date: 2003-09-10 22:16 Message: Logged In: YES user_id=175228 Fixed for 3.2.2RC4 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=800923&group_id=22866 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
