Improve XProc suitability for localization

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 UTC