MSXML 6.0 + XML Schema - XML SOAP

This is a discussion on MSXML 6.0 + XML Schema - XML SOAP ; Hi Pals.. I am trying to validate an XML document using MSXML against a schema that contains 4 import/include statements to additional .xsd files. The code is written in C/C++. MSXML seems to work ok if I use a simple ...

+ Reply to Thread
Results 1 to 3 of 3

MSXML 6.0 + XML Schema

  1. Default MSXML 6.0 + XML Schema





    Hi Pals..
    I am trying to validate an XML document using MSXML against a
    schema that contains 4 import/include statements to additional .xsd
    files.

    The code is written in C/C++.
    MSXML seems to work ok if I use a simple schema to validate our XML (a
    schema that is not using any import statements) but when using a schema
    with import statements, It fired some errors..

    This complex schema validates with no problems in XMLSpy.
    So could you tell me how to handle this situation in MSXML..

    so please guide for same..

    thanks



    *** Sent via Developersdex http://www.developersdex.com ***

  2. Default Re: MSXML 6.0 + XML Schema

    On 5 Jun, 06:52, anonym...@devdex.com <anonym...@devdex.com> wrote:
    > Hi Pals..
    > I am trying to validate an XML document using MSXML against a
    > schema that contains 4 import/include statements to additional .xsd
    > files.
    >
    > The code is written in C/C++.
    > MSXML seems to work ok if I use a simple schema to validate our XML (a
    > schema that is not using any import statements) but when using a schema
    > with import statements, It fired some errors..
    >
    > This complex schema validates with no problems in XMLSpy.
    > So could you tell me how to handle this situation in MSXML..
    >
    > so please guide for same..
    >
    > thanks


    Can you not load each of the schemas into the IXMLDOMSchemaCollection
    schema cache?

    Pete.
    --
    =============================================
    Pete Cordell
    Tech-Know-Ware Ltd
    for XML Schema to C++ data binding visit
    http://www.codalogic.com/lmx/
    =============================================


  3. Default Re: MSXML 6.0 + XML Schema

    anonymous@devdex.com wrote:

    > I am trying to validate an XML document using MSXML against a
    > schema that contains 4 import/include statements to additional .xsd
    > files.


    Are you setting the resolveExternals property to true?




    --

    Martin Honnen --- MVP XML
    http://JavaScript.FAQTs.com/

+ Reply to Thread

Similar Threads

  1. Replies: 2
    Last Post: 07-10-2007, 06:12 AM
  2. How to add schema to root element using msxml 6?
    By Application Development in forum XML SOAP
    Replies: 4
    Last Post: 02-17-2007, 08:25 AM
  3. Schema validator thinks unambiguous schema is ambiguous
    By Application Development in forum XML SOAP
    Replies: 4
    Last Post: 01-12-2007, 05:06 PM
  4. MSXML and Schema: Using for XML-Node creation
    By Application Development in forum XML SOAP
    Replies: 1
    Last Post: 08-09-2006, 01:51 AM
  5. Accessing (XSD) Schema Information via VBA, MSXML, or other
    By Application Development in forum XML SOAP
    Replies: 0
    Last Post: 07-08-2005, 07:41 AM