Validating and non validating parser
In particular, environments with JAXP 1.1 support include SAX2.
Start by creating a class that extends Default Handler: method that uses the the create XMLReader method from the XMLReader Factory class to choose a SAX driver dynamically. Default Handler; public class My SAXApp extends Default Handler You can compile this code and run it (make sure you specify the SAX driver class in the sax.driver property), but nothing much will happen unless the document contains malformed XML, because you have not yet set up your application to handle SAX events.
In this article, I'll explain the format and syntax rules for UK postcodes, and show you some SQL Server code for parsing and validating them.
The previous errata for this document, are also available. This document is also available in these non-normative formats: XML and XHTML with color-coded revision indicators.
Copyright © 2008 The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document.
By Mike Lewis If your database contains UK address data, it's especially important that the postcodes are correctly stored.
British postcodes do much more than speed the mail.