Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » Schema Validation Problem
Schema Validation Problem [message #584318] Sat, 20 March 2004 00:08
Eclipse UserFriend
Originally posted by: cipher8000.yahoo.com

I am using 20040127_1738SL build. I have two schemas 1.boo.xsd 2. foo.xsd.

boo.xsd imports "foo" schema. foo.xsd is invalid because i used
type="xsd:aaaa". When i validate boo.xsd, the validate() doesn't populate
any diagnostic error messages. But if i validate foo.xsd seperately, i get
diagnostic error messages for unresolved type "xsd:aaaa"

this combination used to work in previous build.

here is the boo.xsd:
<schema attributeFormDefault="qualified" elementFormDefault="qualified"
targetNamespace="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://www.w3.org/2001/XMLSchema" xmlns:foo="http://foo.com">
<import namespace="http://foo.com" schemaLocation="foo.xsd"/>
<element name="fooElement" type="foo:fooElementType"/>
</schema>

here is the foo.xsd
<xsd:schema targetNamespace="http://foo.com"
xmlns="http://foo.com"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">
<xsd:complexType name="fooElementType">
<xsd:sequence>
<xsd:element name="end" type="xsd:aaaa"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>

thanks
-muruga
Previous Topic:Registered resource factory problem
Next Topic:Schema Validation Problem
Goto Forum:
  


Current Time: Tue Apr 23 08:08:46 GMT 2024

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

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

Back to the top