AnsweredAssumed Answered

Zero scoring transformation attempted

Question asked by joncard on Mar 31, 2006
Latest reply on Apr 21, 2006 by joncard
I am attempting to control content in a templated website using Alfresco. One of the requirements is that the content be composed off-line, so I'm designing this so that users can compose content in Word, then import that content to a space that will transform the content into HTML using Open Office and then transform it into XHTML with "tidy" so that I can access the content through an XSLT template to strip out the html tag wrapping, the whole head tag, the body tag wrapping, etc., so I can include the HTML fragment in the MyFaces web site.

I've followed the instructions here:
for installing a "tidy" transformer and will someday upgrade so that these two transformation happen at once in complex transformation (as well as workflow the items and so on).

The mime type for XHTML already existed in the installation, so I didn't need the instructions here:

But I did have to add the "XHTML" option to the dropdown list in the New Content Rule wizard, so I followed the instructions here:

So far, so good, but I'm getting the following exception when I run the transformation:

Please correct the errors below then click Finish.

    * A system error happened during the operation: Transaction didn't commit: Zero scoring transformation attempted: reader: ContentAccessor[ contentUrl=store://2006/3/31/14/8c2964c3-c0fe-11da-b04b-6b5ed75ec74d.bin, mimetype=text/html, size=2694, encoding=UTF-8] writer: ContentAccessor[ contentUrl=store://2006/3/31/14/8c6b01a5-c0fe-11da-b04b-6b5ed75ec74d.bin, mimetype=application/xhtml+xml, size=0, encoding=UTF-8]

I don't know what  "zero scoring transformation" is; I thought that the entry at the bottom of the "RuntimeExecutableContentTransformer" I configured for "tidy" would enter this in the Content Transformation Registry? Is that what is wrong? What scores a transformation?