<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_1_1455115311612_96007"></div><div id="gt-res-c" class="g-unit"><div id="gt-res-p"><div id="gt-res-data"><div id="gt-res-wrap"><div id="gt-res-content" class="almost_half_cell"><div id="yui_3_16_0_1_1455115311612_88888" dir="ltr" style="zoom:1"><div id="yui_3_16_0_1_1455115311612_88887" dir="ltr"><span id="result_box" class="" lang="en"><span id="yui_3_16_0_1_1455115311612_89026" class="hps">Sorry</span><span id="yui_3_16_0_1_1455115311612_89027">, this was</span> <span id="yui_3_16_0_1_1455115311612_89033" class="hps">my fault</span><span>.</span> <span id="yui_3_16_0_1_1455115311612_89034" class="hps">I should</span> <span id="yui_3_16_0_1_1455115311612_96008" class="hps">call</span> <span id="yui_3_16_0_1_1455115311612_89035" class="hps">"with</span><span class="atn">-open-</span><span id="yui_3_16_0_1_1455115311612_89036">file"</span> <span id="yui_3_16_0_1_1455115311612_96011" class="hps">using</span> <span class="hps atn">"</span><span id="yui_3_16_0_1_1455115311612_89037" class="atn">if-</span><span>exists:</span> <span id="yui_3_16_0_1_1455115311612_89038" class="hps">supersede</span><span class="">"</span><span id="yui_3_16_0_1_1455115311612_96012" class="">. Thanks for the quick response.<br></span></span></div></div></div></div></div></div></div> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 13px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font face="Arial" size="2"> On Thursday, February 11, 2016 3:14 PM, Alexandre Rademaker <arademaker@gmail.com> wrote:<br></font></div> <br><br> <div class="y_msg_container"><div id="yiv8837366007"><div><div dir="ltr"><div>Hi José,</div><div><br clear="none"></div><div>I couldn't reproduce the problem. How did you install CXML and CXML-STP? I used the last version from quicklisp running SBCL on a Mac OS:</div><div><br clear="none"></div><font face="monospace, monospace">CL-USER> *features*<br clear="none">(:CL-PPCRE :RUNE-IS-CHARACTER :SWANK :QUICKLISP :ASDF-PACKAGE-SYSTEM :ASDF3.1<br clear="none"> :ASDF3 :ASDF2 :ASDF :OS-MACOSX :OS-UNIX :NON-BASE-CHARS-EXIST-P :ASDF-UNICODE<br clear="none"> :64-BIT :64-BIT-REGISTERS :ALIEN-CALLBACKS :ANSI-CL :ASH-RIGHT-VOPS :BSD<br clear="none"> :C-STACK-IS-CONTROL-STACK :COMMON-LISP :COMPARE-AND-SWAP-VOPS<br clear="none"> :COMPLEX-FLOAT-VOPS :CYCLE-COUNTER :DARWIN :DARWIN9-OR-BETTER :FLOAT-EQL-VOPS<br clear="none"> :FP-AND-PC-STANDARD-SAVE :GENCGC :IEEE-FLOATING-POINT :INLINE-CONSTANTS<br clear="none"> :INODE64 :INTEGER-EQL-VOP :INTERLEAVED-RAW-SLOTS :LINKAGE-TABLE :LITTLE-ENDIAN<br clear="none"> :MACH-EXCEPTION-HANDLER :MACH-O :MEMORY-BARRIER-VOPS :MULTIPLY-HIGH-VOPS<br clear="none"> :OS-PROVIDES-BLKSIZE-T :OS-PROVIDES-DLADDR :OS-PROVIDES-DLOPEN<br clear="none"> :OS-PROVIDES-PUTWC :OS-PROVIDES-SUSECONDS-T :PACKAGE-LOCAL-NICKNAMES<br clear="none"> :PRECISE-ARG-COUNT-ERROR :RAW-INSTANCE-INIT-VOPS :SB-CORE-COMPRESSION :SB-DOC<br clear="none"> :SB-EVAL :SB-LDB :SB-PACKAGE-LOCKS :SB-SIMD-PACK :SB-SOURCE-LOCATIONS :SB-TEST<br clear="none"> :SB-THREAD :SB-UNICODE :SBCL :STACK-ALLOCATABLE-CLOSURES<br clear="none"> :STACK-ALLOCATABLE-FIXED-OBJECTS :STACK-ALLOCATABLE-LISTS<br clear="none"> :STACK-ALLOCATABLE-VECTORS :STACK-GROWS-DOWNWARD-NOT-UPWARD :SYMBOL-INFO-VOPS<br clear="none"> :UD2-BREAKPOINTS :UNIX :UNWIND-TO-FRAME-AND-CALL-VOP :X86-64)<br clear="none">CL-USER> (let ((document (with-open-file (stream (merge-pathnames #P"content.xml")<br clear="none">:direction :input<br clear="none">:element-type '(unsigned-byte 8))<br clear="none"> (cxml:parse stream (stp:make-builder)))))<br clear="none"> (with-open-file (salida #P"saida.xml" :direction :output :if-exists :supersede)<br clear="none"> (stp:serialize document (cxml:make-character-stream-sink salida))))<br clear="none">#<SB-SYS:FD-STREAM for "file /Users/arademaker/Downloads/saida.xml" {10050733C3}></font><div><br clear="none"></div><div><br clear="none"></div><div>The saida.xml file is fine.</div><div><br clear="none"></div><div>$ xmllint -noout saida.xml<br clear="none"></div><div><br clear="none"></div><div>I suggest post this kind of questions in sites like <a rel="nofollow" shape="rect" target="_blank" href="http://stackoverflow.com/">http://stackoverflow.com</a></div><div><br clear="none"></div><div><br clear="none"></div><div>Best,</div><div class="yiv8837366007gmail_extra"><br clear="all"><div><div class="yiv8837366007gmail_signature"><div dir="ltr"><div>Alexandre Rademaker<br clear="none"><div><div><a rel="nofollow" shape="rect" target="_blank" href="http://arademaker.github.com/" style="color:rgb(17,85,204);">http://arademaker.github.com/</a><br clear="none"></div></div><div><a rel="nofollow" shape="rect" target="_blank" href="http://researcher.ibm.com/person/br-alexrad" style="color:rgb(17,85,204);">http://researcher.ibm.com/person/br-alexrad</a><br clear="none"></div><div><br clear="none"></div></div></div></div></div>
<br clear="none"><div class="yiv8837366007yqt3593114856" id="yiv8837366007yqt35614"><div class="yiv8837366007gmail_quote">On Thu, Feb 11, 2016 at 5:48 PM, José Ronquillo <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:josrr@ymail.com" target="_blank" href="mailto:josrr@ymail.com">josrr@ymail.com</a>></span> wrote:<br clear="none"><blockquote class="yiv8837366007gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;"><div dir="ltr">Hello CXML developers.<br clear="none"><br clear="none">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.<br clear="none"><br clear="none">The bug has occurred when I try to serialize a document that is just parsed, you can reproduce it with this code:<br clear="none"><br clear="none">(let ((document (with-open-file (stream (merge-pathnames #P"content.xml")<br clear="none"> :direction :input<br clear="none"> :element-type '(unsigned-byte 8))<br clear="none"> (cxml:parse stream (stp:make-builder)))))<br clear="none"> (with-open-file (salida #P"1.xml" :direction :output :if-exists :overwrite)<br clear="none"> (stp:serialize document (cxml:make-character-stream-sink salida))))<br clear="none"><br clear="none">The output 1.xml file is incorrect. Check the second line, columna 91841, here with some context:<br clear="none"><br clear="none"><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><br clear="none"><br clear="none">The original content.xml file is attached.</div></div></div></blockquote></div></div><br clear="none"></div></div></div></div><br><br></div> </div> </div> </div></div></body></html>