ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xml-dev
xml-dev
[xml-dev] Separation of Concerns (was Re: [xml-dev] The XML 1.1 Candidate Recommendation is published)
by Rick Jelliffe other posts by this author
Oct 16 2002 2:26PM messages near this date
Re: [xml-dev] The XML 1.1 Candidate Recommendation is published | Re: [xml-dev] The XML 1.1 Candidate Recommendation is published
From: "Karl Waclawek" <karl@[...].net> 

>  I am sure there will be (or are) generic libraries for that kind of
>  Unicode processing. To me this looks as if there is no proper
>  "separation of concerns", i.e. an XML processor should not concern
>  itself with the issue of normalization.

Two comments

 1) Character, encoding and normalization issues are simply too
  hard for programmers to do.  XML provides the only real
  gateway where these things can be handled transparently,
  to shield the programmer from having to be aware of them,
  (to a great extent.)    It is a spurious "separation of concerns"
  to rely on layers that don't exist, IYSWIM.

 2) When I originally added normalization to opening XML
   files for a product, I found it slowed things down a lot
  (more than transcoding.)  But I soon found that just by
   adding a small test to see if my data was all < U+300
  (and therefore I didn't need to use the bulkier normalization
   routines) it becomes insignificant for most Western documents.
   So even though checking for normalization may add 
   slight complexity to parsers, it may not have any significant
   performance impact, except on documents containing characters
   where normalization may be important. 

Cheers
Rick Jelliffe

-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org> 

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl> 
Thread:
John Cowan
John Cowan
Rick Jelliffe
John Cowan
Rick Jelliffe
Rick Jelliffe
Rick Jelliffe
Rick Jelliffe
Richard Tobin
Tim Bray
Richard Tobin
Tim Bray
Richard Tobin
John Cowan
G. Ken Holman
John Cowan
Elliotte Rusty Harold
Amelia A Lewis
John Cowan
Richard Tobin
John Cowan
Amelia A Lewis
John Cowan
John Cowan
Rick Jelliffe
Karl Waclawek
Karl Waclawek
Karl Waclawek
Elliotte Rusty Harold
John Cowan
Jeni Tennison
John Cowan
Karl Waclawek
Elliotte Rusty Harold
Elliotte Rusty Harold
Elliotte Rusty Harold
Daniel Veillard
Elliotte Rusty Harold
John Cowan
David Carlisle
John Cowan
David Megginson
Tim Bray
John Cowan
Daniel Veillard
Elliotte Rusty Harold
Elliotte Rusty Harold
Elliotte Rusty Harold
Elliotte Rusty Harold

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved