lenya/src/webapp/lenya/pubs/default/config/doctypes doctypes.xconf,1.1,1.2

Christian Egli <[email protected]> Thu, 15 May 2003 11:48:27 +0200
Newsgroups gmane.comp.cms.wyona.cvs
Message-ID <[email protected]>
Update of /repository/lenya/src/webapp/lenya/pubs/default/config/doctypes
In directory erbium:/tmp/cvs-serv11072/src/webapp/lenya/pubs/default/config/doctypes

Modified Files:
	doctypes.xconf 
Log Message:
The XML files in content are now stored according to the following
scheme foo.html is stored in foo/index.xml, i.e. for each document a
directory is created. This has the following implications:

1. The content files themselves are moved from content/authoring/*.xml
   to content/authoring/*/index.xml.
2. The doctype sitemap now generates the content from
   {document-id}/index.xml.
3. The parameter-doctype.xmap checks the file in
   {document-id}/index.xml for its doctype.
4. The creator now uses the BranchCreator instead of the LeafCreator.


Index: doctypes.xconf
===================================================================
RCS file: /repository/lenya/src/webapp/lenya/pubs/default/config/doctypes/doctypes.xconf,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** doctypes.xconf	7 May 2003 16:48:06 -0000	1.1
--- doctypes.xconf	15 May 2003 09:48:25 -0000	1.2
***************
*** 8,12 ****
        <doc type="xhtml"/>
      </children>
!     <creator src="org.apache.lenya.cms.authoring.DefaultLeafCreator">
        <sample-name>simple.xml</sample-name>
      </creator>
--- 8,12 ----
        <doc type="xhtml"/>
      </children>
!     <creator src="org.apache.lenya.cms.authoring.DefaultBranchCreator">
        <sample-name>simple.xml</sample-name>
      </creator>
***************
*** 21,25 ****
        <doc type="xhtml"/>
      </children>
!     <creator src="org.apache.lenya.cms.authoring.DefaultLeafCreator">
        <sample-name>xhtml.xml</sample-name>
      </creator>
--- 21,25 ----
        <doc type="xhtml"/>
      </children>
!     <creator src="org.apache.lenya.cms.authoring.DefaultBranchCreator">
        <sample-name>xhtml.xml</sample-name>
      </creator>