#513 ENRICH Manuscript to PDF

closed-duplicate
5
2014-08-22
2013-01-25
Sorin Ristache
No

I transform the following TEI ENRICH Manuscript document to XSL-FO using xml/tei/stylesheet/fo2/teiCustom.xsl:

<TEI xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<fileDesc>
<titleStmt>
<title>Title</title>
</titleStmt>
<publicationStmt>
<p>Publication Information</p>
</publicationStmt>
<sourceDesc>
<p>Information about the source</p>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<body>
<listBibl>
<msDesc xml:id="MS1" xml:lang="en">
<msIdentifier>
<settlement>where is it</settlement>
<repository>repository name</repository>
<idno>identifier</idno>
</msIdentifier>
</msDesc>
</listBibl>
</body>
</text>
</TEI>

and I get a FO validation error:

ERROR - Exception
net.sf.saxon.trans.XPathException: org.apache.fop.fo.ValidationException: "fo:list-block" is missing child elements. Required content model: marker* (list-item)+ (See position 1:-1)
at org.apache.fop.cli.InputHandlerFOP.transformTo(InputHandlerFOP.java:302)
at org.apache.fop.cli.InputHandlerFOP.renderTo(InputHandlerFOP.java:130)
at org.apache.fop.cli.Main.startFOP(Main.java:177)
at org.apache.fop.cli.Main.main(Main.java:208)
Caused by: net.sf.saxon.trans.XPathException: org.apache.fop.fo.ValidationException: "fo:list-block" is missing child elements. Required content model: marker* (list-item)+ (See position 1:-1)
at net.sf.saxon.event.ContentHandlerProxy.handleSAXException(ContentHandlerProxy.java:544)
at net.sf.saxon.event.ContentHandlerProxy.endElement(ContentHandlerProxy.java:406)

Discussion

    • status: open --> closed-duplicate
     
  • thats the same as one you reported the other day about tei_ms, so now fixed