# Faults
namespace local = ""
default namespace tns =
"http://www.ggf.org/namespaces/2004/10/gridNetworkMonitoring"
include "nm_requestbody.rnc"
## The nmwgFault element has the following content:
## A mandatory element, containing the NMWG error code for the fault.
## Any number of optional elements containing a human-readable message. Each message element has a lang attribute indicating the language.
## An optional element. This is used in a TryAgainFault to indicate the number of seconds the client should wait before trying again.
## An optional element, containing a networkMeasurementRequest. This can be used in a TryAgainFault to force the client to use a particular message.
start =
element nmwgFault { NoDataFault | CommunicationFault | SystemFault | AuthorisationFault | RequestFault | DiscoveryFault | TryAgainFault }
## All NMWGFaults must contain this elements
NMWGFault =
element code { xsd:positiveInteger } &
element message { text, attribute lang { token } }*
NoDataFault =
NMWGFault
CommunicationFault =
NMWGFault
SystemFault =
NMWGFault
AuthorisationFault =
NMWGFault
RequestFault =
NMWGFault
DiscoveryFault =
NMWGFault
## When instructed to try again, a client should wait for the specified delay before presenting another request.
TryAgainFault =
NMWGFault &
## Wait this many seconds before trying again.
element delay { xsd:double } &
## If this is specified, the client should present the given networkMeasurementRequest
## element when when it tries again.
element usingRequest { external "nm_request.rnc" }?