<?xml version="1.0" encoding="UTF-8"?>
<essay xml:lang="en" version="lillet" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:gal="http://norman.walsh.name/rdf/gallery#">
<info>
    
    
    
    
    
    
    
    
    
    
<title>JAXP 1.4</title><biblioid class="uri">http://norman.walsh.name/2005/07/26/jaxp14</biblioid>
<volumenum>8</volumenum>
<issuenum>106</issuenum>
<pubdate>2005-07-26T11:01:25-04:00</pubdate>
<date>$Date: 2005-09-11 10:27:02 -0400 (Sun, 11 Sep 2005) $</date>
<author>
      <personname>
<firstname>Norman</firstname>
	<surname>Walsh</surname>
</personname>
    </author>
<copyright>
      <year>2005</year>
      <holder>Norman Walsh</holder>
    </copyright>
<abstract>
<para>If you're into Java and XML, you've heard of JAXP, the Java API for
XML Processing. We're working on JAXP 1.4, which is good to know, but more
importantly, you can follow along at home if you're so inclined.</para>
</abstract>
<dc:subject rdf:resource="http://norman.walsh.name/knows/taxonomy#GlassFish"/>
<dc:subject rdf:resource="http://norman.walsh.name/knows/taxonomy#Java"/>
<dc:subject rdf:resource="http://norman.walsh.name/knows/taxonomy#XML"/>
</info>

<para xml:id="p1">As the
<link xlink:href="http://www.jcp.org/en/procedures/jcp2#1.1">Specification
Lead</link>,
I should have posted this earlier (weeks earlier, in fact). Usually,
when I fall this far behind, I just give up but (a) this is really
cool and (b) I expect I reach a slightly different audience than the
folks who've mentioned it before.</para>

<para xml:id="p2">If you're into <trademark>Java</trademark> and XML, you've no
doubt heard of JAXP, the <citetitle>Java API for XML
Processing</citetitle>. For the next release of Java, we're planning
to publish JAXP 1.4, a maintenance release of JAXP 1.3 (<link xlink:href="http://www.jcp.org/en/jsr/detail?id=206">JSR 206</link>).
</para>

<para xml:id="p3">The big technical change in 1.4 is the addition of the
<code>javax.xml.stream.*</code> packages<footnote>
      <para xml:id="p4">Like JAXP 1.3
before it, the schedule for JAXP 1.4 is highly constrained by the schedules
of shipping products. We're a small tributary into a larger stream of
code and we will deliver on time <emphasis>or else</emphasis>. Combine
that with the fact that the
<link xlink:href="http://www.w3.org/TR/xpath20/">XPath 2.0</link> and
<link xlink:href="http://www.w3.org/TR/xslt20/">XSLT 2.0</link> work hasn't even
gone to
<link xlink:href="http://www.w3.org/2003/06/Process-20030618/tr.html#cfi">Candidate Recommendation</link> yet and you can see why we aren't trying to do more
in 1.4. But we'll get there as soon as possible.</para>
    </footnote>
from StAX, the
<citetitle>Streaming API for XML</citetitle>
(<link xlink:href="http://jcp.org/en/jsr/detail?id=173">JSR 173</link>).
This means the platform will now support validation or transformation
of documents that you're accessing with the streaming API. (Having support
in the platform means it'll work interoperably on any system running
the latest Java: you won't have to install StAX yourself.)</para>

<para xml:id="p5">What I find even more exciting than the technical changes are
the process changes. Using the resources of
<link xlink:href="http://www.java.net/">java.net</link>, we've been able
to make all of our development work more transparent. Unlike previous
releases where the development team had an internal source code
repository from which we published snapshots, for JAXP 1.4,
<emphasis>the</emphasis> development repository is on java.net. Feel
like checking out up-to-the minute sources from our reference
implementation, go for it! (If you still want compiled snapshots,
we've got those too.)</para>

<para xml:id="p6">To get to the repository, navigate to the
<link xlink:href="http://jaxp.dev.java.net/">jaxp Project</link> and follow
the links under
<citetitle>
      <link xlink:href="https://jaxp.dev.java.net/#cvs">Sources</link>
    </citetitle>
to join the jaxp-sources Project. You have to follow a click-through
license to get there. Once you're an observer in jaxp-sources, you can
checkout the sources and follow along at home.</para>

</essay>

