Re: toString of DefaultModel

Raoul Pierre <[email protected]> Wed, 28 Sep 2005 01:08:44 +0200
Newsgroups gmane.comp.java.keel.devel
Message-ID <[email protected]>
Gene,

>Think I found it.  Line 199, AbstractResponseElement, was calling
>writeEmptyElement, which I'm guessing is "ended" by default.  Replaced
>with writeElement, then it no longer crashes.
>
>I noticed that part of the output is url encoded, which makes it
>difficult to read.  not going to track that down just yet, thought I'd
>mention it though.
>
>  
>
I don't think the point is about writeEmptyElement  as:
- there are only atributes with writeAttribute function
- in the original code it was already create with "<attribute key='.../>".

But there is an empty string in place of  key value in key atribute... I 
patch something right now (and  keep the element with a body even if 
it's always an empty one).

Pierre



http://keelframework.org/documentation.shtml
Keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com