OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] Here's how to process XML documents written in German

On Wed, 2013-01-30 at 21:54 +0000, Costello, Roger L. wrote:
> Tony Graham wrote:
> > if you can't trust the encoding or normalization 
> > form of the XML that you receive, then normalise 
> > it as soon as you receive it so all of your XML is 
> > consistent
> Is that a Best Practice?

I'm with Tommie here - don't encourage people to use a "Best Practice"
formula as an alternative to understanding the needs of their situation.

There may be reasons to leave as much of the document untouched as
possible for as long as possible, for example.


PS: in dealing with data from multiple languages and cultures,
(1) there should be xml:lang attributes to indicate language;
(2) you will generally also be dealing with different conventions for
    numbers - 1,203.45 vs. 1.204,45 or 1 20445
    which would greatly affect your example.

Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS