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-Awar…

    rolfl committed Mar 14, 2012
    …e 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
  3. Reduce visibility of additionalNamespaces from protected to package-p…

    rolfl committed Mar 14, 2012
    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
  2. Fixes #68 - ".." XPath does not work for Attributes.

    rolfl committed Feb 28, 2012
    Also move XPathHelper from contrib to core. Include battery of tests.
Commits on Feb 26, 2012
Commits on Feb 23, 2012
  1. Fix Typo

    rolfl committed Feb 23, 2012
  2. Fixes #65 : Add sort logic to Element (and ContentList).

    rolfl committed Feb 23, 2012
    Move sorting from Contrib - this is not a straight port, rather, it is the implementation of the same core functionality, but using all the nice generics tricks (and some not-so-nice ones).
Commits on Feb 18, 2012
Commits on Feb 17, 2012
  1. Tidy up maven processes

    rolfl committed Feb 17, 2012
Commits on Feb 15, 2012
Commits on Feb 14, 2012
  1. Make samples build after contrib

    rolfl committed Feb 14, 2012
    Remove redundant JavaDoc
  2. Tidy up build messages.

    rolfl committed Feb 14, 2012
    Deprecation in junit code - still produces javac deprecation message.
    Somehow contrib code 'schema' was never included in my eclipse path, it was never 'generified'. This is now resolved.
  3. Fixes #47 - serialization.

    rolfl committed Feb 14, 2012
    Also Fix FindBugs issues - some serialization warnings corrected.
  4. Coverage improvement. Found bug in ArrayCopy.copyOfRange.

    rolfl committed Feb 14, 2012
    Simplified NamespaceStack by joining duplicate code.