You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Julian Reschke <ju...@gmx.de> on 2008/09/19 15:50:41 UTC

fox:destination in 0.95

Hi,

I was trying to use fox:destination 
(<http://xmlgraphics.apache.org/fop/trunk/extensions.html#named-destinations>) 
in 0.95, but I'm getting:

org.apache.fop.apps.FOPException: 
file:/C:/projects/xml2rfc/rfc2109.fop.pdf.tmp:
1:9613: Error(1/9613): No element mapping definition found for 
(Namespace URI: "
http://xml.apache.org/fop/extensions", Local Name: "destination")
         at 
org.apache.fop.fo.ElementMappingRegistry.findFOMaker(ElementMappingRegistry.java:143)
         at 
org.apache.fop.fo.FOTreeBuilder.findFOMaker(FOTreeBuilder.java:190)
         at 
org.apache.fop.fo.FOTreeBuilder.access$300(FOTreeBuilder.java:51)
         at 
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:275)
         at 
org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163)
         at 
org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072)
         at 
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)

I thought this was re-added? 
(<https://issues.apache.org/bugzilla/show_bug.cgi?id=37157>)

BR, Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: fox:destination in 0.95

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Ouch. Thanks for pointing this out.

On 19.09.2008 17:19:22 Julian Reschke wrote:
> Jeremias Maerki wrote:
> > The namespace URI has changed to:
> > http://xmlgraphics.apache.org/fop/extensions
> > 
> > See also:
> > http://xmlgraphics.apache.org/fop/stable/extensions.html#fox-namespace
> 
> Which says: "By convention, FO extensions in FOP use the "fox" namespace 
> prefix. To use any of the FO extensions, add a namespace entry for 
> http://xml.apache.org/fop/extensions to the root element:"
> 
> :-)
> 
> Anyway: thanks for the help, this works.
> 
> BR, Julian



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: fox:destination in 0.95

Posted by Julian Reschke <ju...@gmx.de>.
Jeremias Maerki wrote:
> The namespace URI has changed to:
> http://xmlgraphics.apache.org/fop/extensions
> 
> See also:
> http://xmlgraphics.apache.org/fop/stable/extensions.html#fox-namespace

Which says: "By convention, FO extensions in FOP use the "fox" namespace 
prefix. To use any of the FO extensions, add a namespace entry for 
http://xml.apache.org/fop/extensions to the root element:"

:-)

Anyway: thanks for the help, this works.

BR, Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: fox:destination in 0.95

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
The namespace URI has changed to:
http://xmlgraphics.apache.org/fop/extensions

See also:
http://xmlgraphics.apache.org/fop/stable/extensions.html#fox-namespace

On 19.09.2008 15:50:41 Julian Reschke wrote:
> Hi,
> 
> I was trying to use fox:destination 
> (<http://xmlgraphics.apache.org/fop/trunk/extensions.html#named-destinations>) 
> in 0.95, but I'm getting:
> 
> org.apache.fop.apps.FOPException: 
> file:/C:/projects/xml2rfc/rfc2109.fop.pdf.tmp:
> 1:9613: Error(1/9613): No element mapping definition found for 
> (Namespace URI: "
> http://xml.apache.org/fop/extensions", Local Name: "destination")
>          at 
> org.apache.fop.fo.ElementMappingRegistry.findFOMaker(ElementMappingRegistry.java:143)
>          at 
> org.apache.fop.fo.FOTreeBuilder.findFOMaker(FOTreeBuilder.java:190)
>          at 
> org.apache.fop.fo.FOTreeBuilder.access$300(FOTreeBuilder.java:51)
>          at 
> org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:275)
>          at 
> org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163)
>          at 
> org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072)
>          at 
> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
> 
> I thought this was re-added? 
> (<https://issues.apache.org/bugzilla/show_bug.cgi?id=37157>)
> 
> BR, Julian



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org