bug report
José Ronquillo
josrr at ymail.com
Thu Feb 11 19:48:40 UTC 2016
Hello CXML developers.
I want to report a bug that I reached working with an ODF (Open Document Format) file, more precisely with the content.xml file that is part of it.
The bug has occurred when I try to serialize a document that is just parsed, you can reproduce it with this code:
(let ((document (with-open-file (stream (merge-pathnames #P"content.xml")
:direction :input
:element-type '(unsigned-byte 8))
(cxml:parse stream (stp:make-builder)))))
(with-open-file (salida #P"1.xml" :direction :output :if-exists :overwrite)
(stp:serialize document (cxml:make-character-stream-sink salida))))
The output 1.xml file is incorrect. Check the second line, columna 91841, here with some context:
<table:named-expressions/></office:spreadsheet></office:body></office:document-content>le-row table:style-name="ro1"><table:table-cell table:number-columns-repeated="1024"/></table:table-row></table:table><table:named-expressions/></office:spreadsheet></office:body></office:document-content>ing" table:number-columns-spanned="1" table:number-rows-spanned="3"><text:p>DICIEMBRE </text:p></table:table-cell>
The original content.xml file is attached.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cxml-devel/attachments/20160211/7395e716/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: content.zip
Type: application/zip
Size: 5248 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cxml-devel/attachments/20160211/7395e716/attachment.zip>
More information about the cxml-devel
mailing list