Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Nov 8, 2012
  1. @rolfl
Commits on Oct 30, 2012
  1. @rolfl

    Fixes #97 - upgrade to Jaxen 1.1.4

    rolfl authored
    Had to ignore some tests because there's some regressions in 1.1.4, like union expressions do not necessarily return data in document order any more.
Commits on Oct 28, 2012
  1. @rolfl
Commits on Sep 27, 2012
  1. @rolfl

    Fixes #94 - Gives a better Stack trace (includes underlying cause) if…

    rolfl authored
    … a singleton has failed to intialize
  2. @rolfl

    Merge pull request #94 from stefanbirkner/oldxerces

    rolfl authored
    Handle UnsupportedOperationException when creating XSDVALIDATING.
  3. @stefanbirkner

    Handle UnsupportedOperationException when creating XSDVALIDATING.

    stefanbirkner authored
    The SAXParserFactory throws an UnsupportedOperationException when setSchema
    is called. Therefore every factory throws this exception unless it overrides
    setSchema. A popular example is Apache Xerces SAXParserFactoryImpl before
    version 2.7.0.
Commits on Sep 12, 2012
  1. @rolfl

    Issue #93 - System.getProperty() not accessible in Applets.

    rolfl authored
    Make access to this process a checked system.
Commits on Sep 9, 2012
  1. @rolfl

    Remove unused import

    rolfl authored
  2. @rolfl

    Fixes #87 - Maven artifact now is jdom2

    rolfl authored
    Welcome to the onslaught of fire&brimstone ....
  3. @rolfl
  4. @rolfl

    Issue #91 - AttributeList double-check of duplicate fix....

    rolfl authored
    The fix for this check results in some checks being done in a few places, and not all of these places were covered in the test-harness, resulting in uncovered code. This commit ensures that all places that check attributes now have appropriate test cases.
  5. @rolfl

    Fix copy/paste/typo in message

    rolfl authored
  6. @rolfl

    Issue #92 - Fix off-by-one bug introduced in character verification.

    rolfl authored
    The code will now verify the second character in a name.
    Additionally, the error messages for broken names has been improved to indicate what both the broken name and character are, instead of just the character.
    Also, change the checkNamespacePrefix code to leverage the common code from checkElementName and checkAttributeName.
    
    Also improve the test harness to cover test cases that are now more complicated because the name-check code is in two places now instead of one....
  7. @rolfl

    Remove ill-conceived +2 logic for ensureCapacity which does not in fa…

    rolfl authored
    …ct ensure even byte allocations.... what was I thinking.
Commits on Sep 3, 2012
  1. @rolfl

    Fixes #92 - Performance improvements in Verifier.

    rolfl authored
    Attribution for Wilf's contributions. Close off the issue.
  2. @rolfl

    Issue #92 - Update the performance benchmark tool to:

    rolfl authored
    - delay for 5 seconds to allow a  profiler tool to be attached.
    - run 200 iterations, of which the best 50 are reported.
    - report the average time for each loop rather than the sum time.
  3. @rolfl

    Issue #92 - Improve performance of checkCharacterData ...

    rolfl authored
    restructured loop is much faster (runs in half the time).
    Add check in to VerifierBuilder to confirm logic about CharacterData being a superset of other character roles.
  4. @rolfl

    Issue #92 - Verifier performance

    rolfl authored
    Use byte-based arithmatic everywhere.
  5. @rolfl

    Issue #92 - Verifie performance.

    rolfl authored
    Change the bitmask to not contain ':' as part of the valid name characters.
    Also improve the performance test to average the best times.
    Centralize the JDOM Name checking to  anew method.
Commits on Sep 2, 2012
  1. @rolfl
  2. @rolfl

    Issue #92 - Performance of Verifier.

    rolfl authored
    Initial commit with Byte-per-Character system for bitmask-based lookup tables.
    See details at https://github.com/hunterhacker/jdom/wiki/Verifier-Performance
  3. @rolfl

    Fixes #90 - false-positive error validating namespace collisions when…

    rolfl authored
    … 'setting' an Attribute.
Commits on Sep 1, 2012
  1. @rolfl
Commits on Aug 26, 2012
  1. @rolfl

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

    rolfl authored
    …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 authored
    …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

    Revert change for jdom jar name

    rolfl authored
  2. @rolfl
  3. @rolfl

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

    rolfl authored
    …ault namespace for XPath expression.
Commits on May 28, 2012
  1. @rolfl

    Accommodate new maven artifactID... change name of jars from jdom-x.y…

    rolfl authored
    ….z to jdom2-x.y.z
    
    with different maven artifact id's for JDOM 1.x and 2.x it is possible to have both jars in the same maven project.
Commits on May 12, 2012
  1. @rolfl

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

    rolfl authored
    …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 authored
    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 authored
    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 20, 2012
  1. @rolfl
Commits on Apr 19, 2012
  1. @rolfl

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

    rolfl authored
    …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 authored
    … is no accessible STDERR (or STDOUT). Instead 'chain' the problem.
Something went wrong with that request. Please try again.