metanorma: The Metanorma Snap package fails to compile the example
Following the instructions provided the compilation of the example fails. OS: Debian GNU/Linux 11 (bullseye)
Commands executed:
sudo apt install snapd
sudo snap install metanorma
git clone https://github.com/metanorma/rfc-camelot-holy-grenade.git
/snap/bin/metanorma -t ietf -x html,txt draft-camelot-holy-grenade.adoc
Output:
~/devel/rfc-camelot-holy-grenade/sources$ /snap/bin/metanorma -t ietf -x html,txt draft-camelot-holy-grenade.adoc [relaton-ietf] (“IETF RFC 8140”) fetching… [relaton-ietf] (“IETF RFC 8140”) found RFC 8140 [relaton-ietf] (“RFC 2119”) fetching… [relaton-ietf] (“RFC 2119”) found RFC 2119 [relaton] Grail does not have a recognised prefix [relaton-ietf] (“RFC 2635”) fetching… [relaton-ietf] (“RFC 2635”) found RFC 2635 [relaton-ietf] (“RFC 7990”) fetching… [relaton-ietf] (“RFC 7990”) found RFC 7990 [relaton-ietf] (“RFC 8174”) fetching… [relaton-ietf] (“RFC 8174”) found RFC 8174 [relaton] Grail does not have a recognised prefix Metanorma XML Style Warning: (XML Line 000246): Hanging paragraph in clause Metanorma XML Style Warning: (XML Line 000503): Hanging paragraph in clause Metanorma XML Style Warning: (XML Line 000509): Table should have title Metanorma XML Syntax: (XML Line 000011:123): character content of element “revision-date” invalid; must be a string matching the regular expression “([+-]?\d{4})((-?)((0[1-9]|1[0-2])((-?)([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6]))))?” Metanorma XML Syntax: (XML Line 000080:88): attribute “obligation” not allowed here; expected attribute “language”, “numbered”, “removeInRFC”, “script” or “toc” Metanorma XML Syntax: (XML Line 000408:7): element “svg” not allowed here; expected the element end-tag or element “audio”, “dl”, “figure”, “fn”, “image”, “note”, “p”, “pre”, “source” or “video” RFC XML: Line 000338:466 element “svg” not allowed here; expected element “artset”, “artwork”, “iref”, “preamble” or “sourcecode” (with xmlns=“”) RFC XML: Line 000657:16 element “figure” incomplete; expected element “artset”, “artwork”, “iref”, “preamble” or “sourcecode” /home/user/devel/rfc-camelot-holy-grenade/sources/draft-camelot-holy-grenade.rfc.xml(338): Error: Did not expect element svg there, at /rfc/middle/section[4]/section[2]/figure[2]/[2] /home/user/devel/rfc-camelot-holy-grenade/sources/draft-camelot-holy-grenade.rfc.xml(338): Error: Element figure has extra content: svg, at /rfc/middle/section[4]/section[2]/figure[2]/[2] /home/user/devel/rfc-camelot-holy-grenade/sources/draft-camelot-holy-grenade.rfc.xml(11): Error: Invalid document before running preptool. Unable to complete processing /home/user/devel/rfc-camelot-holy-grenade/sources/draft-camelot-holy-grenade.rfc.xml /home/user/devel/rfc-camelot-holy-grenade/sources/draft-camelot-holy-grenade.rfc.xml(338): Error: Did not expect element svg there, at /rfc/middle/section[4]/section[2]/figure[2]/[2] /home/user/devel/rfc-camelot-holy-grenade/sources/draft-camelot-holy-grenade.rfc.xml(338): Error: Element figure has extra content: svg, at /rfc/middle/section[4]/section[2]/figure[2]/[2] /home/user/devel/rfc-camelot-holy-grenade/sources/draft-camelot-holy-grenade.rfc.xml(11): Error: Invalid document before running preptool. Unable to complete processing /home/user/devel/rfc-camelot-holy-grenade/sources/draft-camelot-holy-grenade.rfc.xml
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 24 (15 by maintainers)
Commits related to this issue
- wrap svg with artwork in RFC XML: https://github.com/metanorma/metanorma/issues/295 — committed to metanorma/metanorma-ietf by opoudjis 3 years ago
Requesting editors to convert the document