[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: troubles with wml::std::lang



On Wed, Aug 30, 2000 at 02:05:17PM +0200, Stephane Bortzmeyer wrote:

> On Wednesday 30 August 2000, at 13 h 55, the keyboard of Davide Puricelli 
> <apurice@tin.it> wrote:
> 
> > #!wml -o (ALL-LANG_*)+LANG_EN:index.html.en \
> ...
> > ** Slice:Error: no existing slice matches `LANG_*'
> 
> http://www.engelschall.com/sw/slice/docs/#DESCRIPTION
> 
> The NAME identifier has to match against the regular expression
> ``[_A-Z0-9]+'', i.e. NAME is a string consisting only of uppercase
> letters, digits or underscore characters. 
> 
> So, I assume it is a bug in the manual.

And 10 lines below
   SLICE_TERM ::= NAME
          The slice NAME itself. This name has to match against the regex
          ``[_A-Z0-9*{}]+''. Here two cases are possible: NAME is either
          a plain slice name consisting only of uppercase letters, digits
          or an underscore character. Or it is a wildcarded slice name
          indicated by an asterisk character.

Warning: braces apply to wml-SNAP only

The problem reported by Slice is just the lack of LANG_* slices, which
is solved by adding them, e.g.

 <lang:new id=en>
 <lang:new id=de>

 <lang:en>...</lang:en>
 <lang:de>...</lang:de>

-- 
Denis Barbier
WML Maintainer
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com