You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2004/09/09 12:27:14 UTC

svn commit: rev 43587 - incubator/lenya/trunk/src/webapp/lenya

Author: andreas
Date: Thu Sep  9 03:27:14 2004
New Revision: 43587

Modified:
   incubator/lenya/trunk/src/webapp/lenya/usecase.xmap
Log:
using fallback for schemas

Modified: incubator/lenya/trunk/src/webapp/lenya/usecase.xmap
==============================================================================
--- incubator/lenya/trunk/src/webapp/lenya/usecase.xmap	(original)
+++ incubator/lenya/trunk/src/webapp/lenya/usecase.xmap	Thu Sep  9 03:27:14 2004
@@ -351,7 +351,7 @@
                 <map:parameter name="parameters" value="save"/>
                 <map:act type="oneformeditorsave">
                   <map:parameter name="file" value="pubs/{../1}/work/oneformeditor/authoring/{../2}.xml"/>
-                  <map:parameter name="schema" value="pubs/{../1}/config/doctypes/schemas/{page-envelope:document-type}.rng"/>
+                  <map:parameter name="schema" value="fallback://config/doctypes/schemas/{page-envelope:document-type}.rng"/>
                   <map:generate src="pubs/{../../1}/content/authoring/{page-envelope:document-path}"/>
                   <map:transform src="xslt/authoring/edit/oneform.xsl">
                     <map:parameter name="docid" value="{page-envelope:document-id}"/>
@@ -595,7 +595,7 @@
           
           <map:match pattern="xsd" type="step">
             <map:match pattern="*/authoring/**.html">
-              <map:generate src="pubs/{1}/config/doctypes/schemas/{request-param:doctype}.xsd"/>
+              <map:generate src="fallback://config/doctypes/schemas/{request-param:doctype}.xsd"/>
               <map:serialize type="xml"/>
             </map:match>
           </map:match>

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org