Skip to content

Commit

Permalink
version 1.3.7 (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo committed Mar 28, 2021
1 parent 4f4332f commit eefd834
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 30 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ XOM is fairly unique in that it is a dual streaming/tree-based API. Individual n

XOM is very memory efficient. If you read an entire document into memory, XOM uses as little memory as possible. More importantly, XOM allows you to filter documents as they're built so you don't have to build the parts of the tree you aren't interested in. For instance, you can skip building text nodes that only represent boundary white space, if such white space is not significant in your application. You can even process a document piece by piece and throw away each piece when you're done with it. XOM has been used to process documents that are gigabytes in size.

The current version of XOM is 1.3.6 and is backwards compatible with 1.2, 1.1 and 1.0. You should not need to recompile any code to upgrade to 1.3.6. XOM is believed to be quite stable and robust. Future releases should be backwards compatible with the 1.0 API for the foreseeable future.
The current version of XOM is 1.3.7 and is backwards compatible with 1.2, 1.1 and 1.0. You should not need to recompile any code to upgrade to 1.3.7. XOM is believed to be quite stable and robust. Future releases should be backwards compatible with the 1.0 API for the foreseeable future.

## Adding XOM to your build

Expand All @@ -20,15 +20,15 @@ XOM's Maven group ID is `xom` and its artifact ID is `xom`. To add a dependency
<dependency>
<groupId>xom</groupId>
<artifactId>xom</artifactId>
<version>1.3.6</version>
<version>1.3.7</version>
</dependency>
```

To add a dependency using Gradle:

```gradle
dependencies {
compile 'xom:xom:1.3.6'
compile 'xom:xom:1.3.7'
}
```

Expand Down
8 changes: 4 additions & 4 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ XOM is a library. By itself, it doesn't do much of anything. It exists
only to be used by other programs. It requires Java 1.6 or later.

To install it you'll need to place the XOM JAR archive somewhere in your
CLASSPATH. This archive is the file named something like xom-1.3.6.jar.
CLASSPATH. This archive is the file named something like xom-1.3.7.jar.
(The version number may have changed if I've forgotten
to update this document.) You can either put it in your jre/lib/ext
directory, add xom-1.3.6.jar to your CLASSPATH environment variable, or
directory, add xom-1.3.7.jar to your CLASSPATH environment variable, or
use the -classpath option when invoking javac and java.

To check your download you can run one of the sample programs found in
Expand All @@ -14,14 +14,14 @@ class formats an XML document by inserting and removing white space
around element boundaries. You can run it from the
command line like this:

$ java -classpath xom-samples.jar:xom-1.3.6.jar nu.xom.samples.PrettyPrinter filename.xml
$ java -classpath xom-samples.jar:xom-1.3.7.jar nu.xom.samples.PrettyPrinter filename.xml

XOM's supporting libraries including xalan.jar, xercesImpl.jar, and xml-apis.jar,
are found in the lib directory. The versions shipped with XOM
are quite a bit faster and less buggy than the ones bundled with the JDK,
so you may well want to use them. For example,

$ java -classpath xom-samples.jar:xom-1.3.6.jar:lib/xml-apis.jar:lib/xercesImpl.jar:lib/xalan.jar nu.xom.samples.PrettyPrinter filename.xml
$ java -classpath xom-samples.jar:xom-1.3.7.jar:lib/xml-apis.jar:lib/xercesImpl.jar:lib/xalan.jar nu.xom.samples.PrettyPrinter filename.xml

You could leave out xalan.jar if you don't use any of the classes in
nu.xom.xslt. junit.jar is only used for testing, and is
Expand Down
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ subject line. The XOM home page is http://www.xom.nu/
<property name="name" value="xom"/>
<property name="majorversion" value="1"/>
<property name="minorversion" value="3"/>
<property name="microversion" value="6"/>
<property name="microversion" value="7"/>
<!-- put a1, b2 etc. here in non-releases -->
<property name="versionqualifier" value=""/>
<property name="version" value="${majorversion}.${minorversion}.${microversion}${versionqualifier}"/>
Expand Down
27 changes: 20 additions & 7 deletions website/history.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,19 @@ <h1>XOM Release Notes</h1>
</p>


<h2>1.3.7</h2>

<p>More purely internal changes:</p>

<ul>
<li>Remove direct dependency on xml-apis:xml-apis artifact since these classes are
now available in the core runtime.</li>
<li>Eliminate usage of <code>com.sun</code> classes to make XOM compatible with JDK 16.</li>
<li>Replace remaining usages of <code>StringBuffer</code>
with <code>StringBuilder</code> to slightly improve performance.</li>
<ul>


<h2>1.3.6</h2>

<p>Some purely internal changes, mostly replacing <code>StringBuffer</code>
Expand Down Expand Up @@ -2078,12 +2091,12 @@ <h2 >1.0d2</h2>
</ul>

<hr />
<div align="center">[ <a href="http://www.cafeconleche.org">Cafe con Leche</a> |
<a href="http://www.cafeaulait.org">Cafe au Lait</a> ]</div>
<div align="center">[ <a href="https://www.cafeconleche.org">Cafe con Leche</a> |
<a href="https://www.cafeaulait.org">Cafe au Lait</a> ]</div>
<hr />
<p>Copyright 2002-2005, 2009, 2013, 2018, 2019, 2020 <a href="https://www.elharo.com/">Elliotte Rusty Harold</a><br />
<p>Copyright 2002-2005, 2009, 2013, 2018, 2019, 2020, 2021 <a href="https://www.elharo.com/">Elliotte Rusty Harold</a><br />
<a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;elharo%40ibiblio%2Eorg">elharo@ibiblio.org</a><br />
Last Modified April 25, 2020
Last Modified March 28, 2021
</p>
</div>
<div id="Navbar">
Expand Down Expand Up @@ -2112,9 +2125,9 @@ <h3>Downloads</h3>

<ul>
<li><a href="https://github.com/elharo/xom/">Source Repository</a></li>
<li><a href="https://www.cafeconleche.org/XOM/xom-1.3.6.jar">Minimal JAR file</a></li>
<li><a href="https://www.cafeconleche.org/XOM/xom-1.3.6.zip">Complete distribution, zip format</a> (source code, API documentation, unit tests, sample programs, third party jars)</li>
<li><a href="https://www.cafeconleche.org/XOM/xom-1.3.6.tar.gz">Complete distribution, tar.gz format</a> (source code, API documentation, unit tests, sample programs, third party jars)</li>
<li><a href="https://www.cafeconleche.org/XOM/xom-1.3.7.jar">Minimal JAR file</a></li>
<li><a href="https://www.cafeconleche.org/XOM/xom-1.3.7.zip">Complete distribution, zip format</a> (source code, API documentation, unit tests, sample programs, third party jars)</li>
<li><a href="https://www.cafeconleche.org/XOM/xom-1.3.7.tar.gz">Complete distribution, tar.gz format</a> (source code, API documentation, unit tests, sample programs, third party jars)</li>
</ul>


Expand Down
30 changes: 15 additions & 15 deletions website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ <h1>XOM</h1>
<li><a href="apidocs/">JavaDoc</a></li>
<li><a href="whatswrong/whatswrong.html">What's Wrong with XML APIs (and how to fix them)</a></li>
<li><a href="faq.xhtml">FAQ</a></li>
<li><a href="https://www.ibiblio.org/xml/XOM/xom-1.3.6.jar">Jar file</a> (Core packages only)</li>
<li><a href="https://www.ibiblio.org/xml/XOM/xom-1.3.6.zip">Complete zip</a> (includes source code, prebuilt jars, API documentation, unit tests, sample programs, third party jars)</li>
<li><a href="https://www.ibiblio.org/xml/XOM/xom-1.3.6.tar.gz">Complete tar.gz</a> (includes source code, prebuilt jars, API documentation, unit tests, sample programs, third party jars)</li>
<li><a href="https://www.ibiblio.org/xml/XOM/xom-1.3.6-src.zip">Source code zip</a> (includes source code, unit tests, sample programs, third party jars)</li>
<li><a href="https://www.ibiblio.org/xml/XOM/xom-1.3.6-src.tar.gz">Source code tar.gz</a> (includes source code, API documentation, unit tests, sample programs, third party jars)</li>
<li><a href="https://www.ibiblio.org/xml/XOM/xom-1.3.7.jar">Jar file</a> (Core packages only)</li>
<li><a href="https://www.ibiblio.org/xml/XOM/xom-1.3.7.zip">Complete zip</a> (includes source code, prebuilt jars, API documentation, unit tests, sample programs, third party jars)</li>
<li><a href="https://www.ibiblio.org/xml/XOM/xom-1.3.7.tar.gz">Complete tar.gz</a> (includes source code, prebuilt jars, API documentation, unit tests, sample programs, third party jars)</li>
<li><a href="https://www.ibiblio.org/xml/XOM/xom-1.3.7-src.zip">Source code zip</a> (includes source code, unit tests, sample programs, third party jars)</li>
<li><a href="https://www.ibiblio.org/xml/XOM/xom-1.3.7-src.tar.gz">Source code tar.gz</a> (includes source code, API documentation, unit tests, sample programs, third party jars)</li>
<li><a href="https://lists.ibiblio.org/mailman/listinfo/xom-interest">xom-interest mailing list</a></li>
<li><a href="https://github.com/elharo/xom/">Source Repository</a></li>
</ul>
Expand Down Expand Up @@ -87,7 +87,7 @@ <h1>XOM</h1>
<pre><code>&lt;dependency&gt;
&lt;groupId&gt;xom&lt;/groupId&gt;
&lt;artifactId&gt;xom&lt;/artifactId&gt;
&lt;version&gt;1.3.6&lt;/version&gt;
&lt;version&gt;1.3.7&lt;/version&gt;
&lt;/dependency&gt;</code></pre>

<p>
Expand All @@ -96,7 +96,7 @@ <h1>XOM</h1>

<pre><code>gradle
dependencies {
compile 'xom:xom:1.3.6'
compile 'xom:xom:1.3.7'
}</code></pre>

<p>
Expand Down Expand Up @@ -125,8 +125,8 @@ <h1>XOM</h1>
</p>

<p>
The current version of XOM is 1.3.6 and is backwards compatible with 1.2, 1.1 and 1.0.
You should not need to recompile any code to upgrade to 1.3.6.
The current version of XOM is 1.3.7 and is backwards compatible with 1.2, 1.1 and 1.0.
You should not need to recompile any code to upgrade to 1.3.7.
XOM is believed to be quite stable and robust.
Future releases should be backwards compatible with the 1.0 API for the foreseeable future.
</p>
Expand All @@ -149,12 +149,12 @@ <h1>XOM</h1>
</p>

<hr />
<div align="center">[ <a href="https://cafe.elharo.com/">The Cafes</a> | <a href="http://www.cafeconleche.org">Cafe con Leche</a> |
<a href="http://www.cafeaulait.org">Cafe au Lait</a> ]</div>
<div align="center">[ <a href="https://cafe.elharo.com/">The Cafes</a> | <a href="https://www.cafeconleche.org">Cafe con Leche</a> |
<a href="https://www.cafeaulait.org">Cafe au Lait</a> ]</div>
<hr />
<p>Copyright 2002-2021 <a href="https://www.elharo.com/">Elliotte Rusty Harold</a><br />
<a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;elharo%40ibiblio%2Eorg">elharo@ibiblio.org</a><br />
Last Modified February 27, 2021
Last Modified March 28, 2021
</p>
</div>
<div id="Navbar">
Expand Down Expand Up @@ -183,9 +183,9 @@ <h3>Downloads</h3>

<ul>
<li><a href="https://github.com/elharo/xom/">Source Repository</a></li>
<li><a href="https://www.ibiblio.org/xml/XOM/xom-1.3.6.jar">Minimal JAR file</a></li>
<li><a href="https://www.ibiblio.org/xml/XOM/xom-1.3.6.zip">Complete distribution, zip format</a> (source code, API documentation, unit tests, sample programs, third party jars)</li>
<li><a href="https://www.ibiblio.org/xml/XOM/xom-1.3.6.tar.gz">Complete distribution, tar.gz format</a> (source code, API documentation, unit tests, sample programs, third party jars)</li>
<li><a href="https://www.ibiblio.org/xml/XOM/xom-1.3.7.jar">Minimal JAR file</a></li>
<li><a href="https://www.ibiblio.org/xml/XOM/xom-1.3.7.zip">Complete distribution, zip format</a> (source code, API documentation, unit tests, sample programs, third party jars)</li>
<li><a href="https://www.ibiblio.org/xml/XOM/xom-1.3.7.tar.gz">Complete distribution, tar.gz format</a> (source code, API documentation, unit tests, sample programs, third party jars)</li>
</ul>


Expand Down

0 comments on commit eefd834

Please sign in to comment.