[Kbabel] Tags validator

Stanislav Visnovsky visnovsky@nenya.ms.mff.cuni.cz
Tue, 14 Jan 2003 16:44:12 +0100 (CET)


On Tue, 14 Jan 2003, Dwayne Bailey wrote:

> Check msgid for XML conformance.  If it passes then check the msgstr. 
> That way we know if the original is valid before we get translators 
> confused.

I like the idea!

> 
> We could also check the msgid in a relaxed mode ie <p> with </p> if that 
> passes then do the same on the msgstr.
> 
> If msgid passes no XML test then it is the source of the problem.  Then 
> a simple tag count might be more appropriate.  This tag count could 
> eliminate errors such as msgid "<ERROR>" being flagged as invalid.

Maybe no checking at all.

Stanislav