[rfc-i] xml2rfc v3: publish the relax ng schema of draft-hoffman-xml2rfc-15

Carsten Bormann cabo at tzi.org
Mon Jan 19 14:16:19 PST 2015


On 2015-01-19 22:42, Miek Gieben wrote:
> Ah, *duh*, this is the v2 one, not the v3

Right.

ruby -r rexml/document -r open-uri -e "puts
REXML::XPath.first(REXML::Document.new(open(ARGV[0])),%{//artwork[@type='application/relax-ng-compact-syntax']}).texts.join"
http://tools.ietf.org/id/draft-hoffman-xml2rfc-00.xml

(that is the newest xml I can find) works, while the newest one that
Julian referred to has broken keepwithnext/keepwithprevious attributes.

Try:

    [ a:defaultValue = "false" ] attribute keepwithnext { "false" |
"true" }?,
    [ a:defaultValue = "false" ] attribute keepwithprevious { "false" |
"true" }?,

Gruesse, Carsten



More information about the rfc-interest mailing list