Problem matching SystemIds in catalog files
Posted: Mon Sep 05, 2005 1:01 pm
Hi everyone,
I'm a bit confused about catalog file handling. I cannot find my problem in the forum yet.
The oxygen eclipse plugin cannot find schema files, although I give the correct location in a catalog file.
I use the catalog file shown below to direct the systemId MobiDigGen75.xsd to the correct location in my filesystem. My xml file reads:
<?xml version="1.0" encoding="UTF-8"?>
<MobiDig xmlns="http:/my-mobidig.com/namespace" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http:/my-mobidig.com/namespace MobiDigGen75.xsd">
<EnumListDef>
So this should trigger a resolution of the system identifier. Still oxygen claims: "Failed to read schema document 'MobiDigGen75.xsd' ..."
In the console I get:
Public: null System: file:/C:/Work/Source/XML-Editing/src/XML/MobiDigGen75.xsd = null
Is that correct output? Looks like the result should be different from null. It would be nice too have some documentation on the verbose output of catalog file handling.
Thanks for any help,
Oliver
Catalog.xml
<?xml version="1.0"?>
<!DOCTYPE catalog PUBLIC
"-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
"http://www.oasis-open.org/committees/en ... atalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<system systemId="MobiDigGen75.xsd"
uri="file://C:/Work/Source/XML-Editing/src/scheme/MobiDigGen75.xsd"/>
<system systemId="catalog.xsd"
uri="file://C:/Work/Source/XML-Editing/src/scheme/catalog.xsd"/>
</catalog>
I'm a bit confused about catalog file handling. I cannot find my problem in the forum yet.
The oxygen eclipse plugin cannot find schema files, although I give the correct location in a catalog file.
I use the catalog file shown below to direct the systemId MobiDigGen75.xsd to the correct location in my filesystem. My xml file reads:
<?xml version="1.0" encoding="UTF-8"?>
<MobiDig xmlns="http:/my-mobidig.com/namespace" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http:/my-mobidig.com/namespace MobiDigGen75.xsd">
<EnumListDef>
So this should trigger a resolution of the system identifier. Still oxygen claims: "Failed to read schema document 'MobiDigGen75.xsd' ..."
In the console I get:
Public: null System: file:/C:/Work/Source/XML-Editing/src/XML/MobiDigGen75.xsd = null
Is that correct output? Looks like the result should be different from null. It would be nice too have some documentation on the verbose output of catalog file handling.
Thanks for any help,
Oliver
Catalog.xml
<?xml version="1.0"?>
<!DOCTYPE catalog PUBLIC
"-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
"http://www.oasis-open.org/committees/en ... atalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<system systemId="MobiDigGen75.xsd"
uri="file://C:/Work/Source/XML-Editing/src/scheme/MobiDigGen75.xsd"/>
<system systemId="catalog.xsd"
uri="file://C:/Work/Source/XML-Editing/src/scheme/catalog.xsd"/>
</catalog>