OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

emergency message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Schema Test Results


I tested the schema from "emergency-CAPv1.1 4-21-05.doc" (I assume that
is the latest).

There's an error with validating the schema.
Fix:
  <element name = "identifier" type = "string"/> <-- missing the /

Also, http://www.incident.com/cap/1.1 has no content.

The examples need some updating since they do not validate with the new
schema:

1. The Homeland Security alert.
 Fix:
  <event>Homeland Security Advisory System Update</event>    
  <responseType>None</responseType> <-- missing
  <urgency>Immediate</urgency>   
2. Same for the Earthquake Report
 Fix:   
  <event>Earthquake</event>    
  <responseType>None</responseType> <-- missing
  <urgency>Past</urgency>     
3. Same for the Amber Alert:
 Fix:
  <event>Child Abduction</event>    
  <responseType>None</responseType> <-- missing
  <urgency>Immediate</urgency>    
 and:
  <eventCode> <-- changed
  <valueName>same</valueName> <-- missing
  <value>CAE</value> <-- missing
  </eventCode> <-- changed
 and:
  <geocode> <-- changed
  <valueName>fips6</valueName> <-- missing
  <value>006037</value> <-- missing
  </geocode> <-- changed

The thunderstorm alert is fine.

I have tested this with success using Xerces and the dotnet validators
(Linux and Windows environments).

If I uncover anything else I will post it to the list.

Cheers
Kon





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]