STIXProject / stix-to-html

Convert STIX XML to HTML
BSD 3-Clause "New" or "Revised" License
27 stars 12 forks source link

provide better error handling for when an unsupported document is passed in #69

Closed mattcoarr closed 9 years ago

mattcoarr commented 9 years ago

Provide better error handling for when an unsupported document is passed in -- when the incoming document is not stix, cybox, or maec (package or bundle).

Currently the xsl outputs this error:

Severity: fatal Description: XTTE0570: Conditional expression: None of the conditions is satisfied, so an empty sequence is returned, but this is not allowed as the value of variable $genericTitle