W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2010

Re: Are attribute values case sensitivite

From: George Cristian Bina <george@oxygenxml.com>
Date: Thu, 30 Dec 2010 12:31:04 +0200
Message-ID: <4D1C5F68.50100@oxygenxml.com>
To: Shai Gotlib <Shai.Gotlib@amdocs.com>
CC: Michael Kay <mike@saxonica.com>, Pete Cordell <petexmldev@codalogic.com>, Mukul Gandhi <gandhi.mukul@gmail.com>, "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Dear Shai,

On 12/21/10 2:44 PM, Shai Gotlib wrote:
 > I found that <oXygen> found <xs:restriction base="xs:*S*tring"> as valid
 > while other XML Schema parser found it invalid…

oXygen uses Xerces and Saxon EE as XML Schema engines. Both report an 
error on that when invoked to validate a simple schema like

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
     <xs:simpleType name="test">
         <xs:restriction base="xs:String"/>

SystemID: /Users/george/Documents/workspace/oxygen/samples/Untitled1.xsd
Engine name: Xerces
Severity: error
Description: src-resolve.4.2: Error resolving component 'xs:String'. It 
was detected that 'xs:String' is in namespace 
'http://www.w3.org/2001/XMLSchema', but components from this namespace 
are not referenceable from schema document 
If this is the incorrect namespace, perhaps the prefix of 'xs:String' 
needs to be changed. If this is the correct namespace, then an 
appropriate 'import' tag should be added to 
Start location: 5:30
End location: 5:41
URL: http://www.w3.org/TR/xmlschema-1/#src-resolve

SystemID: /Users/george/Documents/workspace/oxygen/samples/Untitled1.xsd
Engine name: Saxon-EE
Severity: fatal
Description: The type {String} is referenced, but is not defined in the 
XML Schema namespace
Start location: 4:0

On the other hand if this document is not opened in the XML Schema 
editor in oXygen then oXygen will perform an XML well-formed check and 
it will report it as well formed - maybe this happened in your case?

If you encountered this problem in the XML Schema editor I will surely 
appreciate a sample file that can be used to reproduce the issue.

Best Regards,
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
Received on Thursday, 30 December 2010 10:31:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:18 UTC