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 2008/01/11 14:50:42 UTC
svn commit: r611176 - /lenya/trunk/src/resources/build/publication.rng
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>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org