-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi David,
Looks like we're getting closer. Again, with reference to the graph.xml I had previously attached...
clone-node is sort of working. It looks like it is making all the attributes that had previously been implicit, explicit. They are all being output in the svg element after cloning the document.
Also note that I'm still getting xlink=.... rather than xmlns:xlink=.... in the cloned document. This does not happen when I output the original document.
I am using Allegro CL 7.0, you had guessed correctly. And I did a CVS update and recompiling cxml before testing any of this.
Thank you for working with me in resolving these bugs.
Sunil
CL-USER(11): (cxml:parse-file #p"C:\graph.xml" (rune-dom:make-dom-builder) :entity-resolver #'entity-resolver) #<RUNE-DOM::DOCUMENT @ #x210866f2> CL-USER(12): (dom:map-document (cxml:make-namespace-normalizer (cxml:make-octet-stream-sink *standard-output*)) (dom:clone-node * t) :include-doctype :canonical-notations) <svg contentScriptType="text/ecmascript" contentStyleType="text/css" preserveAspectRatio="xMidYMid meet" version="1.1" xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" zoomAndPan="magnify"> <defs> <rect fill="black" height="10" id="default-node-shape" stroke="blue" width="60"></rect> </defs> </svg> #<MULTIVALENT stream socket connected from TEA/2292 to TEA/2293 @ #x205f078a>
David Lichteblau wrote:
Quoting Sunil Mishra (smishra@sfmishras.com):
It looks like clone-node on a document doesn't work with the attached document...
... with a doctype but without an internal subset.
Thank you, bugfix checked in.
d.