Hi Rob,
We are not able to reproduce that, please make sure both files are saved
on disk. If you still have problems it may help if you send your files
attached.
In any case it is recommended to upgrade to the latest oXygen 6 release,
version 6.2.
For the schema for XML please use the official schema, eventually you
can refer to it using its remote location and resolve that to a local
copy through an XML Catalog file.
http://www.w3.org/2005/08/xml.xsd
Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Robert Koberg wrote:
Hi,
I have some XML Schemas that xs:import the xml namespace attributes
(xml:base so I can use XInclude and be able to validate it). I am
getting a validation error on the schemas themselves when I try to
validate in oxygen saying they can't find the xml.xsd which is in the
same directory as the import schema. Here is the error message:
Description: W schema_reference.4: Failed to read schema document
'xml.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>.
URL: http://www.w3.org/TR/xmlschema-1/#schema_reference
When I use JARV/MSV the schemas validate (and so does the instance
document).
Is this a bug in oxygen or perhaps xerces? I am using oxygen 6.1 and Mac
OS X.
(I have also tried using xs:anyAttribute with the xml namespace and
neither oxygen or JARV validates the instance document.)
Here is a test schema and a xml.xsd:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="xml.xsd"/>
</xs:schema>
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
targetNamespace="http://www.w3.org/XML/1998/namespace"
xmlns:xml="http://www.w3.org/XML/1998/namespace">
<xsd:attribute name="base"/>
</xsd:schema>
best,
-Rob
_______________________________________________
oXygen-user mailing list
[email protected]
http://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________
oXygen-user mailing list
[email protected]
http://www.oxygenxml.com/mailman/listinfo/oxygen-user