Re: XML write crash
Alan Baljeu <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <[email protected]> |
>It is the inverse of the sgml/html/xml reading. library(sgml) defines >the output. It only is a bit more flexible wrt. input types. I'm reading that file and not seeing an explanation of what constitutes valid element content. >> Anyway, it might be nice to put in a clearer message when write >> fails, because it's a beast to try to discern which element, or >> portion thereof, is the problem. >I replaced the assertion with a type error. Will that give context of what it was trying to write at the moment? This matters with a large document containing a small error. -------------- next part -------------- HTML attachment scrubbed and removed