From leosarasua at gmail.com Sat Nov 17 11:23:02 2012 From: leosarasua at gmail.com (L Sarasua) Date: Sat, 17 Nov 2012 12:23:02 +0100 Subject: [s-xml-devel] Error reading a processing instruction Message-ID: Hi, I think there is a bug in s-xml. When parsing an xml file with the following processing instruction: the program throws an error. *** - XML parser expected = near stream position 150948. I patched it up and it seems to work, by changing the 5th line of parse-xml-element as follows: (defun parse-xml-element (stream state) "Parse and return an XML element from stream, positioned after the opening '<'" (declare (special *namespaces*)) ;; opening < has been read (when (member (peek-char nil stream nil nil) '(#\! #\?)) ... Cheers, Leo -------------- next part -------------- An HTML attachment was scrubbed... URL: