[Home] [By Thread] [By Date] [Recent Entries]

  • From: Liam R E Quin <liam@w...>
  • To: "Costello, Roger L." <costello@m...>
  • 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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member