Skip to content
Commits on Aug 26, 2012
  1. @rolfl

    Fixes #89 - Add specific JAXP-factory mechanisms to JAXP-based pillar…

    rolfl committed
    …s for SAX parsing.
    
    Also update the sax-based parsing descriptions/documentation.
Commits on Aug 11, 2012
  1. @rolfl

    Fixes #88 - broken serialization of subclasses of core JDOM classes (…

    rolfl committed
    …like custom subclasses of Element).
    
    Upgrade the serialiazion test-code to report exceptions better.
    Add a test-case that checks that all subclasses are serializable.
Commits on Jun 9, 2012
  1. @rolfl

    Fixes #84 - Message for IllegalArgumentException in re-declare of def…

    rolfl committed
    …ault namespace for XPath expression.
Commits on May 12, 2012
  1. @rolfl

    Fixes #82 - multiple active FilterLists need to resynchronize on remo…

    rolfl committed
    …ve()
    
    This fix changes the tracking of dataModCount so that it is updated on remove(). Additionally, it centralizes the processing to b consistent with the size-mod-count (and data-mod-count).
Commits on Apr 23, 2012
  1. @rolfl

    Fixes #75 - Android Compatibility.

    rolfl committed
    See https://github.com/hunterhacker/jdom/wiki/JDOM2-and-Android
    Implements some workarounds for AssertionError.
    adds a new layer in the XMLReader*Factory that makes it much easier to implement a new custom Reader factory.
Commits on Apr 22, 2012
  1. @rolfl

    Issue #75 - change Resource paths to be absolute.

    rolfl committed
    change the android tests to use simpler process (no longer needs to use android Assets), instead us this.getClass().getResource(...). The same mechanism now works in Java an Android.
Commits on Apr 19, 2012
  1. @rolfl

    Issue #75 - Create URLs at runtime, not class construct time. This fi…

    rolfl committed
    …xes a broken context in Android where the base directory is not populated correctly.
  2. @rolfl

    Issue #75 - Android's e.printStackTrace() is not useful because there…

    rolfl committed
    … is no accessible STDERR (or STDOUT). Instead 'chain' the problem.
  3. @rolfl

    Issue #75 - Replace JUnit 'Assume' directives with plain code to hand…

    rolfl committed
    …le these conditions in Android test layer
  4. @rolfl

    Issue #75 - Set the android File resource path to absolute which make…

    rolfl committed
    …s more URLs resolve
  5. @rolfl

    Issue #75 - Android

    rolfl committed
    Update the build process to include the 'android' target which loads an Android main and test project with the JDOM unit tests. See https://github.com/hunterhacker/jdom/wiki/JDOM2-and-Android
  6. @rolfl

    Issue #75 - Android.

    rolfl committed
    Use new FidoFetch mechanism for getting test resources. This 'abstracts' the process so that it can be different between regular Java testing and Android testing.
Commits on Apr 11, 2012
  1. @rolfl

    Fixes #72 - whitespace separated content causes 'Compact' XMLOutputte…

    rolfl committed
    …r to ignore content after the whitespace.
  2. @rolfl

    Copy test resources to be part of the junit jar. No real point in hav…

    rolfl committed
    …ing the unit test jar unless it has the working test resources. References to resources are now done through ClassLoader.getSystemResource*
Commits on Apr 7, 2012
  1. @rolfl
Commits on Apr 5, 2012
  1. @rolfl
Commits on Apr 4, 2012
  1. @rolfl

    Move classes from util to internal

    rolfl committed
    StringBin goes to org.jdom2 (but becomes package-private).
  2. @rolfl
Commits on Apr 3, 2012
  1. @rolfl
Commits on Apr 2, 2012
  1. @rolfl

    Fix some API-related issues with the XPath API.

    rolfl committed
    - changed Namespace-related methods to use Namespace instead of a String URI
    - added methods to get/set variables based on the 'qname' of the variable (symmetric with the XPathFactory.compile)
    - added method to query all the Namespaces on an XPathExpression
  2. @rolfl
Commits on Apr 1, 2012
  1. @rolfl

    Revert changes that replaced getExpandEntities with isExpandEntities.

    rolfl committed
    This commit un-deprecates the get* Versions of the methods, and removes the is* versions
Commits on Mar 27, 2012
  1. @rolfl

    Bump up code coverage to 100%

    rolfl committed
  2. @rolfl
  3. @rolfl
Commits on Mar 26, 2012
  1. @rolfl
Commits on Mar 22, 2012
  1. @rolfl
  2. @rolfl

    Improve performance of FormatStack significantly.

    rolfl committed
    Add tests to ensure FormatStack indenting remains correct.
Commits on Mar 20, 2012
  1. @rolfl
Commits on Mar 16, 2012
  1. @rolfl
  2. @rolfl
Commits on Mar 15, 2012
  1. @rolfl

    Merge concept of AndFilter and RefineFilter. AndFilter was a generic …

    rolfl committed
    …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
Commits on Mar 14, 2012
  1. @rolfl

    Ignore issues related to Attribute order in Jaxen. At least this way …

    rolfl committed
    …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
  2. @rolfl
Commits on Mar 12, 2012
  1. @rolfl

    Fixes #66 Attribute/DTD-default aware output processor.

    rolfl committed
    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'.
Something went wrong with that request. Please try again.