svn commit: r627121 - /lenya/trunk/src/resources/build/publication.rng

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Tue Feb 12 13:28:36 2008
New Revision: 627121

URL: http://svn.apache.org/viewvc?rev=627121&view=rev
Log:
Make regex for resource type name less strict to work with docu module resource types (e.g. 'forrestDocument20').

Modified:
    lenya/trunk/src/resources/build/publication.rng

Modified: lenya/trunk/src/resources/build/publication.rng
URL: http://svn.apache.org/viewvc/lenya/trunk/src/resources/build/publication.rng?rev=627121&r1=627120&r2=627121&view=diff
==============================================================================
--- lenya/trunk/src/resources/build/publication.rng (original)
+++ lenya/trunk/src/resources/build/publication.rng Tue Feb 12 13:28:36 2008
@@ -88,7 +88,9 @@
   </define>
   
   <define name="resourceTypeName">
-    <ref name="simpleNameToken"/>
+    <data type="string">
+      <param name="pattern">[a-zA-Z0-9]+</param>
+    </data>
   </define>
   
   <define name="revisionString">
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.