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

Julian Reschke julian.reschke at gmx.de
Mon Jan 19 14:30:30 PST 2015


On 2015-01-19 23:16, Carsten Bormann wrote:
> 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

Indeed. I was just discussing it with Paul. Seems that "trang" accepts 
garbage and then consequently produces garbage, which was a surprise to 
me. We'll add some kind of validation to the build process.

Sorry for the confusion and thanks for reporting!

Best regards, Julian





More information about the rfc-interest mailing list