OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Adam Bosworth Article - what does "direct access" mean?

[ Lists Home | Date Index | Thread Index ]

Murali Mani wrote:

> Hello, I did not know people did not like XPath expressions. can you tell
> me some important reasons why. I will argue why I like Xpath expressions..


Not that I disagree with you (I like XPath well enough), but you did 
ask:

"XPaths are essentially untyped keys into a document structure. In 
Java or C#, using them circumvents the langauge's inbuilt type 
system making code harder to read and debug. We would do better to 
represent that structure as actual objects in the language, thus 
utilizing the language's inbuilt dispatch and type systems rather 
than reinventing (probably badly) our own frameworks. Leveraging the 
language will lead to more comprehensible and robust code which 
correlates directly to business value, something not guaranteed when 
developers are spending unneccesary time writing plumbing instead of 
applications."

Then again, if Adam Bosworth was concerned about not using SQL 
strings inside Java, would we object?

Bill de hÓra






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS