You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Jean Pierre LeJacq <jp...@quoininc.com> on 2004/06/20 00:08:57 UTC
Any reason why document ids cannot contain "_"?
When creating new documents, the file:
lenya/lenya/xslt/authoring/create.xsl
does not allow the "_" character in the id name. This seems overly
restrictive. Is there any rationale for this restriction? Would
there be any repercussion if I relaxed this restriction?
--
JP
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Any reason why document ids cannot contain "_"?
Posted by Andreas Hartmann <an...@apache.org>.
Gregor J. Rothfuss wrote:
> Jean Pierre LeJacq said:
>
>>When creating new documents, the file:
>>
>> lenya/lenya/xslt/authoring/create.xsl
>>
>>does not allow the "_" character in the id name. This seems overly
>>restrictive. Is there any rationale for this restriction? Would
>>there be any repercussion if I relaxed this restriction?
I think we could tweak the DefaultDocumentBuilder a little,
but this has a low prio IMHO.
Feel free to implement your own DocumentBuilder and
configure it in publication.xconf.
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Any reason why document ids cannot contain "_"?
Posted by Jean Pierre LeJacq <jp...@quoininc.com>.
On Sun, 20 Jun 2004, Gregor J. Rothfuss wrote:
>
> Jean Pierre LeJacq said:
> > When creating new documents, the file:
> >
> > lenya/lenya/xslt/authoring/create.xsl
> >
> > does not allow the "_" character in the id name. This seems overly
> > restrictive. Is there any rationale for this restriction? Would
> > there be any repercussion if I relaxed this restriction?
>
> this is because _ is the language separator. see also
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=28974
>
> the code that checks for _ should be made smarter.
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Any reason why document ids cannot contain "_"?
Posted by "Gregor J. Rothfuss" <gr...@wyona.com>.
Jean Pierre LeJacq said:
> When creating new documents, the file:
>
> lenya/lenya/xslt/authoring/create.xsl
>
> does not allow the "_" character in the id name. This seems overly
> restrictive. Is there any rationale for this restriction? Would
> there be any repercussion if I relaxed this restriction?
this is because _ is the language separator. see also
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=28974
the code that checks for _ should be made smarter.
-gregor
--
Gregor J. Rothfuss
Wyona Inc. - Open Source Content Management - Apache Lenya
http://wyona.com http://cocoon.apache.org/lenya
gregor.rothfuss@wyona.com gregor@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org