W3C home > Mailing lists > Public > www-archive@w3.org > July 2002

What do these error messages mean? (xmldsig schema)

From: Joseph Reagle <reagle@w3.org>
Date: Wed, 10 Jul 2002 16:52:11 -0400
To: jjc@jclark.com
Message-Id: <200207101636.31526.reagle@w3.org>
Cc: www-archive@w3.org

I'm now trying to transliterate the XSD to RNG, and have made decent 
progress so far, but have run into two errors with the attached rng I don't 

line number 40: duplicate attribute

I know one or both of the two are guilty, but I don't see what's wrong with 
 <element name='CanonicalizationMethod'>
   <ref name='CanonicalizationMethodType'/>
<element name='SignatureMethod'>
  <ref name='SignatureMethodType'/>

line number 100: both operands of "interleave" contain "text"
Error at URL 

And I'm not sure what's wrong with this either. I'm emulating a schema 
strategy, should I instead use a <interleave> with every element a child of 
<zeroOrMore>? (That wouldn't quite do it as I definitely want *one* of 
something, other than that it can be any of these things, one or more 
times, in any order.)

<define name='KeyInfoType'>
            <element name='KeyName'><data type='string'/></element>
            <element name='KeyValue'><ref name='KeyValueType'/></element>
            <element name='RetrievalMethod'>
		<ref name='RetrievalMethodType'/>
            <element name='X509Data'><ref name='X509DataType'/></element>
            <element name='PGPData'><ref name='PGPDataType'/></element>
            <element name='SPKIData'><ref name='SPKIDataType'/></element>
            <element name='MgmtData'><data type='string'/></element>
            <optional><attribute name='Id'>
              <data type='ID'/></attribute>

Received on Wednesday, 10 July 2002 16:52:15 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:42:08 UTC