W3C home > Mailing lists > Public > public-mobileok-checker@w3.org > May 2007

Re: Error Text (was RE: Checker Home Page and Regular Teleconference Details)

From: Sean Owen <srowen@google.com>
Date: Thu, 17 May 2007 14:53:36 -0400
Message-ID: <e920a71c0705171153w1962f303j847cc389e4a75724@mail.gmail.com>
To: "Roland Gülle" <roland@7val.com>
Cc: "Jo Rabin" <jrabin@mtld.mobi>, public-mobileok-checker@w3.org
On 5/17/07, Roland Gülle <roland@7val.com> wrote:
> If we want to generate a fallback message (for messages not special
> implemented in the language file),
> my solution is the XInclude processing in a separate process.
> OK, this is all possible with XSLT, with xsl:import... xsl:variable,
> with other frameworks,
> but with document() or XInclude the messages can directly handled in
> the XSLT and the messages are xml.
>
> Attached are both versions: document() and XInclude - lets find a
> solution ;-)

The document() solution seems pretty straightforward. Selecting from a
doc or invoking a method are about the same, though I assume invoking
a method is a bit faster. Yes, this doesn't tidily handle the fallback
messages, whereas Java MessageBundles do. I'm not against this
approach if several people would prefer to change the implementation,
if it's clear how language fallback is handled cleanly.
Received on Thursday, 17 May 2007 18:54:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:13:03 GMT