Sitemap

Amicuk Programming Answers

Error when Import XSD file

2015-10-11   Views:0

Advertisement

Hello expert,    During creating Data Type in the build, I try to import XSD file, but system says:" XSD schema containing the construct "choice" are not permitted here"!    I found in the XSD, there are this definition:               

Hello expert,
   During creating Data Type in the build, I try to import XSD file, but system says:" XSD schema containing the construct "choice" are not permitted here"!
   I found in the XSD, there are this definition:
                              <xsd:element name="EmploymentInfo" minOccurs="0">
                                   <xsd:complexType mixed="true">
                                        <xsd:choice>
                                             <xsd:element name="FullTimeEquivalence" type="xsd:decimal"/>
                                             <xsd:element name="WorktimeInfo" maxOccurs="unbounded">
                                                  <xsd:complexType>
                                                       <xsd:sequence>
                                                            <xsd:element name="Duration" type="xsd:duration"/>
                                                            <xsd:element name="Period" type="xsd:duration"/>
                                                       </xsd:sequence>
                                                  </xsd:complexType>
                                             </xsd:element>
                                        </xsd:choice>
                                   </xsd:complexType>
                              </xsd:element>
     Could anybody tell me how to handle this? I am not quite familiar with XSD. Thanks a lot.
Best regards,
Shouxin

The replay answer
Advertisement
Hi,
replace choice with sequence
<b><xsd:complexType>
     <xsd:choice>
          <xsd:element name = “A” type=”xsd:string” />
          <xsd:element name= B” type=”xsd:string” maxOccurs=”unbounded” />
     </xsd:choice>
</xsd:complexType></b>
is handled identical to
<b><xsd:complexType>
     <xsd:sequence>
          <xsd:element name = “A” type=”xsd:string” minOccurs=”0” />
          <xsd:element name= B” type=”xsd:string”
minOccurs=”0” maxOccurs=”unbounded” />
     </xsd:sequence>
</xsd:complexType></b>
Regards
Tarun Telang

Go to See the other 2 answers

Error when Import XSD file

Category:DefaultRelease time:2015-10-11Views:130

Hello expert,    During creating Data Type in the build, I try to import XSD file, but system says:" XSD schema containing the construct "choice" are not permitted here"!    I found in the XSD, there are this definition:               [More]

Error occured while importing xsd.file(Name contains invalid characters: -

Category:DefaultRelease time:2015-10-11Views:130

Hello, i muss import xsd.file.  while importing this error occured: İFMEXTDEF CCTS_CCT_SchemaModule-2.0 | http://example.org/XXX/XXX/OUT/NOZ (SC_NOZ V001 of example.org): Name contains invalid characters: - . Only a(A)-z(Z), 0-9, and "_" are per[More]

Error while importing .xml file in Datatype

Category:DefaultRelease time:2015-10-11Views:130

Hi SDN, I am getting this error while importing .xml file in Datatype. Error when parsing the XML document (Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main:, row:1, col:8 Actually I have created dat[More]

Error: An error occurred importing the file. Detail: File does not exist or

Category:DefaultRelease time:2015-10-11Views:130

Hi, I am getting the error the below error while importing the file in FDM. I have read and write access to the folder. I tried loading text and excel files, I am getting the same error. An error occurred importing the file. Detail: File does not exi[More]

Error while importing swf file in to Crystal Xcelsius Designer 4.5

Category:DefaultRelease time:2015-10-11Views:130

help me...., Error while importing swf file in to Crystal Xcelsius Designer 4.5I read in the book called "CRYSTAL XCELSIUS for DUMMIES" on page 243 under topic called Nesting a Dashboard within another Dashboard. sorry i used the wrong word embe[More]

Error while importing zip file for second time to B2B through ant script

Category:DefaultRelease time:2015-10-11Views:130

[echo] args=import importstatus: [echo] Commandline arguments 1: [import] [echo] Import with overwrite=true [echo] B2BCommandLineUtility: importRepository: Error messages: [echo] MDS-00521: error while reading document /soa/b2b/tpa_JOvrtiV-7030143 01[More]

Error while Importing MDL File

Category:DefaultRelease time:2015-10-11Views:130

Hi All, While Importing a MDL File, I am getting the following Error. Can someone help me asap. mport started at Apr 6, 2010 10:20:09 AM Project "PUBLIC_PROJECT" Error occurred importing from file "C:\oracle\product\10.2.0\db_2\owb\bin\admi[More]

How to import xsd file inside XSD folder in Oracle SOA 11g

Category:DefaultRelease time:2015-10-11Views:130

Hi, I need to import xsd file inside XSD folder provided by the deafult structure while creating SOA project. When I used to import the web resource it imports it inside public_html folder not inside XSD folder. How to do that ? ThanksHi, Are you usi[More]

An error occured importing the file

Category:DefaultRelease time:-0001-11-30Views:130

Hello, We are currently experiencing an issue with Importing a file that contains the Japanese Kanji character set. The error received is "Error - An error occured importing the file" The Kanji characters are only for the Descriptions within the[More]

An error occurred importing the file, although some of the file data may ha

Category:DefaultRelease time:-0001-11-30Views:130

I am trying to update some xml. I login to admin module and click on Import Exchange File. When I try to import an xml I get this error: An error occurred importing the file, although some of the file data may have been processed. ==> com.waveset.uti[More]

Error while importing WSDL file created in JDeveloper inside BS

Category:DefaultRelease time:2015-10-11Views:130

Hi All, I am facing error while importing WSDL of the DBAdapter service created using JDeveloper inside my business service in OSB. The error in OSB is 'The Resource Mapped Does not exist'Which version of OSB are you using? You need to upload schema[More]

Hot
Ive been trying to get a GeForce 4 to work in my computer for over 3 months now and I am getting very frustrated.  First I had a Visiontek Ti 4200 64Mb with a Soyo Dragon+ mobo and that would lockup any time I tried to play a video game.  The screen [More]
Hi all, I've created a new item from the application's personalize page. There are a few questions I want to ask about this new item I've created. 1. I know that the page has different regions as there is more than one controller class for that page( [More]
This is driving me absolutely batty. Somehow someone changed a setting on my computer so that every time i click on a tool in my palette, all of the tool options pop open forcing me to choose which tool I would like to use.   It is as if, by default, [More]
Hi Expert My Client wants PAN Number to be appear at the time of FB60 and MIRO transaction, Please guide how it can be done ? Regards, GKDear Kumar, To bring PAN no. while doing miro or fb60 ABAPer can do with program modification,  I have done for m [More]
Hello I have a large (!MB) image which needs to be stored in a database BLOB column, and I'm running out of memory with my naive code.. Nothing other than the code is within my control. I cannot change my heap size; I have no file-system, so cannot w [More]
Hi, we are currently starting with the installation of BPC 7.5 NetWeaver. The BW system is running on AIX servers, the .net servers for the BPC application are available. Next step is the installation of the BPC software and service activation on the [More]
I have a simple application containing 2 pages: page 1: catalog page 2: order overview page on page 1 is a report with a list of articles, one column in the report is a link which branches to page 2 filling in a bindvariable. Sofar, not a problem. Wh [More]
Well, we thought the patch on the service pack fixed things, and it sort of does, but not completely. I sent the following to BEA support a week and a half ago, but so far I've gotten no response on this. Anyone else encounter this? Please reopen cas [More]
Dear Experts, I have created a data mining object for calculation of customer clasification. Afterwards an APD object was created, where I use a BEx query to calculate the ABC classification (based on the rules in data mining object). Subsequently th [More]
If I develop a responsive web app PC-Tablet-phone, and convert with phonegap to native mobile app, means should be tablet/phone compatible in case? true / falseTrueRead other 2 answers [More]