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

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Fri Jan 11 05:50:39 2008
New Revision: 611176

URL: http://svn.apache.org/viewvc?rev=611176&view=rev
Log:
Update regex for publication ID in publication.xml schema.

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=611176&r1=611175&r2=611176&view=diff
==============================================================================
--- lenya/trunk/src/resources/build/publication.rng (original)
+++ lenya/trunk/src/resources/build/publication.rng Fri Jan 11 05:50:39 2008
@@ -60,6 +60,12 @@
     </data>
   </define>
   
+  <define name="publicationId">
+    <data type="string">
+      <param name="pattern">[a-z0-9]+</param>
+    </data>
+  </define>
+  
   <define name="lenyaAreaName">
     <choice>
       <value>live</value>
@@ -152,7 +158,7 @@
         <optional>
           <element name="template">
             <attribute name="id">
-              <ref name="simpleNameToken"/>
+              <ref name="publicationId"/>
             </attribute>
           </element>
         </optional>
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.