STIXProject / stix-to-html

Convert STIX XML to HTML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

mattcoarr opened this issue · comments

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