Why does Oxygen 10 lock up when I add a schemaLocation to an XSD [SEC=UNCLASSIFIED]

Hi, I am creating an XSD which looks like this: <?xml version="1.0" encoding="utf-8"?> <xs:schema targetNamespace="http://www.isotc211.org/2005/gmd" elementFormDefault="qualified" version="0.1" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gmd="http://www.isotc211.org/2005/gmd"> <!-- ================================= Annotation ================================ --> <xs:annotation> <xs:documentation> This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:40:04 ====== </xs:documentation> </xs:annotation> <!-- ============================= Imports & Includes ============================= --> <xs:import nameSpace="http://www.w3.org/2001/XMLSchema" schemaLocation="http://www.w3.org/2001/XMLSchema.xsd"/> <xs:import namespace=" http://www.w3.org/1999/xlink" schemaLocation="http://www.isotc211.org/2005/xlink/xlinks.xsd"/> <xs:include schemaLocation="../gmd/metadataApplication.xsd" /> <!-- ########################################################################### --> <!-- ########################################################################### --> <!-- ================================== Classes ================================= --> </xs:schema> As I create this XSD everything is fine until I add the schemaLocation hint of "http://www.w3.org/2001/XMLSchema.xsd". Oxygen then locks up. I have to use Windows task manager to delete the application. What is wrong with identifying the XSD schema for a schemaLocation hint in a import statement? Thanks. John

Hello, We cannot reproduce the problem. Please copy the attached file log4j.properties in the folder [Oxygen-install-folder]/lib, restart Oxygen, reproduce the problem and send the file [Oxygen-install-folder]/oxygen.log. Regards, Sorin John.Hockaday@ga.gov.au wrote:
Hi,
I am creating an XSD which looks like this:
<?xml version="1.0" encoding="utf-8"?> <xs:schema targetNamespace="http://www.isotc211.org/2005/gmd" elementFormDefault="qualified" version="0.1" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gmd="http://www.isotc211.org/2005/gmd"> <!-- ================================= Annotation ================================ --> <xs:annotation> <xs:documentation> This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:40:04 ====== </xs:documentation> </xs:annotation> <!-- ============================= Imports & Includes ============================= --> <xs:import nameSpace="http://www.w3.org/2001/XMLSchema" schemaLocation="http://www.w3.org/2001/XMLSchema.xsd"/> <xs:import namespace=" http://www.w3.org/1999/xlink" schemaLocation="http://www.isotc211.org/2005/xlink/xlinks.xsd"/>
<xs:include schemaLocation="../gmd/metadataApplication.xsd" /> <!-- ########################################################################### --> <!-- ########################################################################### --> <!-- ================================== Classes ================================= --> </xs:schema>
As I create this XSD everything is fine until I add the schemaLocation hint of "http://www.w3.org/2001/XMLSchema.xsd". Oxygen then locks up. I have to use Windows task manager to delete the application.
What is wrong with identifying the XSD schema for a schemaLocation hint in a import statement?
Thanks.
John
log4j.rootCategory= info, R2 log4j.category.ro.sync.ui.application=debug log4j.appender.R2=org.apache.log4j.RollingFileAppender log4j.appender.R2.File=oxygen.log log4j.appender.R2.MaxFileSize=12000KB log4j.appender.R2.MaxBackupIndex=20 log4j.appender.R2.layout=org.apache.log4j.PatternLayout log4j.appender.R2.layout.ConversionPattern=%r %p [ %t ] %c - %m%n

Hi Sorin, Thanks for your prompt reply. I copied the log4j.properties file into the [Oxygen-install-folder]/lib folder. I started Oxygen and tried to reproduce the error. I couldn't reproduce the error by copying and pasting the XML into a new XSD. I also couldn't reproduce the error by opening up an existing XSD and replacing it with the XML that was causing the problem. I don't know what was happening yesterday but it isn't happening today. Please find attached the oxygen.log file that you requested if it is of any use to you. I'm a bit sorry that I couldn't reproduce the error. If I do I will send you the oxygen.log file. Otherwise, I guess I will have to accept that it was something funny happening with my system. Thanks for your time. John
-----Original Message----- From: oxygen-user-bounces@oxygenxml.com [mailto:oxygen-user-bounces@oxygenxml.com] On Behalf Of Sorin Ristache Sent: Tuesday, 30 June 2009 6:44 PM To: oxygen-user@oxygenxml.com Subject: Re: [oXygen-user] Why does Oxygen 10 lock up when I add a schemaLocation to an XSD [SEC=UNCLASSIFIED]
Hello,
We cannot reproduce the problem. Please copy the attached file log4j.properties in the folder [Oxygen-install-folder]/lib, restart Oxygen, reproduce the problem and send the file [Oxygen-install-folder]/oxygen.log.
Regards, Sorin
John.Hockaday@ga.gov.au wrote:
Hi,
I am creating an XSD which looks like this:
<?xml version="1.0" encoding="utf-8"?> <xs:schema targetNamespace="http://www.isotc211.org/2005/gmd" elementFormDefault="qualified" version="0.1" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gmd="http://www.isotc211.org/2005/gmd"> <!-- ================================= Annotation ================================ --> <xs:annotation> <xs:documentation> This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:40:04 ====== </xs:documentation> </xs:annotation> <!-- ============================= Imports & Includes ============================= --> <xs:import nameSpace="http://www.w3.org/2001/XMLSchema" schemaLocation="http://www.w3.org/2001/XMLSchema.xsd"/> <xs:import namespace=" http://www.w3.org/1999/xlink"
schemaLocation="http://www.isotc211.org/2005/xlink/xlinks.xsd"/>
<xs:include schemaLocation="../gmd/metadataApplication.xsd" /> <!--
############################################################## ############# -->
<!-- ############################################################## ############# --> <!-- ================================== Classes ================================= --> </xs:schema>
As I create this XSD everything is fine until I add the schemaLocation hint of "http://www.w3.org/2001/XMLSchema.xsd". Oxygen then locks up. I have to use Windows task manager to delete the application.
What is wrong with identifying the XSD schema for a schemaLocation hint in a import statement?
Thanks.
John
participants (2)
-
John.Hockaday@ga.gov.au
-
Sorin Ristache