bruno 2003/04/30 01:38:45
Modified: src/blocks/woody/java/org/apache/cocoon/woody Constants.java
src/blocks/woody/samples/forms a-choices.xml form1.xml
form1_template.xml registration.xml
registration_template.xml
src/blocks/woody/samples/xsl/html woody-default.xsl
Log:
Change the format of Woody's namespaces to be similar to the rest of Cocoon.
Revision Changes Path
1.2 +3 -3 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/Constants.java
Index: Constants.java
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/Constants.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Constants.java 22 Apr 2003 12:04:18 -0000 1.1
+++ Constants.java 30 Apr 2003 08:38:45 -0000 1.2
@@ -58,17 +58,17 @@
*/
public final class Constants {
/** Namespace for Woody Template elements */
- public static final String WT_NS = "http://cocoon.apache.org/woody/template/1.0";
+ public static final String WT_NS = "http://apache.org/cocoon/woody/template/1.0";
public static final String WT_PREFIX = "wt";
public static final String WT_PREFIX_COLON = "wt:";
/** Namespace for Woody Instance elements */
- public static final String WI_NS = "http://cocoon.apache.org/woody/instance/1.0";
+ public static final String WI_NS = "http://apache.org/cocoon/woody/instance/1.0";
public static final String WI_PREFIX = "wi";
public static final String WI_PREFIX_COLON = "wi:";
/** Namespace for Woody Definition elements */
- public static final String WD_NS = "http://cocoon.apache.org/woody/definition/1.0";
+ public static final String WD_NS = "http://apache.org/cocoon/woody/definition/1.0";
public static final String WD_PREFIX = "wd";
public static final String WD_PREFIX_COLON = "wd:";
1.2 +1 -1 cocoon-2.1/src/blocks/woody/samples/forms/a-choices.xml
Index: a-choices.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/samples/forms/a-choices.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- a-choices.xml 22 Apr 2003 12:04:22 -0000 1.1
+++ a-choices.xml 30 Apr 2003 08:38:45 -0000 1.2
@@ -1,4 +1,4 @@
-<wd:selection-list xmlns:wd="http://cocoon.apache.org/woody/definition/1.0">
+<wd:selection-list xmlns:wd="http://apache.org/cocoon/woody/definition/1.0">
<wd:item value="a"/>
<wd:item value="aa"/>
<wd:item value="aaa"/>
1.2 +1 -1 cocoon-2.1/src/blocks/woody/samples/forms/form1.xml
Index: form1.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/samples/forms/form1.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- form1.xml 22 Apr 2003 12:04:22 -0000 1.1
+++ form1.xml 30 Apr 2003 08:38:45 -0000 1.2
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<wd:form
- xmlns:wd="http://cocoon.apache.org/woody/definition/1.0"
+ xmlns:wd="http://apache.org/cocoon/woody/definition/1.0"
xmlns:i18n="http://apache.org/cocoon/i18n/2.1">
<wd:field id="email" required="true">
1.2 +1 -1 cocoon-2.1/src/blocks/woody/samples/forms/form1_template.xml
Index: form1_template.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/samples/forms/form1_template.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- form1_template.xml 22 Apr 2003 12:04:22 -0000 1.1
+++ form1_template.xml 30 Apr 2003 08:38:45 -0000 1.2
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<html xmlns:wt="http://cocoon.apache.org/woody/template/1.0">
+<html xmlns:wt="http://apache.org/cocoon/woody/template/1.0">
<head>
<title>Form 1 sample</title>
</head>
1.2 +1 -1 cocoon-2.1/src/blocks/woody/samples/forms/registration.xml
Index: registration.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/samples/forms/registration.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- registration.xml 22 Apr 2003 12:04:22 -0000 1.1
+++ registration.xml 30 Apr 2003 08:38:45 -0000 1.2
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<wd:form
- xmlns:wd="http://cocoon.apache.org/woody/definition/1.0"
+ xmlns:wd="http://apache.org/cocoon/woody/definition/1.0"
xmlns:i18n="http://apache.org/cocoon/i18n/2.1">
<wd:field id="name" required="true">
1.2 +1 -1 cocoon-2.1/src/blocks/woody/samples/forms/registration_template.xml
Index: registration_template.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/samples/forms/registration_template.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- registration_template.xml 22 Apr 2003 12:04:22 -0000 1.1
+++ registration_template.xml 30 Apr 2003 08:38:45 -0000 1.2
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<html xmlns:wt="http://cocoon.apache.org/woody/template/1.0">
+<html xmlns:wt="http://apache.org/cocoon/woody/template/1.0">
<head>
<title>Registration form</title>
</head>
1.2 +1 -1 cocoon-2.1/src/blocks/woody/samples/xsl/html/woody-default.xsl
Index: woody-default.xsl
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/samples/xsl/html/woody-default.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- woody-default.xsl 22 Apr 2003 12:04:22 -0000 1.1
+++ woody-default.xsl 30 Apr 2003 08:38:45 -0000 1.2
@@ -2,7 +2,7 @@
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:wi="http://cocoon.apache.org/woody/instance/1.0">
+ xmlns:wi="http://apache.org/cocoon/woody/instance/1.0">
<xsl:template match="wi:field">
|