From dlichteblau at common-lisp.net Sat Sep 9 10:06:17 2006 From: dlichteblau at common-lisp.net (dlichteblau) Date: Sat, 9 Sep 2006 06:06:17 -0400 (EDT) Subject: [cxml-cvs] CVS cxml/xml Message-ID: <20060909100617.7B8C279000@common-lisp.net> Update of /project/cxml/cvsroot/cxml/xml In directory clnet:/tmp/cvs-serv13931 Modified Files: sax-handler.lisp Log Message: typo in start-element docstring --- /project/cxml/cvsroot/cxml/xml/sax-handler.lisp 2006/08/28 13:41:41 1.5 +++ /project/cxml/cvsroot/cxml/xml/sax-handler.lisp 2006/09/09 10:06:17 1.6 @@ -181,7 +181,7 @@ local-name properties, the same rules as for the element name apply. Additionally, namespace-declaring attributes (those whose name is \"xmlns\" or starts with \"xmlns:\") are only included if -*namespace-prefixes* is non-nil.") +*include-xmlns-attributes* is non-nil.") (:method ((handler t) namespace-uri local-name qname attributes) (declare (ignore namespace-uri local-name qname attributes)) nil)) From dlichteblau at common-lisp.net Sun Sep 10 14:52:44 2006 From: dlichteblau at common-lisp.net (dlichteblau) Date: Sun, 10 Sep 2006 10:52:44 -0400 (EDT) Subject: [cxml-cvs] CVS cxml/dom Message-ID: <20060910145244.9ACAA2F0C1@common-lisp.net> Update of /project/cxml/cvsroot/cxml/dom In directory clnet:/tmp/cvs-serv3686/dom Modified Files: dom-impl.lisp Log Message: ANSI conformance fixes --- /project/cxml/cvsroot/cxml/dom/dom-impl.lisp 2006/08/28 09:04:51 1.41 +++ /project/cxml/cvsroot/cxml/dom/dom-impl.lisp 2006/09/10 14:52:44 1.42 @@ -587,9 +587,11 @@ (setf (slot-value new-child 'parent) node) new-child)) -(defmethod dom:insert-before ((node node) (fragment document-fragment) ref-child) - (dovector (child (dom:child-nodes fragment)) - (dom:insert-before node child ref-child)) +(defmethod dom:insert-before + ((node node) (fragment document-fragment) ref-child) + (let ((children (dom:child-nodes fragment))) + (cxml::while (plusp (length children)) + (dom:insert-before node (elt children 0) ref-child))) fragment) (defmethod dom:replace-child ((node node) (new-child node) (old-child node)) @@ -631,8 +633,9 @@ (defmethod dom:append-child ((node node) (new-child document-fragment)) (assert-writeable node) - (dovector (child (dom:child-nodes new-child)) - (dom:append-child node child)) + (let ((children (dom:child-nodes new-child))) + (cxml::while (plusp (length children)) + (dom:append-child node (elt children 0)))) new-child) ;; was auf node noch implemetiert werden muss: From dlichteblau at common-lisp.net Sun Sep 10 14:52:44 2006 From: dlichteblau at common-lisp.net (dlichteblau) Date: Sun, 10 Sep 2006 10:52:44 -0400 (EDT) Subject: [cxml-cvs] CVS cxml/xml Message-ID: <20060910145244.CE84830010@common-lisp.net> Update of /project/cxml/cvsroot/cxml/xml In directory clnet:/tmp/cvs-serv3686/xml Modified Files: xml-name-rune-p.lisp Log Message: ANSI conformance fixes --- /project/cxml/cvsroot/cxml/xml/xml-name-rune-p.lisp 2006/08/20 11:56:11 1.7 +++ /project/cxml/cvsroot/cxml/xml/xml-name-rune-p.lisp 2006/09/10 14:52:44 1.8 @@ -105,15 +105,19 @@ (declare (type simple-vector range-vector)) ;;we were always dealing with a sorted vector... bin search it - (loop with start = 0 - with end = (length range-vector) - while (< start end) - for mid-index = (+ start (floor (- end start) 2)) - for (mid-item-low mid-item-high) = (aref range-vector mid-index) - if (< mid-item-high code) do (setf start (1+ mid-index)) - else if (< code mid-item-low) do (setf end mid-index) - else do (return T) - finally (return nil))) + (let ((start 0) + (end (length range-vector))) + (while (< start end) + (let ((mid-index (+ start (floor (- end start) 2)))) + (destructuring-bind (mid-item-low mid-item-high) + (aref range-vector mid-index) + (cond + ((< mid-item-high code) + (setf start (1+ mid-index))) + ((< code mid-item-low) + (setf end mid-index)) + (t + (return t)))))))) (name-start-rune-p (rune) (or (letter-rune-p rune) From dlichteblau at common-lisp.net Sun Sep 10 14:55:29 2006 From: dlichteblau at common-lisp.net (dlichteblau) Date: Sun, 10 Sep 2006 10:55:29 -0400 (EDT) Subject: [cxml-cvs] CVS cxml Message-ID: <20060910145529.6D62330010@common-lisp.net> Update of /project/cxml/cvsroot/cxml In directory clnet:/tmp/cvs-serv4145 Modified Files: README.html Log Message: die letzten paar nicht-ascii zeichen raus, macht das leben einfacher --- /project/cxml/cvsroot/cxml/README.html 2006/08/20 14:59:34 1.25 +++ /project/cxml/cvsroot/cxml/README.html 2006/09/10 14:55:29 1.26 @@ -114,7 +114,8 @@
  • Namespace normalizer bugfixes.
  • Minor changes: clone-node on document as an extension. DOM class hierarchy reworked. New function parse-empty-document. - Fixed the DOM serializer to not throw away local names.
  • + Fixed the DOM serializer to not throw away local names. + ANSI conformance fixes.

    rel-2006-01-05