<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for astradele</title>
	<atom:link href="http://blog.astradele.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.astradele.com</link>
	<description></description>
	<lastBuildDate>Thu, 21 Jan 2010 22:22:38 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Slow XPath evaluation for large XML documents in Java 1.5 by GJ</title>
		<link>http://blog.astradele.com/2006/02/24/slow-xpath-evaluation-for-large-xml-documents-in-java-15/#comment-109</link>
		<dc:creator>GJ</dc:creator>
		<pubDate>Thu, 21 Jan 2010 22:22:38 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/?p=244#comment-109</guid>
		<description>Yes, I meant Xalan.  Yes, your understanding of JAXP, Xalan, and Saxon is correct. 

If you use the Xalan API directly, you can use impelementation specific optimizations that can&#039;t be expose via the JAXP API layer. Or tell the jvm to use a different JAXP impl. Eg Saxon, which might implement Xpath eval differently. 

Sorry, it&#039;s been 4 years since I looked into this, I&#039;m going on memory.  The best solution I could come up with given my constraints at the time was the one that outlined. 

If you discover a better solution, please let me know, I&#039;d be very interested! 

</description>
		<content:encoded><![CDATA[<p>Yes, I meant Xalan.  Yes, your understanding of JAXP, Xalan, and Saxon is correct. </p>
<p>If you use the Xalan API directly, you can use impelementation specific optimizations that can&#8217;t be expose via the JAXP API layer. Or tell the jvm to use a different JAXP impl. Eg Saxon, which might implement Xpath eval differently. </p>
<p>Sorry, it&#8217;s been 4 years since I looked into this, I&#8217;m going on memory.  The best solution I could come up with given my constraints at the time was the one that outlined. </p>
<p>If you discover a better solution, please let me know, I&#8217;d be very interested!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Slow XPath evaluation for large XML documents in Java 1.5 by Osvaldo</title>
		<link>http://blog.astradele.com/2006/02/24/slow-xpath-evaluation-for-large-xml-documents-in-java-15/#comment-108</link>
		<dc:creator>Osvaldo</dc:creator>
		<pubDate>Thu, 21 Jan 2010 21:45:27 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/?p=244#comment-108</guid>
		<description>Correct me if I&#039;m wrong. JAXP is just an abstract definition, and saxon, xerces and xalan provide implementations for xml parsers, and xslt and xpath respectively.

Isn&#039;t there any other implementation out there? Cause this small document cannot be so hard to process... I see it&#039;s a big problem for the library as a whole... 

You say that I should try to use xerces library directly. But as far as I know, xerces is not an xpath evaluator, that implementation resides on xalan. Did you mean I should try using XalanApi class directly? what would be the advantage?

The strange thing is that I&#039;ve tried to use the same expression (let&#039;s say /Data/Record[x]/Field[@name=&#039;Y&#039;]/@value ) but not on different nodes variables. Instead, I give up using relative expressions and use always absolute expression (from the root node I mean). The performacen decreases dramatically with a 504kb file, for instance...</description>
		<content:encoded><![CDATA[<p>Correct me if I&#8217;m wrong. JAXP is just an abstract definition, and saxon, xerces and xalan provide implementations for xml parsers, and xslt and xpath respectively.</p>
<p>Isn&#8217;t there any other implementation out there? Cause this small document cannot be so hard to process&#8230; I see it&#8217;s a big problem for the library as a whole&#8230; </p>
<p>You say that I should try to use xerces library directly. But as far as I know, xerces is not an xpath evaluator, that implementation resides on xalan. Did you mean I should try using XalanApi class directly? what would be the advantage?</p>
<p>The strange thing is that I&#8217;ve tried to use the same expression (let&#8217;s say /Data/Record[x]/Field[@name='Y']/@value ) but not on different nodes variables. Instead, I give up using relative expressions and use always absolute expression (from the root node I mean). The performacen decreases dramatically with a 504kb file, for instance&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Slow XPath evaluation for large XML documents in Java 1.5 by GJ</title>
		<link>http://blog.astradele.com/2006/02/24/slow-xpath-evaluation-for-large-xml-documents-in-java-15/#comment-107</link>
		<dc:creator>GJ</dc:creator>
		<pubDate>Wed, 20 Jan 2010 21:53:35 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/?p=244#comment-107</guid>
		<description>Oops... I was replying by email, and it was longer than I thought... and repeated some of the stuff in the post.  I always get Xalan/Xerces mixed up.  :P</description>
		<content:encoded><![CDATA[<p>Oops&#8230; I was replying by email, and it was longer than I thought&#8230; and repeated some of the stuff in the post.  I always get Xalan/Xerces mixed up.  <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
