1. 14 Dec, 2000 6 commits
    • Fred Drake's avatar
      Update the test suite to cover more ground. · 3277da0f
      Fred Drake authored
      This closes patch #102477.
      3277da0f
    • Fred Drake's avatar
      Lots of small bug fixes and DOM API conformance improvements: · f7cf40d3
      Fred Drake authored
      Make Node inherit from xml.dom.Node to pick up the NodeType values
      defined by the W3C recommendation.
      
      When raising AttributeError, be sure to provide the name of the attribute
      that does not exist.
      
      Node.normalize():  Make sure we do not allow an empty text node to survive
                         as the first child; update the sibling links properly.
      
      _getElementsByTagNameNSHelper():  Make recursive calls using the right
                                        number of parameters.
      
      Attr.__setattr__():  Be sure to update name and nodeName at the same time
                           since they are synonyms for this node type.
      
      AttributeList:  Renamed to NamedNodeMap (AttributeList maintained as an
                      alias).  Compute the length attribute dynamically to allow
                      the underlying structures to mutate.
      
      AttributeList.item():  Call .keys() on the dictionary rather than using
                             self.keys() for performance.
      
      AttributeList.setNamedItem(), .setNamedItemNS():
              Added methods.
      
      Text.splitText():
              Added method.
      
      DocumentType:
              Added implementation class.
      
      DOMImplementation:
              Added implementation class.
      
      Document.appendChild():  Do not allow a second document element to be added.
      
      Document.documentElement:  Find this dynamically, so that one can be
              removed and another added.
      
      Document.unlink():  Clear the doctype attribute.
      
      _get_StringIO():  Only use the StringIO module; cStringIO does not support
                        Unicode.
      f7cf40d3
    • Fred Drake's avatar
      Adjust PullDOM to use a DOMImplementation instance to create new Document · c16adce2
      Fred Drake authored
      objects; uses minidom if one is not provided to the constructor.
      
      parse():  Pick up the default_bufsize default value dynamically so that
                the value in the module may be (meaningfully) changed at runtime.
      
      This (partially) closes patch #102477.
      c16adce2
    • Guido van Rossum's avatar
      adf5410d
    • Guido van Rossum's avatar
      9e8f4ea0
    • Fred Drake's avatar
      Update information on the locking() function, added the needed constants. · f0b31547
      Fred Drake authored
      (Thanks for the info, Tim!)
      f0b31547
  2. 13 Dec, 2000 17 commits
  3. 12 Dec, 2000 17 commits