XML Validation

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • june

    #1

    XML Validation


    I am having problems validating some xml via msxml. xmlspy work
    wonderfully.

    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 fails to fin
    the simple type. It also fails to recognize the maxlengths of simpl
    types.

    Am I doing something wrong. Any help gratefully recevied.

    Is there a 3rd party product I can use (from within code)

    jun
    -----------------------------------------------------------------------
    Posted via http://www.forum4designers.co
    -----------------------------------------------------------------------
    View this thread: http://www.forum4designers.com/message46419.htm

Working...