Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top