homepage Welcome to WebmasterWorld Guest from 54.234.59.94
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / XML Development
Forum Library, Charter, Moderators: httpwebwitch

XML Development Forum

    
xsd - reference not found.
srizzel




msg:4185618
 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

 

srizzel




msg:4185619
 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?

httpwebwitch




msg:4187718
 2:42 pm on Aug 16, 2010 (gmt 0)

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 :)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / XML Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved