Re: [niso-sts] STS validation warnings

Subject: Re: [niso-sts] STS validation warnings
From: Bruce Rosenblum <bruce@xxxxxxxxx>
Date: Tue, 30 Jan 2018 08:46:17 -0500
Hi Dan,

Chances are the XML file you tested is missing these two lines at the very top:

        <?xml version="1.0" encoding="UTF-8"?>
         <!DOCTYPE standard SYSTEM "NISO-STS-extended-1-mathml2.dtd">

Without this information, it's not likely that any other validation information from the W3 XML validator is useful or correct, so adding these lines may highlight further problems.

Best regards,


At 10:40 PM 1/29/2018, Dan Berger dberger@xxxxxxxx wrote:

I ran a standard in NISO STS through the W3 XML validator and it came back valid except for these two warning. Can someone please advise on how to fix these or at least address them? Having worked with XML before I understand the warnings, but don't know how to address them with this DTD. Thanks.

1.  Missing "charset" attribute for "text/xml" document.
The HTTP Content-Type header (text/xml) sent by your web browser (Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36) did not contain a "charset" parameter, but the Content-Type was one of the XML text/* sub-types.
The relevant specification (RFC 3023) specifies a strong default of "us-ascii" for such documents so we will use this value regardless of any encoding you may have indicated elsewhere.
If you would like to use a different encoding, you should arrange to have your browser send this new encoding information.
2.  No DOCTYPE found! Checking XML syntax only.
The DOCTYPE Declaration was not recognized or is missing. This probably means that the Formal Public Identifier contains a spelling error, or that the Declaration is not using correct syntax, or that your XML document is not using a DOCTYPE Declaration.
Validation of the document has been skipped, and a simple check of the well-formedness of the XML syntax has been performed instead.

Daniel Berger
Senior Manager of Production
American Water Works Association
6666 West Quincy Ave., Denver, CO 80235
Direct 303.347.6264 | Mobile 406.370.9095
dberger@xxxxxxxx |

This communication is the property of the American Water Works Association and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply email and destroy all copies of the communication and any attachments.

American Water Works Association
Dedicated to the World's Most Important Resource ®
NISO STS Discussion Mailing list by Mulberry Technologies, Inc.
or by email: niso-sts-list-unsub@xxxxxxxxxxxxxxxxxxxxxx

This email message and any attachments are confidential. If you are not the intended recipient, please immediately reply to the sender or call 617-932-1932 and delete the message from your email system. Thank you.
Bruce D. Rosenblum
Inera Inc.
19 Flett Road, Belmont, MA 02478
phone: 617-932-1932 (office)
email: bruce@xxxxxxxxx
web: |
twitter:  @eXtyles | @edifix
Current Thread