This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 16181 - should schZ014_b be valid?
Summary: should schZ014_b be valid?
Status: NEW
Alias: None
Product: XML Schema Test Suite
Classification: Unclassified
Component: Microsoft tests (show other bugs)
Version: 2006-11-06
Hardware: PC Windows 3.1
: P2 normal
Target Milestone: ---
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema Test Suite mailing list
URL:
Whiteboard:
Keywords: needsAgreement
Depends on:
Blocks:
 
Reported: 2012-03-01 17:04 UTC by Andreas Meissl
Modified: 2012-12-04 00:54 UTC (History)
2 users (show)

See Also:


Attachments

Description Andreas Meissl 2012-03-01 17:04:52 UTC
In my opinion test schZ014_b of set MS-Schema2006-07-15 should be valid for schema 1.1. Or is there any clause in the spec which prohibits empty values for the targetNamespace attribute? 

The anyURI datatype doesn't ("The ·lexical space· of anyURI is the set of finite-length sequences of zero or more characters (as defined in [XML]) that ·match· the Char production from [XML].")

Section 3.17.2 XML Representations of Schemas says: "...supplying an empty
string for targetNamespace is incoherent, and is not the same as not specifying
it at all."

So an empty value for targetNamespace is incoherent but not prohibited. Or is there some other clause in the spec which prohibits empty strings for the targetNamespace attribute?
Comment 1 David Ezell 2012-04-13 16:22:07 UTC
please see bug 16180.
Comment 2 Michael Kay 2012-04-13 16:24:34 UTC
Noted that in part 1 there are only two remaining places where we talk of something being "incoherent", and in the other case we associate the phrase with a "must not" prohibition.