Skip to content

Instantly share code, notes, and snippets.

@moonshiner
Created November 17, 2023 18:02
Show Gist options
  • Save moonshiner/aea1448783b5591fd4f2eec04f85d646 to your computer and use it in GitHub Desktop.
Save moonshiner/aea1448783b5591fd4f2eec04f85d646 to your computer and use it in GitHub Desktop.
from reading the authors-tools site on schema https://authors.ietf.org/en/templates-and-schemas
I believe you can replace your <!DOCTYPE rfc SYSTEM "rfc2629.dtd" >
with this
<?xml-model href="rfc7991bis.rnc"?>
<!DOCTYPE rfc [
<!ENTITY nbsp "&#160;">
<!ENTITY zwsp "&#8203;">
<!ENTITY nbhy "&#8209;">
<!ENTITY wj "&#8288;">
]>
yes, more. but it also seems to not make xml2rfc complain like it does currently.
@Abhayakara
Copy link

So, my experience of this is that when I tried that, it blew up in my face. Maybe the tools have been fixed since then?

@moonshiner
Copy link
Author

I will experiment some more and return with data !

@moonshiner
Copy link
Author

So in doing tests using the workflow the tools accept this change. Also, when I use the original xml with author-tools.ietf.org and ask for a xml2rfc v3 document, it throws errors "error on line 139 at column 33: Entity 'nbsp' not defined"

this is probably me being overly pedantic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment