[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: OXR/OR Mapping Was RE: Native XML Interfaces

  • From: David Lee <dlee@calldei.com>
  • To: Uche Ogbuji <uche@ogbuji.net>
  • Date: Tue, 4 Jun 2013 02:06:56 +0000

Re: OXR/OR Mapping Was RE:  Native XML Interfaces
Now you have me even more convinced that the world is going to end soon then I previously feared.   Where was the "simple" in any of this conversation ?



Sent from my iPad (excuse the terseness) 
David A Lee


On Jun 3, 2013, at 9:54 PM, "Uche Ogbuji" <uche@ogbuji.net> wrote:

On Mon, Jun 3, 2013 at 6:22 PM, David Lee <dlee@calldei.com> wrote:

>> answer the above you are prety much guaranteed to pick an inappropriate tool.

 

> Well, most of the above doesn't seem relevant to answer in the general case, so that seems a very strange conclusion to me.

 

 

-------

 

Considering you came to the same conclusion as I did with entirely different assumptions (i.e. that uneducated users tend to pick the most complicated, or as I say, inappropriate, tool ... I find it strange that you find it strange.  

 

 

Interestingly, I find it amusing at the least that I have never heard of, or am very ignorant about the top tools you suggest !!!


I find it amusing that you feel so sure you should have heard of them.

 

And then in the same sentence of recommending things like python and LINQ refer to quirks and issues around Unicode ...


You seem a bit confused in reading what I wrote.  I mentioned quirks specifically in ElementTree, which is one of many Python libraries.  To be specific, ET decides whether to encode a given node as UTF-8 or UTF-16 as an optimization (preserving the encoding info).  I think that's a lousy deign choice, but in XML terms, it's not incorrect, nor does it affect most developers for most use cases.

I find it telling that you didn't also mention ET's quirks re: mixed content, but I'll mention that either.  ET takes a linked-list-ish approach to presenting child content.  I find that awkward for dealing with mixed content, but again it's not incorrect, and it's still a hell of a lot easier than processing mixed content in JAXP or any other Java library I've seen.

 

That scares me !


Then you should be scared of using most languages, including Java, which have Unicode quirks built in at an even deeper language.

Python 3.3 probably has the best Unicode implementation of any language, at this point.

So sure, there is plenty to scare you.  See my earlier point about not ascribing to XML considerations that are far more fundamental.

 

   Most junior to mid-level programmers I know don't understand what Unicode is enough to know if something is a quirk or not ...


Heck, most high-end programmers don't, but again, bytes (or rather characters) long before XML.  Heck go look how many Web pages out there have Unicode quirks (even if you do set aside alternate encoding systems, it's a frighteningly high number).

 

But I do agree this is not a unique problem to XML ... but it is exacerbated by the relative obscurity of XML compared to the Top Ten things

students are taught at school ... whatever those are nowadays, I dont think XML is in it , and if it is, its taught badly.


Which is *precisely* my point.

 

.. .and in any case I entirely disagree that one can make a meaningful choice about XML tooling without knowing a lot of very specialist knowledge about XML.

 

I submit for your pondering ... that you know way too much about XML to the point of not realizing how daunting it appears for those who dont.


That's possible, but I return your submission with an annotation that I've done more than my fair share of training developers on XML.  I know what we're up against.


--
Uche Ogbuji                       http://uche.ogbuji.net
Founding Partner, Zepheira        http://zepheira.com
http://wearekin.org
http://www.thenervousbreakdown.com/author/uogbuji/
http://copia.ogbuji.net
http://www.linkedin.com/in/ucheogbuji
http://twitter.com/uogbuji


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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.