Validation FAQ

From ClusterLabs
Jump to: navigation, search

RelaxNG

Relax-NG validity error : Extra element XXX in interleave

The object XXX failed validation

 Relax-NG validity error : Extra element instance_attributes in interleave

element XXX: Relax-NG validity error : Element YYY failed to validate content

The object YYY contains child XXX which failed validation. Possible reasons for this include:

  • XXX is missing a required attribute (such as id)
  • XXX is missing a required child
  • The id field of XXX contains only a number
  • The id field of XXX is not unique
 element instance_attributes: Relax-NG validity error : Element primitive failed to validate content

element XXX: Relax-NG validity error : Element YYY has extra content: XXX

The object YYY contains child XXX which failed validation.

 element primitive: Relax-NG validity error : Element resources has extra content: primitive

element XXX: validity error : IDREF attribute to references an unknown ID YYY

The value YYY for object XXX refers to an object that doesn't exist. A common example of this is a constraint that refers to a node or resource that hasn't been created.

 element rsc_colocation: validity error : IDREF attribute to references an unknown ID rsc2

element XXX: Relax-NG validity error : Invalid attribute YYY for element XXX

 element cib: Relax-NG validity error : Invalid attribute validate-with for element cib

element XXX: Relax-NG validity error : Invalid attribute id for element XXX

The id supplied for object XXX was not valid. Some restrictions on valid id values include

  • Starts with a letter
  • Cannot contain ':'
 element rsc_location: Relax-NG validity error : Invalid attribute id for element rsc_location


element XXX: Relax-NG validity error : ID YYY redefined

Two XXX objects have the same value for id (YYY)

 element node: Relax-NG validity error : ID defiant.ds9 redefined

DTD