Specifications

B-16
Cisco Internet Streamer CDS 2.0-2.3 Software Configuration Guide
OL-13493-04
Appendix B Creating Manifest Files
Manifest Validator Utility
In the preceding example, although there are no warnings, two errors are found, and this Manifest file is
syntactically incorrect, as shown in the following message:
ERROR (/state/dump/tmp.xml.1040667979990 line: 23 col: 1 ):No character data is allowed by
content model
ERROR (/state/dump/tmp.xml.1040667979990 line: 23 col: 9 ):Expected end of tag 'host'
Manifest File: /state/dump/tmp.xml.1040667979990
Total Number of Error: 2
Total Number of Warning: 0
Manifest File is NOT CORRECT!
The following full-text output is an example of the invalid Manifest file after the Manifest Validator
checks the file:
Manifest validated: http://qiwzhang-lnx/nfs-obsidian/Unicorn/my-single-bad.xml
The manifest is downloaded as /state/dump/tmp.xml.1040667979990 for validation, this file
will be removed when validation is completed.
Start CdnManifest
Start item
priority=20
src=tmp/mao's.html
End item
Start server
name=my-dev'box
Start host
name=http://128.107.150.26
proto=http
uuencoded=false
End host
End server
Start item
priority=300
src=tmp/lu.html
End item
Start item
src=/tmp/first_grader.html
End item
Start server
name=server0
Start host
name=http://umark-u5.cisco.com:8080/
uuencoded=false
ERROR (/state/dump/tmp.xml.1040667979990 line: 23 col: 1 ):No character data is allowed by
content model
ERROR (/state/dump/tmp.xml.1040667979990 line: 23 col: 9 ):Expected end of tag 'host'
Manifest File: /state/dump/tmp.xml.1040667979990
Total Number of Error: 2
Total Number of Warning: 0
Manifest File is NOT CORRECT!
Understanding Manifest File Validator Output
The Manifest Validator messages appear below the Manifest File in the Manifest Validator page.
Each output file has a similar structure and syntax. It clearly identifies any errors or warning messages
arising from incorrect Manifest file syntax. Manifest files are determined by the validator to be either: