Permalink
Commits on Oct 1, 2011
  1. Bumped to version 0.3

    djspiewak committed Oct 1, 2011
  2. close FileOutputStream

    eengbrec committed Oct 1, 2011
  3. Fixed mistake in merge

    djspiewak committed Oct 1, 2011
  4. Merge branch 'zipper-replacement'

    djspiewak committed Oct 1, 2011
    Conflicts:
    	src/main/scala/com/codecommit/antixml/DeepZipper.scala
    	src/main/scala/com/codecommit/antixml/Zipper.scala
    	src/test/scala/com/codecommit/antixml/DeepZipperSpecs.scala
    	src/test/scala/com/codecommit/antixml/ZipperSpecs.scala
  5. Slight code reformatting

    djspiewak committed Oct 1, 2011
  6. Made deep selection return results in depth-first order. Added short-…

    josharnold52 committed Oct 1, 2011
    …circuit deep-select and plain old select operators
Commits on Sep 30, 2011
  1. More dead code...

    josharnold52 committed Sep 30, 2011
  2. Remove dead code

    josharnold52 committed Sep 30, 2011
Commits on Sep 28, 2011
  1. Switched to SBT 0.11

    djspiewak committed Sep 28, 2011
  2. Switched to SBT 0.11

    djspiewak committed Sep 28, 2011
Commits on Sep 26, 2011
  1. Optimizing the creation of paths.

    ncreep committed Sep 26, 2011
    - Merging the steps of traversal and selector application.
    - Code requires serious clean up.
  2. Reimplemented stringToSelector in terms of an OptimizingSelector.

    ncreep committed Sep 26, 2011
    - Removed the ElemSelector class.
    - This shows off the usage of OptimizingSelector and removes a case
    match in PathCreator.
  3. Path creation relies on efficient hashing of Elems.

    ncreep committed Sep 26, 2011
    Added a comment about hashing in PathCreator and DeepZipper.
  4. Merge branch 'zipper-replacement' of git://github.com/djspiewak/anti-…

    ncreep committed Sep 26, 2011
    …xml into zipper-replacement
  5. Check characters in Text, CDATA, Attribute names and Entity References.

    Heikki Vesalainen committed Sep 26, 2011
    All characters in XML must conform to the Regex specified in http://www.w3.org/TR/xml/#NT-Char
    
    Also changed Text and Attribute escaping to conform to
    http://www.w3.org/TR/xml/#NT-CharData and http://www.w3.org/TR/xml/#NT-AttValue respectively.
    
    Changed Attribute escaping so that " and ' are only used when necessary.
Commits on Sep 25, 2011
  1. New serializeDocument(Elem, OutputStream) to be used with OutputStreams.

    Heikki Vesalainen committed Sep 25, 2011
    Uses the character encoding of the XMLSerializer.
    
    Motivation: when XMLSerializer is created, an encoding is specified. This
    encoding is used when writing the XML declaration. Using the
    serializeDocument(Elem, Writer) can lead to a stupid-user-error where the
    encoding given and the encoding of the Writer (e.g. OutputStreamWriter) are not
    the same.
    
    For example, on a platform, whose default encoding is ISO-8859-1, the following
    innocent looking code would lead to a disaster:
    
    XMLSerializer("UTF-8", true).serializeDocument(root, new OutputStreamWriter(myOutputStream))
    
    In the above, the declaration written by XMLSerializer would state "UTF-8", but
    the data written by the Writer would be in ISO-8859-1.
Commits on Sep 24, 2011
  1. Doc fix.

    ncreep committed Sep 24, 2011
  2. Optimizing the creation of Path objects.

    ncreep committed Sep 24, 2011
    Removing redundant hashing on Elems when verifying that there are no
    duplicates on a list of path values.
Commits on Sep 23, 2011
  1. Optimizing selector idea

    josharnold52 committed Sep 23, 2011