Calling XSD with different namespaces [message #1007777] |
Thu, 07 February 2013 08:35  |
Eclipse User |
|
|
|
Hi experts,
I have two xsd files with different namespaces,lets say XSD1 and XSD2.
XSD 2 is called in XSD1 and i import(in to SAP) both the xsd's.
Ideal case is when i open xsd 1 the data existing in xsd2 also should be available in xsd1, unfortunatly it does not happen.
Can some one through some light on this....
Thanks a lot in advance....
|
|
|
|
|
Re: Calling XSD with different namespaces [message #1008347 is a reply to message #1008225] |
Tue, 12 February 2013 00:52   |
Eclipse User |
|
|
|
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
If there is something important about "SAP" you're best to ask on an
SAP specific forum. This isn't a general for for getting help about
XML Schema, it's a forum for asking about how to use Eclipse's XSD
API. Given this import's schema location<br>
<br>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<span style="font-size:10.0pt;font-family:
"Arial","sans-serif";mso-fareast-font-family:"Times
New Roman";color:red;
background:white;mso-highlight:white;mso-ansi-language:DE;mso-fareast-language:
EN-US;mso-bidi-language:AR-SA" lang="DE">schemaLocation</span><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-font-family:
"Times
New
Roman";color:blue;background:white;mso-highlight:white;mso-ansi-language:DE;mso-fareast-language:EN-US;mso-bidi-language:AR-SA"
lang="DE">="</span><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-font-family:
"Times
New
Roman";color:black;background:white;mso-highlight:white;mso-ansi-language:DE;mso-fareast-language:EN-US;mso-bidi-language:AR-SA"
lang="DE">SyncItemMaster_1.2_PSF_openapplications.org_oagis.xsd</span><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-font-family:
"Times
New
Roman";color:blue;background:white;mso-highlight:white;mso-ansi-language:DE;mso-fareast-language:EN-US;mso-bidi-language:AR-SA"
lang="DE">"<br>
<br>
</span>I would expect that the two schemas will need to reside in
the same folder in your workspace or file system. Is that the case?
I.e., the relative path you specify here must resolve correctly to
locate the referenced schema and in this case, the form you show
implies they must be in the same folder.<br>
<br>
<br>
<div class="moz-cite-prefix">On 11/02/2013 4:13 PM, veguru Dinesh
wrote:<br>
</div>
<blockquote cite="mid:kfb1qp$oub$1@xxxxxxxxe.org" type="cite">
<pre wrap="">Hi ED,
I have XSD1 and few data in xsd1 is picked up from xsd2.When i import both the xsd's in to SAP ideally i should get whole data(XSD1 and XSD2 data in XSD1).
But when i import it in to SAP, i can only find xsd1 data,xsd2 data is not getting included in to XSD1.
Attached document of xsd1 and xsd2 (only part wiht name space is provided).
</pre>
</blockquote>
<br>
</body>
</html>
|
|
|
Re: Calling XSD with different namespaces [message #1053242 is a reply to message #1007777] |
Fri, 03 May 2013 07:12  |
Eclipse User |
|
|
|
HI Dinesh,
you have to refer your second XSD in first xsd.
In First XSD: In your external definions, go to External references tab.
Copy the contents of the column SOURCE.
In Second XSD: Now, in your Second xsd, in the SOURCE, put the value copied.
Save and active.
Regards,
pradeep A.
|
|
|
Powered by
FUDForum. Page generated in 0.24545 seconds