[cxml-devel] Bugs when working with document nodes
Sunil Mishra
smishra at sfmishras.com
Mon Aug 28 01:17:00 UTC 2006
-----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 at 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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFE8it7jRnqWMAEf1cRApClAJ9Eo7YZjjEI66X/NGC8Mvy6cJ7wrgCgzsSr
NmUCkiLgV4owKxnahYSsF0E=
=qSFG
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graph.xml
Type: text/xml
Size: 367 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cxml-devel/attachments/20060827/cdfca654/attachment.xml>
More information about the cxml-devel
mailing list