Permalink
Switch branches/tags
Commits on Jun 22, 2001
  1. Version number changes for private branch.

    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/branches/Bxalan-j_2_2L@335065 13f79535-47bb-0310-9956-ffa450edef68
    Scott Boag committed Jun 22, 2001
  2. In LocPathIterator#setCacheNodes, don't replace the current m_cachedN…

    …odes if
    
    it is non-null.  This fixes a bug with the NodeIterator/NodeSet
    adapters.
    
    In getDTMHandleFromNode, if a DTM has to be created, create
    it from the ownerDocument instead of the node argument.  I think
    this will avoid a lot of problems with node identity coming from
    extensions and the XPath API.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/branches/Bxalan-j_2_2L@335064 13f79535-47bb-0310-9956-ffa450edef68
    Scott Boag committed Jun 22, 2001
  3. always do a cloneWithReset, as it is safer.. Part of Norm Walsh

    variable problem fix.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/branches/Bxalan-j_2_2L@335063 13f79535-47bb-0310-9956-ffa450edef68
    Scott Boag committed Jun 22, 2001
  4. Use asIterator instead of execute/setRoot,

    as it is safer. Part of Norm Walsh
    variable problem fix.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/branches/Bxalan-j_2_2L@335062 13f79535-47bb-0310-9956-ffa450edef68
    Scott Boag committed Jun 22, 2001
Commits on Jun 20, 2001
  1. This commit was manufactured by cvs2svn to create branch

    'Bxalan-j_2_2L'.
    
    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/branches/Bxalan-j_2_2L@335045 13f79535-47bb-0310-9956-ffa450edef68
    No Author committed Jun 20, 2001
  2. Make a default public constructor.

    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335044 13f79535-47bb-0310-9956-ffa450edef68
    Scott Boag committed Jun 20, 2001
  3. Set the context node list for the root transformation, so the Transfo…

    …rmState stuff
    
    doesn't complain.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335042 13f79535-47bb-0310-9956-ffa450edef68
    Scott Boag committed Jun 20, 2001
  4. Fix for Tooling problem. We need to push the current ElemTextLiteral …

    …in the currentElements stack
    
    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335041 13f79535-47bb-0310-9956-ffa450edef68
    Myriam Midy committed Jun 20, 2001
  5. Fix resource loading problem in Cocoon.

    Note: this apparently fixes properly the fix that garyp attempted to
    add 21-May-01; however JDK 118 and 122 behave differently when
    calling getResourceAsStream, so in the 118 case I've had to
    prepend a hard-coded / slash char: this should be reviewed later
    PR: email on xalan-dev
    Submitted by: dims@yahoo.com
    
    
    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335040 13f79535-47bb-0310-9956-ffa450edef68
    ShaneCurcuru committed Jun 20, 2001
  6. better list of developers

    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335039 13f79535-47bb-0310-9956-ffa450edef68
    Tom Amiro committed Jun 20, 2001
  7. Exp. to fix Adam Clarke bug with the DOM backpointer being out

    of synch.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335038 13f79535-47bb-0310-9956-ffa450edef68
    Scott Boag committed Jun 20, 2001
  8. Commented back in URLs to be relative to result.

    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335037 13f79535-47bb-0310-9956-ffa450edef68
    Scott Boag committed Jun 20, 2001
  9. Don't set dynamic validation for the source tree as per discussion wi…

    …th Thomas2.Maesing@bgs-ag.de
    
    about bug 2124.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335036 13f79535-47bb-0310-9956-ffa450edef68
    Scott Boag committed Jun 20, 2001
  10. Fix bug uncovered by Norm Walsh. On call to function to test

    for a proximity function, pass opPos instead of op (duh).
    
    
    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335035 13f79535-47bb-0310-9956-ffa450edef68
    Scott Boag committed Jun 20, 2001
Commits on Jun 19, 2001
  1. Nasty hack. The issue is that extensions are

    building their xpaths on the fly, so they don't really
    have a chance to fix up their index lookup for the
    variable stack (this problem caught me a bit by
    surprise).  The variable stack itself no longer has
    any qname information... it's a straight index lookup
    to the variable value.  In order to work around this
    problem in the short term, I test whether
    fixupVariables has been called, and, if it hasn't, I
    take the current prefixResolver, *which must be
    set to the extension element* (it wasn't in the
    Redirect extension), test if it is a
    ElemTemplateElement (bad because we're not
    supposed to be coupled with the xalan package
    in xpath), and look at the previous sibling and
    ancestor previous siblings for a ElemVariable.
    For each ElemVariable, I can then compare the
    qname, and, if a match, get the index from that
    element.  Right now it doesn't do anything special
    for global variables, and so errors can occur in
    this case if you have imports and includes and
    the like.  The hack is good enough right now to
    get fop codegen to work correctly.  I'll do some
    more work on this next week, or someone else
    can, and I'll try and figure out a way to do this
    without the visibility to xalan.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335034 13f79535-47bb-0310-9956-ffa450edef68
    Scott Boag committed Jun 19, 2001
  2. Add iterRaw accessor.

    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335033 13f79535-47bb-0310-9956-ffa450edef68
    Scott Boag committed Jun 19, 2001
  3. Fix strange clone of contained iterators.

    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335032 13f79535-47bb-0310-9956-ffa450edef68
    Scott Boag committed Jun 19, 2001
  4. Pass the extension element as the prefix resolve, instead of whatever

    is pushed on the XPathContext stack.  The Variable hack needs this
    to work correctly.
    
    Comment out patch that makes the filename relative to the current
    output URL.  Just to make fop codegen work.  This will need to
    be commented back in, once we can get fop to change their
    stylesheets.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335031 13f79535-47bb-0310-9956-ffa450edef68
    Scott Boag committed Jun 19, 2001
  5. Set the base URL of the source. If the systemID is not set in the

    Source object, try and use the URL of the stylesheet.  If that is
    null also, use the user.dir property.  Part of the fop codegen
    fix.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335030 13f79535-47bb-0310-9956-ffa450edef68
    Scott Boag committed Jun 19, 2001
  6. In spite of the comment, whereever it came from (probably me),

    reset really does have to call it's superclass reset.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335029 13f79535-47bb-0310-9956-ffa450edef68
    Scott Boag committed Jun 19, 2001
  7. Send endCompose to the outputProperties, so that the mark stack

    will be popped properly.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335028 13f79535-47bb-0310-9956-ffa450edef68
    Scott Boag committed Jun 19, 2001
  8. Add getIndex accessor, so that the Variable hack can get to it.

    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335027 13f79535-47bb-0310-9956-ffa450edef68
    Scott Boag committed Jun 19, 2001
  9. Use asIterator instead of clone, since it is cheaper, and more likely

    to be stable.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335026 13f79535-47bb-0310-9956-ffa450edef68
    Scott Boag committed Jun 19, 2001
  10. Have to send endCompose to the sort elements, or the mark

    stack will not be properly popped.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335025 13f79535-47bb-0310-9956-ffa450edef68
    Scott Boag committed Jun 19, 2001
  11. Fix for function calls used as clauses in logical expressions.

    PR:
    Obtained from:
    Submitted by:	morten@xml.apache.org
    Reviewed by:	morten@xml.apache.org
    
    
    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335024 13f79535-47bb-0310-9956-ffa450edef68
    Morten Jorgensen committed Jun 19, 2001
Commits on Jun 18, 2001
  1. In response to bugzilla bug #2124. Don't set dynamic validation to

    true if the XMLReader was handed in via a SAXSource.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335023 13f79535-47bb-0310-9956-ffa450edef68
    Scott Boag committed Jun 18, 2001
  2. Wait to flush startDocument until the another event (like startElemen…

    …t) is
    
    seen.  This fixes problems with the xml header being sent out to
    the result stream before the serializer is switched when the first
    element is HTML.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335022 13f79535-47bb-0310-9956-ffa450edef68
    Scott Boag committed Jun 18, 2001
  3. Setting validation to false by default to run with latest xerces.

    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335021 13f79535-47bb-0310-9956-ffa450edef68
    Myriam Midy committed Jun 18, 2001
  4. Exclude some of the newest attribset tests (for now)

    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335020 13f79535-47bb-0310-9956-ffa450edef68
    David Marston committed Jun 18, 2001
  5. Check for zero length before sending a characters event. This fixes

    minor regression with string115, etc. where tags were not being
    collapsed if empty.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335019 13f79535-47bb-0310-9956-ffa450edef68
    Scott Boag committed Jun 18, 2001
  6. PR:

    Obtained from:
    Submitted by:
    Reviewed by:
    
    
    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335018 13f79535-47bb-0310-9956-ffa450edef68
    Morten Jorgensen committed Jun 18, 2001
  7. PR:

    Obtained from:
    Submitted by:
    Reviewed by:
    
    
    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335017 13f79535-47bb-0310-9956-ffa450edef68
    Morten Jorgensen committed Jun 18, 2001
  8. Removing NodeSetType (renamed to NodeSetDTMType).

    PR:		n/a
    Obtained from:	n/a
    Submitted by:	morten@xml.apache.org
    Reviewed by:	morten@xml.apache.org
    
    
    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335016 13f79535-47bb-0310-9956-ffa450edef68
    Morten Jorgensen committed Jun 18, 2001
  9. Implement obj() as str(), since simply returning the FSB or char

    array will not be complete.  This fixes bugs in some extension
    functions, where the entire FSB was being translated into the
    string value.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@335015 13f79535-47bb-0310-9956-ffa450edef68
    Scott Boag committed Jun 18, 2001