Summarya tools(like dom4j)which parase the xml file with the schema. And give a detail error message is parse failure. a new data structure(domTree) which contain all of the xml elements/attribute and its rule come from the schema TODO List2008.9.10:
Add lazy loading function Remove some parameters and method 2008.9.1 Add a new method to enable in FF3.0 browser - getElementsByTagName should refact this method!! modify the "getRuleBySimpleType" method in x-rule.js modify the "MultiNSSchemaParse" class's findRootElement/findElementByName/findSimpleType/findElementChildrenContentRule/findElementChildrenStructRule modify the DefaultDomTree class's init/isElementExist method add new method "getElementsByTagName" in x-common.js Modify the List class in x-common.js - (add new method:removeAll) change the "RULE_VALIDATE_NOT_PATTERN_1" and "RULE_VALIDATE_NOT_PATTERN_2" values in x-variable.js - (128 to 256) change the "PrintableStringRule" method in x-rule.js - (128 to 256) change the "formatData" method in x-common.js - (: character to ;) change the "getRuleByType" in x-rule.js -(support the "nonNegativeInteger" rule)Investigate: SHOULD GIVE THE REASON WHY?! add new field prototype in DomTreeElement class modify the "DefaultDomTree" class (Why?)in the "init" method. omit the below code.
//add special attributes which be defined in the xml file
//like xmlns:/xsi etc.
/*
var alength = dt_r.attributes.length;
var xattrs = root.attributes;
for(var i=0;iadd new fields in DefaultDomTree class - root and this(Why?) modify the toXml method implementation! modify addChildrens method: set the prototype value modify addChildrens method: remove the formatData method add a new metho this.findAllAttributes()!! modify the findAllAttributes implementation!! add a new method getNameSpacePrefix. modify the xmleditor.js file add new field "expandAll" add new method: displayActivityTable modify the openElement method- add "element.setAttributes(domTree.findAllAttributes(element));" modify the showHelpIcon method - estimate the attribute is null or empty modify the changeAttrStatus method - estimate the attribute is null or not modify the isElementItemExisted method (why?) modify the printElement method(why?) modify the printElementChildrens method(why?) modify the appendLeafElementTd2 method.(format data value) modify the appendAttributeTd2 method.(format data value) modify the appendElementValueTd2 method.(format the data value) modify the getInputOfAttribute method. (change the patten) modify the executeSuccess method.(format the data value) modify the xmleditor-function.js file omit the toggleHelpState method (why?) modify the validate.js file fix the isNonNegativeInteger method's bug add a new method-isHex() 2006.09.06
implement the "save" function enhange SingleNSSchemaParse class modify getElementChildrens method : add logic to parse the node modify findElementStructRule method: above add a new rule ChoiceOccursRule class modify findElementChildrenStructRule method of SingleNSSchemaParse class add toXml method in the domtree.js modify prototype: if the element has no childrens,do not display the action options add LinkListDomTreeContext class add a property "imagePrefix" in the XXXSchema2Html
ReferenceSchema
http://www.w3.org/TR/xmlschema-2/#normalizedString http://www.oracle.com/technology/global/cn/pub/articles/srivastava_datatypes.html http://www-128.ibm.com/developerworks/cn/xml/x-schema/part1/index.html http://www-128.ibm.com/developerworks/cn/xml/theme/indexcxl.html
Regex
http://www.z6688.com/info/34969-1.htm
30 Day Summary Apr 16 2013 — May 16 2013
|
12 Month Summary May 16 2012 — May 16 2013
|
Copyright
©
2013
Black Duck Software, Inc.
and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a
Creative Commons Attribution 3.0 Unported License
. Ohloh
®
and the Ohloh logo are trademarks of
Black Duck Software, Inc.
in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.