Using Mozilla Firefox as an XML Syntax Checker

This section provides a tutorial example on how to use Mozilla Firefox as an XML file syntax checker. If there are syntax errors in an XML file, Firefox will stop displaying the XML file at the first error location.

Mozilla Firefox can also be used as an XML syntax checker.

If you open incorrect.xml used in previous sections with Firefox, you will see this:

XML Parsing Error: mismatched tag. Expected: </name>.
Location: file:///C:/herong/xml/incorrect.xml
Line Number 8, Column 32:  <name is_acronym="true">XML</Name>
-------------------------------^

Again Firefox behaved almost in the same way as Chrome, showing only the first error with the line number and the column number, as shown in the picture below:
XML Syntax Error Showing in Firefox

Last update: 2014.

Table of Contents

 About This Book

 Introduction of XML (eXtensible Markup Language)

 XML File Syntax

XML File Browsers

 Using Google Chrome as an XML Browser

 Using Google Chrome as an XML Syntax Checker

 Using Mozilla Firefox as an XML Browser

Using Mozilla Firefox as an XML Syntax Checker

 Using Internet Explorer as an XML Browser

 Using Internet Explorer as an XML Syntax Checker

 XML Spy and Other XML Browsers

 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

 XSLT (XSL Transformations) Introduction

 Java Implementation of XSLT

 XPath (XML Path) Language

 XSLT Elements as Programming Statements

 Control and Generate XML Element in the Result

 XML Notepad - XML Editor

 XML Tools Plugin for Notepad++

 XML 1.1 Changes and Parsing Examples

 Outdated Tutorials

 References

 PDF Printing Version