Closed GoogleCodeExporter closed 9 years ago
Hi,
Could you explain what you wish to generate and if you explain me your code
changes, I could perhaps integrate it?
Regards Angelo
Original comment by angelo.z...@gmail.com
on 3 Apr 2012 at 9:49
Yes.
Changes in TransformedBufferedDocumentContentHandler (v0.9.6).
elementInfo.setContentBeforeStartTagElement( before );
to:
String existedBefore = elementInfo.getStartTagElement().getBefore();
elementInfo.setContentBeforeStartTagElement((StringUtils.isEmpty(existedBefore) ? "" : existedBefore) + " " + before);
elementInfo.setContentAfterEndTagElement( after );
to:
String existedAfter = elementInfo.getEndTagElement().getAfter();
elementInfo.setContentAfterEndTagElement(after + " " + (StringUtils.isEmpty(existedAfter) ? "" : existedAfter));
Template(it works after changes) and expected result are in attachment.
Original comment by roman.de...@gmail.com
on 3 Apr 2012 at 11:26
Attachments:
Hi Roman,
Ok I understand the problem. I will fix that as soon as possible.
Regards Angelo
Original comment by angelo.z...@gmail.com
on 3 Apr 2012 at 2:53
Hi Roman,
Problem should be fixed (I have commited my work on Git and it will be
available on 0.9.8). Please test this fix and tell me if it's OK. Fix was done
on the BufferedTagElement class.
Regards Angelo
Original comment by angelo.z...@gmail.com
on 4 Apr 2012 at 8:45
Original comment by angelo.z...@gmail.com
on 4 Apr 2012 at 8:45
Original comment by angelo.z...@gmail.com
on 28 Sep 2012 at 9:31
Original issue reported on code.google.com by
roman.de...@gmail.com
on 3 Apr 2012 at 9:45