Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metanorma update from 1.10.1 to 1.11.1 fails compiling I-D #215

Open
cisba opened this issue Nov 23, 2024 · 1 comment
Open

Metanorma update from 1.10.1 to 1.11.1 fails compiling I-D #215

cisba opened this issue Nov 23, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@cisba
Copy link

cisba commented Nov 23, 2024

Metanorma update from 1.10.1 to 1.11.1 fails compiling Internet draft dlts.

Output last message:
/home/user/devel/i-d_dlts/draft-intesigroup-dlts.rfc.xml(9): Error: Invalid document before running preptool.
Unable to complete processing /home/user/devel/i-d_dlts/draft-intesigroup-dlts.rfc.xml

Files err.xml attached here:
r1.10.1_draft-intesigroup-dlts.err.html.txt
r1.11.1_draft-intesigroup-dlts.err.html.txt

@opoudjis opoudjis self-assigned this Nov 25, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in Metanorma Nov 25, 2024
@opoudjis opoudjis added the bug Something isn't working label Nov 25, 2024
opoudjis added a commit that referenced this issue Nov 25, 2024
@opoudjis
Copy link
Contributor

I found the issue, and I'm surprised it hadn't surfaced before now: dt/@id in Metanorma XML was not transforming correctly into dt/@anchor.

I'll fix this now, but we aren't scheduled for another release for two weeks. Until the release, you can use the updated code to compile the file by creating the file Gemfile in the i-d_dlts directory:

source "https://rubygems.org"

gem "metanorma-cli"
gem "metanorma-ietf", git: "https://github.com/metanorma/metanorma-ietf", branch: "main"

And running

bundle update
bundle exec metanorma site generate

Confirmed bug and fix with latest version of xml2rfc. Please confirm this is working for you.

@opoudjis opoudjis moved this from 🆕 New to 👀 In review in Metanorma Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 👀 In review
Development

No branches or pull requests

2 participants