[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
- From: Liam R E Quin <liam@w3.org>
- To: "Costello, Roger L." <costello@mitre.org>
- Date: Wed, 30 Jan 2013 17:29:43 -0500
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
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]