Re: ISSUE-10: Mapping Element and Type names

> I agree with the requirement that tools should support all mappings. I'm 

> just slightly worried that there's an issue of what can be done vs. what 
can 
> easily be done.  For example, a tool could map Chinese characters to 
their 
> Unicode number (e.g. Type_U1234_U6543), but a Chinese developer might 
decide 
> that they prefer to use ASCII XML names in preference to this.

Another option for CJK languages is to map Kanji and Hiragana to Romaji. I 
don't speak any CJK languages but I'm pretty sure that that mapping is NOT 
automatable (I'd be happy to learn otherwise); however, tool vendors could 
certainly provide mapping annotations to make it easier for the schema 
author to help the tool perform the mapping.  Granted this approach 
wouldn't necessarily apply to greek, arabic, thai or other languages but 
there's a seed of a solution in there, isn't there?

> For example, it could advise that not all XML names are 
> directly representatable in some programming languages (such as C/C++, 
SQL 
> etc), and as a result the automatically mapped names may be 
non-intuitive, 
> or additional manual configuartion may be required if names are not 
chosen 
> with with these limitations in mind.

As I mentioned in my previous message...I think one of the main purposes 
of this WG is to to provide guidence to the databinding tool builders 
about how to better support what schema authors "in the wild" are doing 
(at least that's why my organization joined!) and not to advise schema 
authors to limit themselves to what existing tools support.

pvb

Received on Thursday, 19 January 2006 21:57:26 UTC