RE: [xml-dev] Here's how to process XML documents written in German

From
Liam R E Quin <>
To
"Costello, Roger L." <>
Date
2013-01-30T22:29:43Z
ID
<>
Thread
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.

Liam

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 204·45
    which would greatly affect your example.

Liam
-- 
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