You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by JoeSch <Jo...@web.de> on 2000/09/21 11:37:26 UTC

org.apache.fop.apps.FOPException: Unknown namespace prefix fo

my first steps with fop end with the error

org.apache.fop.apps.FOPException: Unknown namespace prefix fo

this is the fo-file:

<?xml version="1.0" encoding="UTF-8"?>
<fo:root fo="http://www.w3.org/1999/XSL/Format" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/TR/2000/WD-SVG-20000629/DTD/svg-
20000629.dtd"><fo:layout-master-set><fo:simple-page-master margin-right="2.5cm" margin-left="2.5cm" margin-bottom="2cm" margin-top="1cm" width="21cm" height="29.7cm" 
page-master-name="pages"><fo:region-before extent="2.5cm"/><fo:region-body margin-top="2.5cm"/><fo:region-after extent="1.5cm"/></fo:simple-page-master></fo:layout-
master-set><fo:page-sequence><fo:sequence-specification><fo:sequence-specifier-repeating page-master-repeating="pages" page-master-first="pages"/></fo:sequence-
specification><fo:flow flow-name="xsl-body"><fo:block-container position="absolute" left="0cm" top="0cm" width="12cm" height="4cm" border-width="1pt" border-style="solid" 
border-color="black"><fo:block font-size="14pt" font-weight="bold" font-family="sans-serif" line-height="18pt" text-align="start"/></fo:block-container></fo:flow></fo:page-
sequence></fo:root>

who can tell me what is the mistake i do?



Re: org.apache.fop.apps.FOPException: Unknown namespace prefix fo

Posted by Christian Geisert <Ch...@isu-gmbh.de>.
JoeSch wrote:
> 
> my first steps with fop end with the error
> 
> org.apache.fop.apps.FOPException: Unknown namespace prefix fo
> 
> this is the fo-file:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <fo:root fo="http://www.w3.org/1999/XSL/Format" xmlns:fo="http://www.w3.org/1999/XSL/Format" 
Why the fo-attribute ? 

> ..
> master-set><fo:page-sequence><fo:sequence-specification><fo:sequence-specifier-repeating page-master-repeating="pages" 

fo:sequence-specification seems to be from an old draft

> ..
> who can tell me what is the mistake i do?

see above

and have a look at the docs/examples directory


Adios,
  Christian