Thorsten Scherler schrieb:
On Thu, 2009-03-12 at 15:10 +0100, Andreas Hartmann wrote:
Thorsten Scherler schrieb:
Hi all,

I wonder why I cannot use uppercase in the publication.xml?

I mean if I use
<module name="modPrueba"/>
I get an validation error, but as soon I change it to
<module name="modprueba"/>

it all works fine.

Can somebody explain me why?
src/resources/build/publication.rng:

   <define name="moduleName">
     <ref name="simpleNameToken"/>
   </define>

   <define name="simpleNameToken">
     <data type="string">
       <param name="pattern">[a-z]+</param>
     </data>
   </define>

I think we should keep this in sync with module.rng, which uses <text/> for the module ID.

Thanks for the pointer, but I do not understand why that is not <param name="pattern">[a-zA-Z]+</param>

No idea – maybe there's something in the archives. It's fine with me to allow uppercase letters.

-- Andreas



--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to