Project

General

Profile

Feature #6079

Support JSON or XML output from emlparser

Added by ben leinfelder over 5 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Category:
eml-parser
Start date:
09/06/2013
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:

Description

The online parser servlet returns HTML, but there has been a request to support alternate output formats for programatic interactions.

Matt's proposed schema


<!ELEMENT response (validation+)>
<!ELEMENT validation (message*)>
<!ATTLIST validation type (#PCDATA) #REQUIRED>
<!ATTLIST validation status (passed | failed) #REQUIRED>
<!ELEMENT message (#PCDATA)>

and example:


<response>
  <validation type="emlparse" status="failed">
    <message>Missing key for reference to node "154A12"</message>
    <message>Missing key for reference to node "26A467"</message>
  </validation>
  <validation type="saxparse" status="passed" />
</response>

History

#1 Updated by ben leinfelder over 5 years ago

  • Target version set to EMLPARSER_2_1_1_UPDATE_3

Targeting an "update" release for the EML Parser servlet that is housed in the EML project and tagged separately from the EML schema and style sheets (though still in relation to the version it supports).

Also available in: Atom PDF