Open511 validator alpha

   
{% if fetch_error %}

Couldn't fetch the document.

We couldn't even get to the validation step -- we couldn't fetch the document. Try pasting a document in instead?

Here's the error:

{{ fetch_error }}

{% endif %} {% if deserialize_error %}

That doesn't look like a well-formed XML or JSON document.

We couldn't even get to the validation step -- we couldn't parse that as either XML or JSON.

Here's the error:

{{ deserialize_error }}

{% endif %} {% if success %}

Yes! This document is valid.

{% endif %} {% if error %}

Uh-oh. This document doesn't validate.

Here's the error:

{{ error }}

The errors produced by the current validator are often stunningly unhelpful. (And note that line numbers refer only to the XML serialization.) If you're not sure what the problem is, we're eager to help: please send your document to open511@opennorth.ca.

{% endif %} {% if doc_content %}
{{ doc_content }}
{% endif %} {% if xml_string %}
{{ xml_string }}
{{ json_string }}
{% endif %}