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.

For that sort of construct, I don't think any automatic tool will be
of much use. Emacs' doctor, perhaps :)

-- 
<Sefam> Are any of the mentors around?
<jimregan> yes, they're the ones trolling you

------------------------------------------------------------------------------
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