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>

salu2
-- 
Thorsten Scherler <thorsten.at.apache.org>
Open Source Java <consulting, training and solutions>

Sociedad Andaluza para el Desarrollo de la Sociedad 
de la Información, S.A.U. (SADESI)





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

Reply via email to