Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » Schema diagnostics
Schema diagnostics [message #586372] Fri, 30 April 2004 10:15
Mike Lischke is currently offline Mike LischkeFriend
Messages: 78
Registered: July 2009
Hi group,

I'm trying currently to get diagnostics information as described in the
FAQs but somehow I've got the feeling they do not work as expected. What I
have is an xsd file, which includes 3 other schemas. I made one of the
references invalid (non-existing file) and expected to find an entry
telling me about a missing reference but the diagnostic information from
my main schema is empty.

Additionally, XML Spy reports an error in one of my included schemas,
which I would expect to be reported too, but which also not appears.

Btw., may I ask an slightly off-topic question? Why does XML Spy consider
the following text invalid?

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace=""
elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:documentation xml:lang="de">
Copyright 2004 msg systems ag. All rights reserved.
<xs:element name="td" type="tdType"/>
<xs:complexType name="tdType">
<xs:attribute name="colspan" type="xs:positiveInteger" default="1"/>
<xs:element name="table" type="tableType" substitutionGroup="td"/>
<xs:complexType name="tableType">
=====> Error message here: undefined value for 'base' encountered.
=====> tdType is defined just a couple lines above.
<xs:extension base="tdType">
<xs:element ref="tr" maxOccurs="unbounded"/>
<xs:element name="tr" type="trType"/>
<xs:complexType name="trType">
<xs:element ref="td" minOccurs="0" maxOccurs="unbounded"/>

For me it looks ok, however I'm a beginner with XML Schemas so I likely
overlooked an important part.

Previous Topic:Annotation appinfo troubles
Next Topic:Namespaces
Goto Forum:

Current Time: Mon Oct 19 16:38:27 GMT 2020

Powered by FUDForum. Page generated in 0.01520 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top