Summary
Summary
XML data increases its usefulness if its structure can be
predicted. It is for this reason that the XML 1.0 recommendation provided for
Document Type Definitions against which a validating parser could compare the
data. These DTDs provided for additional information, such as defaulted
attributes, but also required the learning of a new syntax, and were limited in
the amount of control provided to programmers. For these reasons, the XML Schema specification
was developed. Schemas allow the definition of XML structures using XML itself.
The Xerces-Java 2 XML parser is a fully-conforming XML Schema
processor. It enables developers to create schemas according to the W3C's XML
Schema Recommendation and validate instance documents accordingly.
Xerces provides a good deal of programmatic control
over the process through the use of features and properties that can be set
within the application.
7 of 9 |
Previous |
Next
Comments
Back to top
Help: Update or add to My dW interests
What's this?
This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.
And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.
View your My developerWorks profile
Return from help
static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=XML
ArticleID=138528
TutorialTitle=XML Schema Validation in Xerces-Java 2
publish-date=07162002
author1-email=nicholas@nicholaschase.com
author1-email-cc=