开发者

What does this Apache FOP error mean?

开发者 https://www.devze.com 2022-12-14 02:55 出处:网络
Error message (Location of error unknown)org.apache.fop.fo.Validation Exception: Property id \"_Ref191196753\"

Error message

(Location of error unknown)org.apache.fop.fo.Validation Exception: Property id "_Ref191196753" previously used; id values must be unique in document.

Any ideas on what may cause this? Is it because I have a for-each and apply the same template multiple times开发者_运维百科?


The specification states the id of an element must be unique.

The following code produces the error message you get.

<fo:block id="_Ref191196753"/>
<fo:block id="_Ref191196753"/>

You need to search your fo-file to locate the occurences of the elements with the same id. Then make changes in your XSLT to eliminate these.

0

精彩评论

暂无评论...
验证码 换一张
取 消