Hi.
I want to use tao:from-pdf-converter processor. But i confused by tao namespace. I tried oxf:from-pdf-converter processor. It is not works. How can i describe tao namespace? What url should be? |
bazik,
> I want to use tao:from-pdf-converter processor. But i confused by tao > namespace. > I tried oxf:from-pdf-converter processor. It is not works. > How can i describe tao namespace? What url should be? there's a definition in the sources in /src/resources-packaged/config/third-party-processors.xml: xmlns:tao="http://www.taoconsulting.biz/ops/processors" Does this work? hth florian -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
yes. it works. thank.
but i have exception. what is wrong? Exception: ERROR [ProcessorService] Exception at line 44, column 47 of oxf:/apps/xforms-pdf/convert.xpl (reading processor output: name='data', id='converted') java.lang.NullPointerException at org.orbeon.oxf.processor.serializer.BinaryTextContentHandler.startElement(BinaryTextContentHandler.java:107) Input( view.xhtml from xforms-tidy example ): <xforms:upload ref="." xxforms:size="40"> <xforms:filename ref="@filename"/> <xforms:mediatype ref="@mediatype"/> <xxforms:size ref="@size"/> <xforms:setvalue ev:event="xforms-select" ref="@selected">true</xforms:setvalue> </xforms:upload> xpl file <p:param name="instance" type="input"/> <p:processor name="oxf:xslt"> <p:input name="data" href="#instance"/> <p:input name="config"> <config xsl:version="2.0"> <url><xsl:value-of select="/*"/></url> <content-type>text/html</content-type> <force-content-type>true</force-content-type> </config> </p:input> <p:output name="data" id="url-config"/> </p:processor> <p:processor name="oxf:url-generator"> <p:input name="config" href="#url-config"/> <p:output name="data" id="pseudo-xhtml-data"/> </p:processor> <p:processor name="tao:from-pdf-converter"> <p:input name="config"> <config><action>bookmarks</action></config> </p:input> <p:input name="data" href="#pseudo-xhtml-data"/> <p:output name="data" id="converted"/> </p:processor> <p:processor name="oxf:http-serializer"> <p:input name="config"> <config> <header> <name>Cache-Control</name> <value>post-check=0, pre-check=0</value> </header> </config> </p:input> <p:input name="data" href="#converted"/> </p:processor> </p:config> |
Administrator
|
Mmh, we haven't run this in a while: it was a third-party
contribution. You probably hit a bug. Can you debug it? -Erik On Tue, Oct 26, 2010 at 8:19 AM, bazik <[hidden email]> wrote: > > yes. it works. thank. > but i have exception. what is wrong? > > Exception: > ERROR [ProcessorService] Exception at line 44, column 47 of > oxf:/apps/xforms-pdf/convert.xpl (reading processor output: name='data', > id='converted') > java.lang.NullPointerException at > org.orbeon.oxf.processor.serializer.BinaryTextContentHandler.startElement(BinaryTextContentHandler.java:107) > > Input( view.xhtml from xforms-tidy example ): > <xforms:upload ref="." xxforms:size="40"> > <xforms:filename ref="@filename"/> > <xforms:mediatype ref="@mediatype"/> > <xxforms:size ref="@size"/> > <xforms:setvalue ev:event="xforms-select" > ref="@selected">true</xforms:setvalue> > </xforms:upload> > > xpl file > <p:param name="instance" type="input"/> > > <p:processor name="oxf:xslt"> > <p:input name="data" href="#instance"/> > <p:input name="config"> > <config xsl:version="2.0"> > <url><xsl:value-of select="/*"/></url> > <content-type>text/html</content-type> > <force-content-type>true</force-content-type> > </config> > </p:input> > <p:output name="data" id="url-config"/> > </p:processor> > > <p:processor name="oxf:url-generator"> > <p:input name="config" href="#url-config"/> > <p:output name="data" id="pseudo-xhtml-data"/> > </p:processor> > > <p:processor name="tao:from-pdf-converter"> > <p:input name="config"> > <config><action>bookmarks</action></config> > </p:input> > <p:input name="data" href="#pseudo-xhtml-data"/> > <p:output name="data" id="converted"/> > </p:processor> > > <p:processor name="oxf:http-serializer"> > <p:input name="config"> > <config> > <header> > <name>Cache-Control</name> > <value>post-check=0, pre-check=0</value> > </header> > <!-- NOTE: XML converter specifies text/html content-type > --> > </config> > </p:input> > <p:input name="data" href="#converted"/> > </p:processor> > > </p:config> > > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/tao-from-pdf-converter-tp3013785p3013909.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |