Consultor Eletrônico



Kbase P27433: XML Schema Mapping Tool gives "not a valid XML Schema file" error
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   03/09/2008
Status: Verified

SYMPTOM(s):

<file> is not a valid XML Schema file or the format is not supported.
Please confirm that it is a well-formed

Using XML Schema Mapping Tool

Opening a .xsd file

FACT(s) (Environment):

Progress 9.1x
OpenEdge 10.x
All Supported Operating Systems

CAUSE:

You're trying to open a 2001 XML Schema file. Only 1999 XML Schema files are currently supported by the XML Schema Mapping Tool.

FIX:

In order to see what schema is used in the file, just open it with a text editor and check the xmlns attribute:

This is supported:
xmlns="http://www.w3.org/1999/XMLSchema"

This is not supported:
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
A possible workaround is to change the string in the XSD file from '2001' to '1999', for example:

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">

to:

<xsd:schema xmlns:xsd="http://www.w3.org/1999/XMLSchema">