[rfc-i] draft-xml2rfc-21 error in rnc

Carsten Bormann cabo at tzi.org
Mon Aug 31 16:09:33 PDT 2015

The problem appears to be this snippet:

   anything =
     element * {
       attribute * { text }*,

This essentially says, all elements have all attributes with text structure.
This of course then conflicts with all attributes that are not defined
to have text structure.

For me the error is:
xml2rfcv3-21.rnc:592:6: error: conflicting ID-types for attribute
"target" of element "xref"
and I think it is kind of random which specific attribute will trigger
the conflict.

Grüße, Carsten

Paul Hoffman wrote:
> On 31 Aug 2015, at 3:31, Miek Gieben wrote:
>> Hello,
>> I'm validating the rnc as included in version -21 with jing, but it
>> generates the following error:
>> xml2rfcv3.rnc:593:3: error: conflicting ID-types for attribute
>> "anchor" of element "th"
>> I don't even know where to begin to debug this, or if it is 'jing' that
>> is at fault...
> I have no idea. The definition of the "anchor" attribute in "th" is
> identical to that attribute in a bunch of elements above "th" in the file.
> --Paul Hoffman
> _______________________________________________
> rfc-interest mailing list
> rfc-interest at rfc-editor.org
> https://www.rfc-editor.org/mailman/listinfo/rfc-interest

More information about the rfc-interest mailing list