W3C home > Mailing lists > Public > public-sml@w3.org > November 2007

[Bug 4772] add keyword substitution in smlerr localized messages?

From: <bugzilla@wiggum.w3.org>
Date: Wed, 28 Nov 2007 05:09:25 +0000
CC:
To: public-sml@w3.org
Message-Id: <E1IxFAr-0007sw-6v@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4772





------- Comment #3 from kumarp@microsoft.com  2007-11-28 05:09 -------
I agree with the proposal mentioned in comment #2. The proposal is summarized
below for quick reference.

1. Change the namespace name to a more general name (for example,
sml:localizationId) to position it as a localization mechanism for items other
than error messages. 
2. Change the type of this attribute from anyURI to qname.
The namespace part of the qname, a URI, will be used to point to a localized
resource. The local part of the qname will identify a specific string within
the resource. 
3. How an implementation locates a localized resource using the URI is
implementation dependent.
4. It is implementation dependant how variable substitution can be achieved in
translated strings. SML will propose as best practices ( non-normative ) the
use of xsl:variable for variable substitution support in schematron messages
Received on Wednesday, 28 November 2007 05:09:33 GMT

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