[jboss-cvs] jboss-seam/examples/ui/resources/META-INF ...
Peter Muir
peter at bleepbleep.org.uk
Sun Jun 24 17:37:55 EDT 2007
User: pmuir
Date: 07/06/24 17:37:55
Modified: examples/ui/resources/META-INF jboss-app.xml
application.xml persistence.xml
Log:
Add xml validation of config files to examples
Revision Changes Path
1.2 +3 -0 jboss-seam/examples/ui/resources/META-INF/jboss-app.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: jboss-app.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/ui/resources/META-INF/jboss-app.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- jboss-app.xml 29 Jan 2007 23:52:50 -0000 1.1
+++ jboss-app.xml 24 Jun 2007 21:37:54 -0000 1.2
@@ -1,4 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
+ <!DOCTYPE jboss-app
+ PUBLIC "-//JBoss//DTD J2EE Application 4.2//EN"
+ "http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd">
<jboss-app>
<loader-repository>
1.7 +4 -1 jboss-seam/examples/ui/resources/META-INF/application.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: application.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/ui/resources/META-INF/application.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- application.xml 19 Jun 2007 21:01:45 -0000 1.6
+++ application.xml 24 Jun 2007 21:37:54 -0000 1.7
@@ -1,6 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<application>
+<application xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd"
+ version="5">
<display-name>Seam UI Example</display-name>
<module>
1.2 +5 -1 jboss-seam/examples/ui/resources/META-INF/persistence.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: persistence.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/ui/resources/META-INF/persistence.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- persistence.xml 29 Jan 2007 23:52:50 -0000 1.1
+++ persistence.xml 24 Jun 2007 21:37:54 -0000 1.2
@@ -1,4 +1,8 @@
-<persistence>
+<?xml version="1.0" encoding="UTF-8"?>
+<persistence xmlns="http://java.sun.com/xml/ns/persistence"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
+ version="1.0">
<persistence-unit name="uiDatabase">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>java:/uiDatasource</jta-data-source>
More information about the jboss-cvs-commits
mailing list