atom feed5 messages in org.apache.xml.commons-devRe: Remaining work for JAXP 1.3 APIs
FromSent OnAttachments
Neeraj BajajJun 6, 2005 2:22 am 
Michael GlavassevichJun 6, 2005 7:39 am 
Michael GlavassevichJun 16, 2005 9:30 pm 
Morris KwanJun 20, 2005 11:33 am 
Nancy RicksonJun 20, 2005 12:07 pm 
Subject:Re: Remaining work for JAXP 1.3 APIs
From:Michael Glavassevich (mrgl@ca.ibm.com)
Date:Jun 6, 2005 7:39:55 am
List:org.apache.xml.commons-dev

Neeraj Bajaj <Neer@Sun.COM> wrote on 06/06/2005 05:22:42 AM:

Michael Glavassevich wrote:

A diff [4] between the latest copies on the main branch and tck-jaxp-1_2_0 shows some other differences, most notably how the jaxp.properties file is cached. The code on the main branch will read and cache the jaxp.properties file once whereas on the tck-jaxp-1_2_0 branch it will reload it if the jaxp.properties file was modified since it was read (which to me appears to be a more desirable behaviour).

Former is the correct behavior. As per the spec. jaxp.properties should be read only once. http://java.sun.com/j2se/1.5. 0/docs/api/javax/xml/parsers/SAXParserFactory.html#newInstance()

Interesting. The previous version of the spec didn't have this statement [1] appearently giving implementations the freedom to choose their own caching strategy.

[1]
http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/parsers/SAXParserFactory.html#newInstance()

- Neeraj