官术网_书友最值得收藏!

Schema validation in XDK 11g

XDK 11g provides the Simple API for XML (SAX) and the Document Object Model (DOM) API for parsing an XML document. XDK 11g is included with JDeveloper 11g. XDK 11g parsers DOMParser and SAXParser may be configured for schema validation. In this chapter, we will discuss the procedure to validate an XML document with the SAXParser and the DOMParser. XDK 11g also provides a schema validation-specific API known as XSDValidator to validate an XML document with an XML schema. The choice of validation method depends on the additional functionality required in the validation application. SAXParser is recommended if SAX parsing event notification is required in addition to validation with a schema. DOMParser is recommended if the DOM tree structure of an XML document is required for random access and modification of the XML document. SAX and DOM parsing were discussed in Chapter 1. XSDValidator is suitable for validation if all that is required is schema validation, and SAX parsing event notification or DOM parsing DOM tree for random access and document modification are not required.

主站蜘蛛池模板: 工布江达县| 玉环县| 北京市| 澄城县| 长寿区| 道真| 巴林左旗| 博兴县| 沽源县| 富裕县| 临西县| 化隆| 安福县| 获嘉县| 清原| 汉川市| 仪陇县| 兰溪市| 六盘水市| 榆社县| 四会市| 乃东县| 轮台县| 调兵山市| 安化县| 平乐县| 那坡县| 宁明县| 吉水县| 荣成市| 南京市| 碌曲县| 札达县| 文山县| 越西县| 桂阳县| 麻城市| 原平市| 基隆市| 墨竹工卡县| 城固县|