Permalink
Commits on Mar 27, 2012
  1. Bump up code coverage to 100%

    rolfl committed Mar 27, 2012
Commits on Mar 26, 2012
  1. change the name from JDOM2 to JDOM

    rolfl committed Mar 26, 2012
Commits on Mar 22, 2012
  1. Re-jig the way that data is stored internally, and remove the need to…

    rolfl committed Mar 22, 2012
    … create 'detached' Text and CDATA instances for when data like that is formatted.
  2. Improve performance of FormatStack significantly.

    rolfl committed Mar 22, 2012
    Add tests to ensure FormatStack indenting remains correct.
Commits on Mar 21, 2012
  1. Improve the performance of the non-raw 'Walker' classes.

    rolfl committed Mar 21, 2012
    Document the Verifier.isHighSurrogate.
    Convert the anonymous classes to named classes in Format (the EscapeStrategy classes).
    (the named classes are easier to track in code-coverage and profiling)
Commits on Mar 20, 2012
  1. Faster DescendantIterator

    rolfl committed Mar 20, 2012
Commits on Mar 19, 2012
  1. Tidy up the eclipse ant task.

    rolfl committed Mar 19, 2012
Commits on Mar 17, 2012
  1. More JavaDoc cleanup

    rolfl committed Mar 17, 2012
Commits on Mar 16, 2012
Commits on Mar 15, 2012
  1. Copyright notices

    rolfl committed Mar 15, 2012
  2. Copyright tidyup

    rolfl committed Mar 15, 2012
  3. JavaDoc Tidyup

    rolfl committed Mar 15, 2012
  4. Merge concept of AndFilter and RefineFilter. AndFilter was a generic …

    rolfl committed Mar 15, 2012
    …mess, RefineFilter did 'the right thing', but And filter should have been done the way that RefineFilter was done. So, copy guts of RefineFilter to AndFilter, and delete RefineFilter. Fix up tests. Fix up JavaDoc
  5. Tidy up the Javadoc on some DOM-related code. Make the DOMBuilder Jav…

    rolfl committed Mar 15, 2012
    …adoc match the code, and also make the imports more logical.
Commits on Mar 14, 2012
  1. Fixes #69 - Documentation for the requirement to have Namespace-Aware…

    rolfl committed Mar 14, 2012
    … DOM documents as input.
  2. Ignore issues related to Attribute order in Jaxen. At least this way …

    rolfl committed Mar 14, 2012
    …the JDOM2 process will have a clean ant junit test
    
    Jaxen ignores the attribute order coming from JDOM, so the XPath results get messed up. See Jaxen issue https://jira.codehaus.org/browse/JAXEN-215
  3. Reduce visibility of additionalNamespaces from protected to package-p…

    rolfl committed Mar 14, 2012
    …rivate.
    
    Fix some Javadoc
Commits on Mar 13, 2012
  1. JavaDoc tidyup

    rolfl committed Mar 13, 2012
Commits on Mar 12, 2012
  1. Fixes #66 Attribute/DTD-default aware output processor.

    rolfl committed Mar 12, 2012
    This fix goes far beyond moving the contrib code to core. Instead, adds a new flag property to Attribute, which indicates whether that Attribute is specified as part of the XML input document, or added as a default by the DTD. The JDOM SAXHandler respects the Attributes2.isSpecified() methods to in turn set the isSPecified flag on the Attribute. The end result is that the isSpecified flag is set on all Attributes unless the attribute was provided by a Default (or 'fixed') DTD declaration.
    
    I cannot find comprehensive documentation for it, but it appears that at least the Xerces parser also manages the specified flag for XML Schema derived attributes.
    
    Additionally, the Format class has been extended to support the isSpecifiedAttributesOnly() method. This can be set with Format.setSpecifiedAttributesOnly(boolean).
    
    All the Outputters (XML, SAX, StAX, DOM) honour the Format.isSpecifiedAttributesOnly() flag. As a consequence, you can now easily exclude those attributes which are created only by DTD (XML Schema) devices when outputting your XML.
    
    The Attribute class itself has been modified to set the specified flag to true if any change is direclty made to the Attribute. The logic being that, if you change the attribute, then it is not what was set in the DTD, and it is now 'specified'.
Commits on Mar 8, 2012
Commits on Mar 1, 2012
  1. Fixes #67 - TextHelper to core

    rolfl committed Mar 1, 2012
Commits on Feb 29, 2012
  1. Issue #64 - contrib to core: Location-information for SAX Parser.

    rolfl committed Feb 29, 2012
    Add support for location information to all the JDOMFactories. This
    creates a new compatibility issue with JDOM 1.x (you need to add 'int line, int col, ' to all the JDMFcatory methods that create JDOM Content instances)
Commits on Feb 28, 2012
  1. More JavaDoc fixes

    rolfl committed Feb 28, 2012