You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2004/03/16 14:45:05 UTC

DO NOT REPLY [Bug 27650] - License upgrade broke saving in bxe

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27650>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27650

License upgrade broke saving in bxe

egli@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |1.2



------- Additional Comments From egli@apache.org  2004-03-16 13:45 -------
I have tried to track this one down:

The problem must occur somewhere in the usecase-bxeng sitemap in the default
publication, where it does a source writing transformation to save the xml that
was sent by bxe. 

It first does a transformation addSourceTags which adds tags for the source
writting transformer. Incidentaly it duplicates the content, but that doesn't
seem to be a problem. The bug is still there if I fix the duplication.

Then it does change-object-path-back which doesn't really change all that much
in the xml

After that the xml is sent to the source writing transformer. After the source
writing transformer the file only contains the xml declaration and the comment.
The actual content is gone.

I added the following pipelines to debug this:

<map:transform type="log">
  <map:parameter name="logfile" value="logfile.log"/>
  <map:parameter name="append" value="no"/>
</map:transform>

I also changed the serializer of the source writing transformer (as follows) but
that didn't solve the problem

<map:transform type="write-source">
  <map:parameter name="serializer" value="xml"/>   
</map:transform>

Maybe this is a bug in the endRecording method of AbstractXMLTransformer?

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org