El dj 22 de 03 de 2012 a les 10:05 +0000, en/na Jimmy O'Regan va
escriure:
> On 22 March 2012 09:04, Kevin Brubeck Unhammer <[email protected]> wrote:
> > "Jimmy O'Regan" <[email protected]>
> > writes:
> >
> >> On 22 March 2012 08:29, Francis Tyers <[email protected]> wrote:
> >>> isn't there. (b) Or using <lit> when you mean <lit-tag> because what
> >>> you're checking against can only be a tag.
> >>>
> >>
> >> Counter example:
> >> <let>
> >>   <clip pos="1" side="tl" part="some_part"/>
> >>   <lit v=""/>
> >> </let>
> >
> > http://permalink.gmane.org/gmane.comp.nlp.apertium/1676 so def-attrs can
> > be empty lit's, lit-tags, or variables (but not non-empty lit's), and
> > this goes for at least <equal>, <begins-with> (<ends-with>? can't
> > remember if we have that),
> 
> Yes. And begins-with-list, ends-with-list, and contains-substring
> 
> > and <let>.
> >
> > Another exception is that you can do stuff like
> >
> >   <concat><lit v="&amp;lt;"/><lit v="tag"/><lit v="&amp;gt;"/></concat>
> >
> > on the right hand side. I'm not sure why you'd want to though (unless
> > you were using a variable, in which case we're out of lint's league
> > anyway), and in the above example I would want a warning.

If I see someone doing that, I'll kick them in the shins... There's the
warning! :D

Fran


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to