Web Browsers Not Supporting XML 1.1

This section provides a tutorial example showing that XML 1.1 is not supported in all 4 major Web browsers: Google Chrome, Mozilla Firefox, Microsoft IE and Apple Safari.

After finishing testing XML 1.1 documents with Java, let's test Web browsers to see if they support XML 1.1 or not. Here is a valid XML 1.1 document, control-codes-1-1.xml, that was tested with Java:

<?xml version="1.1"?>
<pre>
SOH: (#x01;)=(&#x01;)
STX: (#x02;)=(&#x02;)
ETX: (#x03;)=(&#x03;)
EOT: (#x04;)=(&#x04;)
ENQ: (#x05;)=(&#x05;)
ACK: (#x06;)=(&#x06;)
BEL: (#x07;)=(&#x07;)
BS: (#x08;)=(&#x08;)
HT: (#x09;)=(&#x09;)
LF: (#x0A;)=(&#x0A;)
VT: (#x0B;)=(&#x0B;)
FF: (#x0C;)=(&#x0C;)
CR: (#x0D;)=(&#x0D;)
SO: (#x0E;)=(&#x0E;)
SI: (#x0F;)=(&#x0F;)
</pre>

Run Google Chrome 97 and open control-codes-1-1.xml, I am getting this error:

This page contains the following errors:

warning on line 1 at column 19: Unsupported version '1.1'
error on line 3 at column 21: xmlParseCharRef: invalid xmlChar value 1
Below is a rendering of the page up to the first error.

Run Mozilla Firefox 96 and open control-codes-1-1.xml, I am getting this error:

XML Parsing Error: XML declaration not well-formed
Location: file:///C:/herong/control-codes-1-1.xml
Line Number 1, Column 16:<?xml version="1.1"?>
---------------^

Run Microsoft IE 10 and open control-codes-1-1.xml, I am getting this error:

Invalid version number. Error processing resource
'file:///C:/herong/control-codes-1-1.xml'. Line 1, Position 16

<?xml version="1.1"?>
---------------^

Run Apple Safari 12 and open control-codes-1-1.xml, I am getting this error:

This page contains the following errors:

warning on line 1 at column 19: Unsupported version '1.1'
error on line 3 at column 21: xmlParseCharRef: invalid xmlChar value 1
Below is a rendering of the page up to the first error.

The picture below shows the "Unsupported version '1.1'" error given by Google Chrome 34:

XML 1.1 Not Supported in Chrome
XML 1.1 Not Supported in Chrome

Conclusion: XML 1.1 standard introduced in 2004 has not been implemented in all 4 major Web browsers in 2021.

Table of Contents

 About This Book

 Introduction of XML (eXtensible Markup Language)

 XML File Syntax

 XML File Browsers

 XML-JSON Document Conversion

 DOM (Document Object Model) Programming Interface

 SAX (Simple API for XML) Programming Interface

 DTD (Document Type Definition) Introduction

 Syntaxes of DTD Statements

 Validating an XML Document against the Specified DTD Document Type

 XSD (XML Schema Definition) Introduction

 Syntaxes of XSD Statements

 Validating XML Documents Against Specified XML Schemas

 XSL (Extensible Stylesheet Language) Introduction

 Java Implementation of XSLT

 XSLT (XSL Transformations) Introduction

 XPath (XML Path) Language

 XSLT Elements as Programming Statements

 Control and Generate XML Element in the Result

 PHP Extensions for XML Manipulation

 Processing XML with Python Scripts

 XML Notepad - XML Editor

 XML Tools Plugin for Notepad++

 XML Plugin Packages for Atom Editor

XML 1.1 Changes and Parsing Examples

 Major Changes in XML 1.1

 Supporting XML 1.1 in Java and Higher

 Control Codes Supported in XML 1.1

 Unicode Characters Supported in XML 1.1 Names

 End-of-Line Characters Supported in XML 1.1

Web Browsers Not Supporting XML 1.1

 Archived Tutorials

 References

 Full Version in PDF/EPUB