• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

6. Power XML for Web Pages > 59. Get Tools for XML Validation

Get Tools for XML Validation

Complement your XML content development processes with life-saving tools.

XML content is interpreted rather than compiled by Firefox. If XML is interpreted by a nonvalidating parser, only basic syntax errors are reported. This hack shows how to check your XML content more thoroughly.

Tip

There is no DTD or XML schema for either Mozilla’s XUL or Mozilla’s XBL dialects of XML.

Built-In XML-Checking Tools

Firefox’s strict XML parser [Hack #58] checks all XML content for well-formedness. If the content is to be displayed as a document and it contains a simple syntax error, Firefox will display an error. This sample code has incorrectly nested tags:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint