Emacs psgml-modeの設定をします。
${JBOSS_HOME}/docs/dtd以下にdtdがすべてある。
CATALOG
-- webapp DTD -- PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" "webapp/application_1_2.dtd" PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "webapp/application_1_3.dtd" PUBLIC "-//Sun Microsystems, Inc.//DTD Connector 1.0//EN" "webapp/connector_1_0.dtd" PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" "webapp/ejb-jar.dtd" PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "webapp/ejb-jar_2_0.dtd" PUBLIC "-//JBoss//DTD JAWS//EN" "webapp/jaws.dtd" PUBLIC "-//JBoss//DTD JAWS 2.4//EN" "webapp/jaws_2_4.dtd" PUBLIC "-//JBoss//DTD JAWS 3.0//EN" "webapp/jaws_3_0.dtd" PUBLIC "-//JBoss//DTD Web Application 2.2//EN" "webapp/jboss-web.dtd" PUBLIC "-//JBoss//DTD Web Application 2.3//EN" "webapp/jboss-web_3_0.dtd" PUBLIC "-//JBoss//DTD JBOSS//EN" "webapp/jboss.dtd" PUBLIC "-//JBoss//DTD JBOSS 2.4//EN" "webapp/jboss_2_4.dtd" PUBLIC "-//JBoss//DTD JBOSS 3.0//EN" "webapp/jboss_3_0.dtd" PUBLIC "-//JBoss//DTD JBOSS XMBEAN 1.0//EN" "webapp/jboss_xmbean_1_0.dtd" PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN" "webapp/jbosscmp-jdbc_3_0.dtd" PUBLIC "-//JBoss//DTD JBOSS Security Config 3.0//EN" "webapp/security_config.dtd" PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "webapp/web-app_2_2.dtd" PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "webapp/web-app_2_3.dtd"
ECAT
PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" cdtd/application_1_2.dtd PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" cdtd/application_1_3.dtd PUBLIC "-//Sun Microsystems, Inc.//DTD Connector 1.0//EN" cdtd/connector_1_0.dtd PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" cdtd/ejb-jar.dtd PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" cdtd/ejb-jar_2_0.dtd PUBLIC "-//JBoss//DTD JAWS//EN" cdtd/jaws.dtd PUBLIC "-//JBoss//DTD JAWS 2.4//EN" cdtd/jaws_2_4.dtd PUBLIC "-//JBoss//DTD JAWS 3.0//EN" cdtd/jaws_3_0.dtd PUBLIC "-//JBoss//DTD Web Application 2.2//EN" cdtd/jboss-web.dtd PUBLIC "-//JBoss//DTD Web Application 2.3//EN" cdtd/jboss-web_3_0.dtd PUBLIC "-//JBoss//DTD JBOSS//EN" cdtd/jboss.dtd PUBLIC "-//JBoss//DTD JBOSS 2.4//EN" cdtd/jboss_2_4.dtd PUBLIC "-//JBoss//DTD JBOSS 3.0//EN" cdtd/jboss_3_0.dtd PUBLIC "-//JBoss//DTD JBOSS XMBEAN 1.0//EN" cdtd/jboss_xmbean_1_0.dtd PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN" cdtd/jbosscmp-jdbc_3_0.dtd PUBLIC "-//JBoss//DTD JBOSS Security Config 3.0//EN" cdtd/security_config.dtd PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" cdtd/web-app_2_2.dtd PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" cdtd/web-app_2_3.dtd
sgml-custom-dtdに追加
("application_1_2" "<!DOCTYPE application PUBLIC \"-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN\" \"http://java.sun.com/dtd/application_1_2.dtd\">\n") ("application_1_3" "<!DOCTYPE application PUBLIC \"-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN\" \"http://java.sun.com/dtd/application_1_3.dtd\">\n") ("Connector 1.0" "<!DOCTYPE connector PUBLIC \"-//Sun Microsystems, Inc.//DTD Connector 1.0//EN\" \"http://java.sun.com/dtd/connector_1_0.dtd\">\n") ("JavaBeans 1.1" "<!DOCTYPE ejb-jar PUBLIC \"-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN\" \"http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd\">\n") ("JavaBeans 2.0" "<!DOCTYPE ejb-jar PUBLIC \"-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN\" \"http://java.sun.com/dtd/ejb-jar_2_0.dtd\">\n") ("jaws_2_4" "<!DOCTYPE jaws PUBLIC \"-//JBoss//DTD JAWS 2.4//EN\" \"http://www.jboss.org/j2ee/dtd/jaws_2_4.dtd\">\n") ("jaws_3_0" "<!DOCTYPE jaws PUBLIC \"-//JBoss//DTD JAWS 3.0//EN\" \"http://www.jboss.org/j2ee/dtd/jaws_3_0.dtd\">\n") ("jboss-web" "<!DOCTYPE jboss-web PUBLIC \"-//JBoss//DTD Web Application 2.2//EN\" \"http://www.jboss.org/j2ee/dtd/jboss-web.dtd\">\n") ("jboss-web_3_0" "<!DOCTYPE jboss-web PUBLIC \"-//JBoss//DTD Web Application 2.3//EN\" \"http://www.jboss.org/j2ee/dtd/jboss-web_3_0.dtd\">\n") ("jboss" "<!DOCTYPE jboss PUBLIC \"-//JBoss//DTD JBOSS//EN\" \"http://www.jboss.org/j2ee/dtd/jboss.dtd\">\n") ("jboss_2_4" "<!DOCTYPE jboss PUBLIC \"-//JBoss//DTD JBOSS 2.4//EN\" \"http://www.jboss.org/j2ee/dtd/jboss_2_4.dtd\">\n") ("jboss_3_0" "<!DOCTYPE jboss PUBLIC \"-//JBoss//DTD JBOSS 3.0//EN\" \"http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd\">\n") ("jboss_xmbean_1_0" "<!DOCTYPE mbean PUBLIC \"-//JBoss//DTD JBOSS XMBEAN 1.0//EN\" \"http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_0.dtd\">\n") ("jbosscmp-jdbc_3_0" "<!DOCTYPE jbosscmp-jdbc PUBLIC \"-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN\" \"http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd\">\n") ("security_config" "<!DOCTYPE policy PUBLIC \"-//JBoss//DTD JBOSS Security Config 3.0//EN\" \"http://www.jboss.org/j2ee/dtd/security_config.dtd\">\n") ("web-app_2_2" "<!DOCTYPE web-app PUBLIC \"-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN\" \"http://java.sun.com/dtd/web-app_2_2.dtd\">\n") ("web-app_2_3" "<!DOCTYPE web-app PUBLIC \"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN\" \"http://java.sun.com/dtd/web-app_2_3.dtd\">\n")
JBosspsgml-mode CategoryPrograming CategoryEmacs CategoryJava CategoryMac