XML Documents Confirmation System Design Based on Schema Documents
暂无分享,去创建一个
To achieve the validity of the documents,any application programme has to verify the XML(Extensible Markup Lauguage) document,before the implementation of the calculation and conversion of XML data.After closure examining of XML documents verified,test the data structure of XML document and corresponding Schema document,to judge whether their tree structure are isomorphous.Then by using DOM technology to read every node of the schema document tree and the XML document tree,judge if all nodes of XML document tree are met the rules defined by nodes of corresponding schema document,specifically the type definition parts,the components,and the properties group components.The system can be used successfully to detect the XML documents to be verified,based on schema document rules;and to judge and point out all XML document errors and their position,on the premise of meeting the closure and isomorphism requirements.