Welcome to WebmasterWorld Guest from 54.144.48.252

Forum Moderators: httpwebwitch

Message Too Old, No Replies

xsd - reference not found.

     
10:48 pm on Aug 11, 2010 (gmt 0)



hey guys,

im making this xml schema document and i've come up with a strange problem. i made this xsd using Oxygen, then i opened it up on JDeveloper. now the problem is that on Oxygen, the document is valid, but on JDeveloper i get an error saying "Reference #*$!xx not found"

below is the snippet of my code,

namespace is
<xs:schema xmlns:soen="http://schemas.xmlsoap.org/soap/encoding/">

<xs:import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<xs:complexType name="ArrayOf_tns1_RemoteUser">
<xs:complexContent>
<xs:restriction base="soen:Array">
<xs:attribute ref="soen:arrayType"
wsdl:arrayType="tns1:RemoteUser[]"/>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="ArrayOf_tns1_RemoteComponent">
<xs:complexContent>
<xs:restriction base="soen:Array">
<xs:attribute ref="soen:arrayType"
wsdl:arrayType="tns1:RemoteComponent[]"/>
</xs:restriction>
</xs:complexContent>
</xs:complexType>

I get error message on base="soen:Array" and ref="soen:arrayType" saying "reference soen:Array not found" and "reference soen:arrayType not found" only on JDeveloper but not on Oxygen.

any suggestions, help is much appreciated

cheers
10:50 pm on Aug 11, 2010 (gmt 0)



i just checked it on Altova XML Spy as well and its valid. only on JDeveloper its not valid. could it be the XML parser in JDeveloper?
2:42 pm on Aug 16, 2010 (gmt 0)

WebmasterWorld Administrator httpwebwitch is a WebmasterWorld Top Contributor of All Time 10+ Year Member



You are probably right. Oxygen and Altova are respected specialist's tools and likely parse things correctly. I can't endorse JDeveloper since I've never used it.

To me, your XML looks flawless. But I'm not a parser :)
 

Featured Threads

Hot Threads This Week

Hot Threads This Month