vgritsenko 2002/08/22 06:02:57
Modified: src/webapp/mount/lint Tag: cocoon_2_0_3_branch sitemap.xmap
src/webapp/samples/lint sitemap.xmap
Log:
map:read must have mime-type
Revision Changes Path
No revision
No revision
1.2.2.2 +8 -8 xml-cocoon2/src/webapp/mount/lint/Attic/sitemap.xmap
Index: sitemap.xmap
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/webapp/mount/lint/Attic/sitemap.xmap,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -u -r1.2.2.1 -r1.2.2.2
--- sitemap.xmap 17 Jun 2002 02:20:44 -0000 1.2.2.1
+++ sitemap.xmap 22 Aug 2002 13:02:57 -0000 1.2.2.2
@@ -73,7 +73,7 @@
<!-- Pipeline with component after map:serialize|read|mount|redirect-to|call is
illegal
<map:pipeline>
- <map:read src="sitemap.xmap"/>
+ <map:read mime-type="text/test" src="sitemap.xmap"/>
<map:act type="request"/>
</map:pipeline>
-->
@@ -146,7 +146,7 @@
</map:match>
<map:match pattern="test-one-3">
- <map:read src="one"/>
+ <map:read mime-type="text/test" src="one"/>
</map:match>
<!-- 2. selectors allow any nested components -->
@@ -158,12 +158,12 @@
</map:when>
<map:when test="two">
<map:act type="request">
- <map:read src="one"/>
+ <map:read mime-type="text/test" src="one"/>
</map:act>
</map:when>
<map:when test="three">
<map:match pattern="one">
- <map:read src="one"/>
+ <map:read mime-type="text/test" src="one"/>
</map:match>
</map:when>
<map:when test="four">
@@ -182,7 +182,7 @@
<map:mount uri-prefix="one/" src="one/" check-reload="yes"/>
</map:when>
<map:otherwise>
- <map:read src="one"/>
+ <map:read mime-type="text/test" src="one"/>
</map:otherwise>
</map:select>
@@ -213,7 +213,7 @@
</map:act>
<map:act type="request">
- <map:read src="one"/>
+ <map:read mime-type="text/test" src="one"/>
</map:act>
</map:match>
@@ -224,7 +224,7 @@
<!-- can put nothing after serialize|read|mount|redirect-to
<map:mount uri-prefix="one/" src="one/" check-reload="yes"/>
- <map:read src="one"/>
+ <map:read mime-type="text/test" src="one"/>
-->
<map:handle-errors>
@@ -274,7 +274,7 @@
</map:match>
<map:match pattern="dummy">
- <map:read type="not-substituted" src="substitute-read-src-{dummy}"/>
+ <map:read mime-type="text/test" type="not-substituted"
src="substitute-read-src-{dummy}"/>
</map:match>
<map:match pattern="dummy">
1.2 +8 -8 xml-cocoon2/src/webapp/samples/lint/sitemap.xmap
Index: sitemap.xmap
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/lint/sitemap.xmap,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sitemap.xmap 2 Jul 2002 09:13:06 -0000 1.1
+++ sitemap.xmap 22 Aug 2002 13:02:57 -0000 1.2
@@ -73,7 +73,7 @@
<!-- Pipeline with component after map:serialize|read|mount|redirect-to|call is
illegal
<map:pipeline>
- <map:read src="sitemap.xmap"/>
+ <map:read mime-type="text/test" src="sitemap.xmap"/>
<map:act type="request"/>
</map:pipeline>
-->
@@ -146,7 +146,7 @@
</map:match>
<map:match pattern="test-one-3">
- <map:read src="one"/>
+ <map:read mime-type="text/test" src="one"/>
</map:match>
<!-- 2. selectors allow any nested components -->
@@ -158,12 +158,12 @@
</map:when>
<map:when test="two">
<map:act type="request">
- <map:read src="one"/>
+ <map:read mime-type="text/test" src="one"/>
</map:act>
</map:when>
<map:when test="three">
<map:match pattern="one">
- <map:read src="one"/>
+ <map:read mime-type="text/test" src="one"/>
</map:match>
</map:when>
<map:when test="four">
@@ -182,7 +182,7 @@
<map:mount uri-prefix="one/" src="one/" check-reload="yes"/>
</map:when>
<map:otherwise>
- <map:read src="one"/>
+ <map:read mime-type="text/test" src="one"/>
</map:otherwise>
</map:select>
@@ -213,7 +213,7 @@
</map:act>
<map:act type="request">
- <map:read src="one"/>
+ <map:read mime-type="text/test" src="one"/>
</map:act>
</map:match>
@@ -224,7 +224,7 @@
<!-- can put nothing after serialize|read|mount|redirect-to
<map:mount uri-prefix="one/" src="one/" check-reload="yes"/>
- <map:read src="one"/>
+ <map:read mime-type="text/test" src="one"/>
-->
<map:handle-errors>
@@ -274,7 +274,7 @@
</map:match>
<map:match pattern="dummy">
- <map:read type="not-substituted" src="substitute-read-src-{dummy}"/>
+ <map:read mime-type="text/test" type="not-substituted"
src="substitute-read-src-{dummy}"/>
</map:match>
<map:match pattern="dummy">
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]