xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Mazza <gma...@apache.org>
Subject Re: FO2PDF without validation
Date Wed, 12 Jul 2006 15:34:21 GMT
If it's not compliant, then it is not an FO file, and expected output 
would have to be undefined as a result.  I'm unsure why you would want 
to code your stylesheets in an invalid way.  If you have no data, better 
to code your XSLT not to generate a fo:table to begin with.

Glen

Navanee wrote:

> Hello,
>
>  
>
> Is it possible to convert FO file to PDF without validating FO?  I am 
> getting the following Exception.
>
>  
>
> org.apache.fop.fo.ValidationException: file:///E:/test.fo:66:1145: 
> Error(66/1145): fo:table-body is missing child elements.
>
> Required Content Model: marker* (table-row+|table-cell+)
>
>             at 
> org.apache.fop.fo.FONode.missingChildElementError(FONode.java:403)
>
>             at 
> org.apache.fop.fo.flow.TableBody.endOfNode(TableBody.java:103)
>
>             at 
> org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:357) 
>
>
>             at 
> org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:193)
>
>  
>
> Your suggestions are most welcome!
>
>  
>
> Thanks,
>
>  
>
> Best Regards
>
> Navanee.
>
>  
>
>  
>


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


Mime
View raw message