[jboss-cvs] jboss-seam/doc/reference/en/modules ...
Gavin King
gavin.king at jboss.com
Fri Jun 8 22:35:39 EDT 2007
User: gavin
Date: 07/06/08 22:35:39
Modified: doc/reference/en/modules tutorial.xml xml.xml
Log:
use xsd
Revision Changes Path
1.85 +7 -6 jboss-seam/doc/reference/en/modules/tutorial.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: tutorial.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/tutorial.xml,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -b -r1.84 -r1.85
--- tutorial.xml 6 Jun 2007 01:24:52 -0000 1.84
+++ tutorial.xml 9 Jun 2007 02:35:39 -0000 1.85
@@ -1771,18 +1771,19 @@
<example>
- <programlisting><![CDATA[
-<!DOCTYPE pages PUBLIC
- "-//JBoss/Seam Pages Configuration DTD 1.3//EN"
- "http://jboss.com/products/seam/pages-1.3.dtd">
+ <programlisting><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
+<pages xmlns="http://jboss.com/products/seam/pages"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-1.3.xsd">
-<pages>
<page view-id="/numberGuess.jspx">
<begin-conversation join="true" pageflow="numberGuess"/>
</page>
+
<page view-id="/confirm.jspx">
<begin-conversation nested="true" pageflow="cheat"/>
</page>
+
</pages>
]]></programlisting>
</example>
1.10 +5 -5 jboss-seam/doc/reference/en/modules/xml.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: xml.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/xml.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- xml.xml 28 May 2007 19:57:00 -0000 1.9
+++ xml.xml 9 Jun 2007 02:35:39 -0000 1.10
@@ -97,6 +97,7 @@
</para>
<programlisting><![CDATA[<components xmlns="http://jboss.com/products/seam/components"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:core="http://jboss.com/products/seam/core">
<core:ejb/>
</components>]]></programlisting>
@@ -354,13 +355,12 @@
<para>
Throughout the examples, there have been two competing ways of declaring components: with and without
the use of XML namespaces. The following shows a typical <literal>components.xml</literal> file
- without namespaces. It uses the Seam Components DTD:
+ without namespaces:
</para>
- <programlisting><![CDATA[<?xml version="1.0" encoding="UTF-8">
-<!DOCTYPE components PUBLIC "-//JBoss/Seam Component Configuration DTD 1.3//EN"
- "http://jboss.com/products/seam/components-1.3.dtd">
-<components>
+ <programlisting><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
+<components xmlns="http://jboss.com/products/seam/components"
+ xsi:schemaLocation="http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.3.xsd">
<component class="org.jboss.seam.core.init">
<property name="debug">true</property>
More information about the jboss-cvs-commits
mailing list