On 20 July 2011 22:13, Kevin Donnelly <[email protected]> wrote:
> Hi
>
> ::::On Wednesday 20 July 2011 Jimmy O'Regan said::::
>> I built it a couple of times yesterday. You could just delete the 'c'
>> attribute: change
>>     <def-macro n="firstWord" npar="1" c="modified by mginesti 11/nov/10">
>> to
>>     <def-macro n="firstWord" npar="1">
>> there's only one such line in that file, and 'c' is for 'comment', so
>> deleting it won't break anything.
>
> Hmm - actually there's no such line in that file.
>
>> Also, are you /sure/ you copied the dtd to the right place?
>> grep dtd $(which apertium-validate-transfer)
>> will give you the path.
>
> It's /usr/share/apertium/transfer.dtd.  The last time I copied it into the SVN
> download and compiled again.  This time I compiled first, and then copied to
> this location.  Now I get a slightly different error:

That would suggest to me that you have an older, packaged version of
Apertium installed that's interfering with the version you just
compiled (which goes into /usr/local/ by default). You really ought to
remove that first.

> =====
> apertium-validate-postchunk apertium-en-es.en-es.t3x
> apertium-en-es.en-es.t3x:517: element equal: validity error : Element equal
> content does not follow the DTD, expecting ((b | clip | lit | lit-tag | var |
> get-case-from | case-of | concat) , (b | clip | lit | lit-tag | var | get-
> case-from | case-of | concat)), got (lu-count lit )
> <snip>
> Document apertium-en-es.en-es.t3x does not validate against
> /usr/share/apertium/postchunk.dtd
> make[1]: *** [en-es.t3x.bin] Error 1
> make[1]: Leaving directory `/home/kevin/downloads/apertium/apertium-en-es'
> make: *** [all] Error 2
> =====
>
> The joys of XML, eh?

Rather, the joy of conflicting versions.

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

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to