djc / rnc2rng

RELAX NG Compact to regular syntax conversion library
MIT License
16 stars 13 forks source link

Encode ampersand #2

Closed jayvdb closed 8 years ago

jayvdb commented 8 years ago

This is looking really good, except...

$ wget https://raw.githubusercontent.com/citation-style-language/schema/master/csl-terms.rnc
$ rnc2rng csl-terms.rnc > csl-terms.rng
$ xmllint csl-terms.rng
csl.rng:135: parser error : xmlParseEntityRef: no name
          <a:documentation>"sub verbo" is recognized as "sub" & "verbo" in attri
                                                 ^
djc commented 8 years ago

Doh! I actually noticed that yesterday and promptly forgot about it again. It should be better now...