[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Schema localization? *Newbie alert*

  • From: Rick Jelliffe <ricko@a...>
  • To: xml-dev@l...
  • Date: Fri, 12 Jan 2001 14:37:36 +0800

xml schema localization
 > Is
> >there a mechanism which will allow 'localization' (1:1 mappings)of the
> >tagnames in Dutch, Portugese, Chinese etc. ?

In general, the answer is no.  XML schemas provides no mechanism by which
you can take an arbitrary schema and localize it to another language. You
have to take the schema, and edit it by hand, and give it a new namespace.

This is less important for element and attribute names (which end-users are
often gidden from) but there is a mechanism (substitution groups) that can
help here if the original DTD used them.

It is more of an issue for localised data values (e.g.  enumerations, local
dates, etc.)  XML Schemas tries to implement the design policy fo "single
lexical representation' for all datatypes; this in  effect means that the
client and server must perform localization based on transnational
semi-standard datatype values.

Does this is a negative impact on thin clients?  IMO yes.   Does this make
XML Schemas 1.0 better for backend data rather than front-end data?  IMO
yes.  The bottom line is that if you need localized datatypes, you probably
have to declare them as kinds of strings and just perform lexical validation
rather than being able to take advantage of value-space typeing.  For
example, it you want to markup currency with a $ sign, you cannot use
numbers but treat it as a string.

Cheers
Rick Jelliffe


Cheers
Rick Jelliffe


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.