Topic - xml validator doesn't find files
Topic - xml validator doesn't find files Topic - xml validator doesn't find files
from forum XML
 forum index   my profile   search 
 new topic  post reply 
moderators: pjr tab
xml validator doesn't find files
Joined: 21-September-2005
Posts: 28
Posted: 1-August-2008 09:46
Following simple idoc
<idoc>
  <seq>
    <instr>
      <type>xpur</type>
      <operand>this:param:param</operand>
      <operator>
        <xpath>/nvp/uri</xpath>
      </operator>
      <target>var:uri</target>
    </instr>
    <instr>
      <type>validateXSD</type>
      <operand>curi:var:uri</operand>
      <operator>http://standaarden.overheid.nl/vac/1.0/xsd/vac.xsd</operator>
      <target>this:response</target>
    </instr>
  </seq>
</idoc>


with schema having a lots of includes and imports using http addresses

<xs:include schemaLocation="http://standaarden.overheid.nl/owms/3.5/xsd/overheid-schemes.xsd"/>
    <xs:include schemaLocation="http://standaarden.overheid.nl/owms/3.5/xsd/owms-types.xsd"/>
    <xs:include schemaLocation="http://standaarden.overheid.nl/owms/3.5/xsd/owms-classes.xsd"/>

    <xs:import namespace="http://purl.org/dc/terms/" schemaLocation="vac-owms-classes-redef.xsd"/>
    <xs:import namespace="http://standaarden.overheid.nl/owms/terms/"
        schemaLocation="http://standaarden.overheid.nl/owms/3.5/xsd/overheid-classes-redef.xsd"/>


Gives following warnings:

schema_reference.4: Failed to read schema document 'owms-types.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>


The same validation done from other environments works.

What am I missing?


Paul
 new topic  post reply  To find out about new replies to this post as they occur
please subscribe to one of these feeds:
AtomRSS moderate 
© 2003-2006, 1060 Research Limited. 1060 registered trademark, NetKernel trademark of 1060 Research Limited.