CAP AlertEditor and Validation

You can validate the XML directly in the CAP AlertEditor. Validation assures that the XML elements are all properly constructed and labeled according to the CAP standards. Click the button “External Validation” near the top of the screen to see the google.org Common Alerting Protocol Validator to the right of the editor:

CAP editor validation

Click the “Validate” button within the Validator and scroll down to see the validation status. You may have to scroll down within the Validator frame to locate the “Validate” button. Since the XML generated by the CAP AlertEditor is proper, any draft alert should validate.

You can also access the google.org validator directly at https://cap-validator.appspot.com/ if you are working with another source of CAP alert message XML.