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

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.

主站蜘蛛池模板: 蓬安县| 墨玉县| 东源县| 公安县| 思南县| 任丘市| 潮安县| 黄陵县| 巴楚县| 台南市| 体育| 鹿邑县| 屏东市| 东台市| 扎鲁特旗| 尼木县| 西和县| 扎鲁特旗| 尚义县| 高陵县| 朝阳县| 大石桥市| 辽源市| 武冈市| 昌江| 万荣县| 丹棱县| 罗田县| 仁布县| 邛崃市| 通渭县| 蕉岭县| 江陵县| 鸡西市| 武威市| 洪雅县| 应城市| 长治市| 莎车县| 榆树市| 三门县|