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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.