CSSDocument.isAuthorizedOrigin(URL)
method.ErrorHandler.hasErrors()
now returns true if
there are I/O errors. Those errors were previously considered
transient, and therefore weren't appearing there.getTextContent()
now returns the attribute value instead of the empty string.DOMDocument.getDomConfig()
was undeprecated, and the DOMConfiguration
can be used to control the normalisation of the document.java.io.Serializable
.[3.1] DefaultEntityResolver.resolveEntity(DocumentTypeDeclaration)
is deprecated.("DOM:" means that the change applies to "Native DOM implementation").
These new behaviours mean that the new releases are not fully backwards-compatible with the latest releases from their branches, so the minor versions were bumped to 3.1, 2.2 and 1.1.
Additionally, the following are important fixes/improvements:
[Foo]
to the attribute foo="bar"
in HTML documents, but neither the XML-oriented DOM implementations in
the DOM wrapper nor the DOM4J back-end did. Now they both do, and a few
other smaller case sensitivity fixes were applied as well.inline-block
elements in DOMWriter
.whitespace
CSS property, and so does DOMWriter
serialisation (note: 1.0.9 already had this fix, and only 3.1 has configurable normalisation).*.txt text eol=crlf
*.pom text eol=lf
*.xml text eol=lf
<dependency>
<groupId>io.sf.jclf</groupId>
<artifactId>jclf</artifactId>
<version>[4.0.4,4.999]</version>
<type>jar</type>
<scope>compile</scope>
<remoteRepositories>https://css4j.github.io/maven/</remoteRepositories>
</dependency>