Skip to main content

valid-wadl-syntax

Overview

This rule belongs to the wadl-validation ruleset and states that:

The provided WADL document must not contain any syntax/semantic issues and use only valid XML. Each property in the file must have a type or value as defined in the standard.

PropertyValue
EnabledYes
Maximum SeverityBlocking
MessageProvided WADL document is not valid.
CodeWADL_V600
TypeValidation
Rule SystemSemantic
Broad CategoryMiscellaneous
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagswadl api semantic validation syntax xml

Suggested Fixes

  • Ensure that the file uses valid XML.
  • Ensure that each element in the WADL file has the expected type.
  • Ensure that each element has only the allowed attributes and child elements defined inside it.
  • If an element or attribute expects a value from a restricted list, ensure that the value matches with an entry from the list.

For More Information