Permalink
Commits on Apr 23, 2012
  1. Fixes #75 - Android Compatibility.

    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.
    rolfl committed Apr 23, 2012
Commits on Apr 22, 2012
  1. Issue #75 - change Resource paths to be absolute.

    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.
    rolfl committed Apr 22, 2012
Commits on Apr 20, 2012
Commits on Apr 19, 2012
  1. Issue #75 - Create URLs at runtime, not class construct time. This fi…

    …xes a broken context in Android where the base directory is not populated correctly.
    rolfl committed Apr 19, 2012
  2. Issue #75 - Android's e.printStackTrace() is not useful because there…

    … is no accessible STDERR (or STDOUT). Instead 'chain' the problem.
    rolfl committed Apr 19, 2012
  3. Issue #75 - Replace JUnit 'Assume' directives with plain code to hand…

    …le these conditions in Android test layer
    rolfl committed Apr 19, 2012
  4. Issue #75 - Set the android File resource path to absolute which make…

    …s more URLs resolve
    rolfl committed Apr 19, 2012
  5. Fixes #73 - DOM getElementsByTagName() was returning 'self' as well.

    This was broken in getElementsByTagNameNS() too.
    This is resolved. Also the '*' concept has been added to getElementsByTagName().
    This must have been 'over-thought' when I put it together. Not sure why the code was going out of the way to add in the 'self' element.
    rolfl committed Apr 19, 2012
  6. Issue #75 - Android

    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
    rolfl committed Apr 19, 2012
  7. Issue #75 - Android.

    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.
    rolfl committed Apr 19, 2012
  8. Issue #75 - Android support.

    The class-build order appears to be subtly different for Android, which, in this enum, causes the items to become available at a different time (compated to regular Java). By restructring the 'DEFAULT' enum build process we end up with a better solution for both regular Java and Android.
    rolfl committed Apr 19, 2012
  9. Issue #75 - Android support

    Android does not implement the (mandatory) XMLSchema (XSD) specification. This is 'broken', and it throws IllegalArgumentException.
    This fix catches the IllegalArgumentException which means that the XMLReaders enum is able to initialize. (without this fix, the entire enum crashes, and any external references throw ClassNotFoundErrors in Android).
    rolfl committed Apr 19, 2012
Commits on Apr 11, 2012
  1. Fixes #72 - whitespace separated content causes 'Compact' XMLOutputte…

    …r to ignore content after the whitespace.
    rolfl committed Apr 11, 2012
  2. JNode's compareDocumentPosition() is actually used by Saxon, and, in …

    …it's current condition it causes a stack overflow. Make it actually work.
    rolfl committed Apr 11, 2012
  3. Copy test resources to be part of the junit jar. No real point in hav…

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

    rolfl committed Apr 7, 2012
Commits on Apr 6, 2012
Commits on Apr 5, 2012
  1. remove info.xml and update jdom-info.xml.

    The info.xml is 'documented' as being 'renamed' to jdom-info.xml, but
    it is still there.
    rolfl committed Apr 5, 2012
  2. Update Package to contain LICENSE.txt and README.txt

    Convert them to 'DOS' format end-of-line.
    Update copyright to 2012
    Update README.txt content
    rolfl committed Apr 5, 2012
Commits on Apr 4, 2012
  1. Move classes from util to internal

    StringBin goes to org.jdom2 (but becomes package-private).
    rolfl committed Apr 4, 2012
Commits on Apr 3, 2012
Commits on Apr 2, 2012
  1. Remove stale code comments.

    rolfl committed Apr 2, 2012
  2. Javadoc fixes

    rolfl committed Apr 2, 2012
  3. Fix some API-related issues with the XPath API.

    - 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
    rolfl committed Apr 2, 2012
  4. Javadoc typo fixes.

    committed Apr 2, 2012
Commits on Apr 1, 2012
  1. Revert changes that replaced getExpandEntities with isExpandEntities.

    This commit un-deprecates the get* Versions of the methods, and removes the is* versions
    rolfl committed Apr 1, 2012
  2. More Javadoc fixes

    rolfl committed Apr 1, 2012