W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > September 2007

Improve XProc suitability for localization

From: Jirka Kosek <jirka@kosek.cz>
Date: Wed, 26 Sep 2007 18:03:15 +0200
Message-ID: <46FA82C3.1020106@kosek.cz>
To: public-xml-processing-model-comments@w3.org
Hi,

although the majority of XProc specification defines machine processable
content there is p:error element which can be used to invoke error.
Error message which can be presented to user is currently specified
using attribute:

   <p:error code="NOVERSION"
             description="Required version attribute missing."/>

It is known that text stored inside attributes is not ideal for further
localization. Generally it is better to use element content for text in
natural language (see http://www.w3.org/TR/xml-i18n-bp/#DevAttributes).

ITS WG would prefer if you can use element content instead of attribute
for storing text of error message. This will allow to specify things
like language, directionality, translatability, etc. of error message
using further attributes on p:error element (these attributes will be
extensions attributes from XProc point of view).

Thanks,

			Jirka Kosek
			(this time as a member of W3C ITS WG)

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------


Received on Wednesday, 26 September 2007 16:02:52 GMT

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