CHAPTER
10-97
Cisco CRS-1 Series Carrier Routing System XML API Guide
OL-4596-01
10
Error Reporting in Cisco CRS-1 Series XML
Responses
The extensible markup language (XML) responses returned by the Cisco CRS-1 Series Carrier Routing
System (Cisco CRS-1 Series) router will contain error information as appropriate, including the
operation, object, and cause of the error when possible. The error codes and messages returned from the
Cisco CRS-1 Series router may originate in the XML agent or in one of the other Cisco CRS-1 Series
infrastructure layers; for example, the XML Service Library, XML Parser Library, or Configuration
Manager.
Note The XML API code is available for use on any Cisco platform that runs Cisco IOS XR software.
Types of Reported Errors
The types of potential errors in Cisco CRS-1 Series XML Responses are categorized in Table 10-1.
Table 10-1 Reported Error Types
Error Type Description
Transport errors Transport-specific errors are detected within the XML agent (and
include failed authentication attempts).
XML parse errors XML format or syntax errors are detected by the XML Parser
Library (and include errors resulting from malformed XML,
mismatched XML tags, and so on).
XML schema errors XML schema errors are detected by the XML operation provider
within the Cisco CRS-1 Series infrastructure (and include errors
resulting from invalid operation types, invalid object hierarchies,
values out of range, and so on).
Operation processing errors Operation processing errors are errors encountered during the
processing of an operation, typically as a result of committing the
target configuration (and include errors returned from
Configuration Manager and the Cisco CRS-1 Series infrastructure
such as failed authorization attempts, and “invalid configuration
errors” returned from the back-end Cisco CRS-1 Series operating
system applications).