I am trying to validate some xml via msxml (works OK via xmlspy).
XML := CreateOLEObject ('MSXML2.DOMDoc ument.4.0');
Xml.validateOnP arse := true;
XML.resolveExte rnals := true;
XSDL := CreateOLEObject ('MSXML2.XMLSch emaCache.4.0');
xsdl.validateOn Load := true;
XSDL.add(NSEdit .Text,'aaa.xsd' );
XSDL.add(NSEdit .Text,'bbb.xsd' );
XSDL.add(NSEdit .Text,'ccc.xsd'
XML.async := false;
XML.load('aaa.x ML');
bbb.xsd references a simple type in ccc.xsd, but msxml doesn't find
it, as I said xmlspy does.
Also mslxml doesn't seem to pick up the maxlength attribute.
Can any one give me some pointers to what I am doing wrong, or tell be
of a 3rd party product I can use from within code, which works!.
XML := CreateOLEObject ('MSXML2.DOMDoc ument.4.0');
Xml.validateOnP arse := true;
XML.resolveExte rnals := true;
XSDL := CreateOLEObject ('MSXML2.XMLSch emaCache.4.0');
xsdl.validateOn Load := true;
XSDL.add(NSEdit .Text,'aaa.xsd' );
XSDL.add(NSEdit .Text,'bbb.xsd' );
XSDL.add(NSEdit .Text,'ccc.xsd'
XML.async := false;
XML.load('aaa.x ML');
bbb.xsd references a simple type in ccc.xsd, but msxml doesn't find
it, as I said xmlspy does.
Also mslxml doesn't seem to pick up the maxlength attribute.
Can any one give me some pointers to what I am doing wrong, or tell be
of a 3rd party product I can use from within code, which works!.
Comment