Skip to content

Unable to build the RFC

I'm unable to build the RFC, and it looks like a problem with the template:

% git describe
draft-ietf-openpgp-rfc4880bis-03-34-gfa4b681
% pandoc2rfc -v abstract.mkd middle.mkd back.mkd
pandoc -t docbook -s abstract.mkd | xsltproc /home/teythoon/.local/stow/pandoc2rfc/share/pandoc2rfc/transform.xsl - > abstract.xml
pandoc -t docbook -s middle.mkd | xsltproc /home/teythoon/.local/stow/pandoc2rfc/share/pandoc2rfc/transform.xsl - > middle.xml
pandoc -t docbook -s back.mkd | xsltproc /home/teythoon/.local/stow/pandoc2rfc/share/pandoc2rfc/transform.xsl - > back.xml
xml2rfc template.xml -f draft.txt --text && rm abstract.xml middle.xml back.xml
Parsing file template.xml
Error: Unable to validate the XML document: template.xml
 <string>: Line 83: Element abstract content does not follow the DTD, expecting (t)+, got (CDATA)
 <string>: Line 88: Element middle content does not follow the DTD, expecting (section)+, got (CDATA)
 <string>: Line 92: Element back content does not follow the DTD, expecting (references* , section*), got (references references CDATA)