Problems importing an XML Schema

Hello,
I am trying to import an XML schema using the MDM Console.
In the Console Hierarchy tree I right-click on the MDM repository into
which I want to import the XML schema and choose Import
Repository Schema from the context menu and finally I choose a simple XML file.
Then an message appears: "MDS Version mismaths. Upgrade the source repository to the latest version and import the original schema again"
I use the SAP MDM Console for Windows, version 5.5 SP4. There is another way to import an schema in my repository? This Console version really doesn't support it?
Thank you.
Could I import my Schema of my repository using MDM Import manager?

Hi Marta,
MDM Console will not update the schema.If you select an xml schema in the import manager and try to specify an xml file with different structure,Then it will give you error and will not allow you to import.
You define xml schema into MDM console so that u can import data into MDM repository from the xml file or files having same structure as defined into xml schema table of repository.
The XML Schema drop-down list in Import manager includes an entry for each XML schema you define in the MDM Console. For each XML Schema defined in the console, you can select multiple XML source files, each having the same structure.
Hope it will help you.Let me know the result and further queries if any.
<b>
Please remark if it helped you.</b>
Thanks,<b>
Shiv Prashant Dixit</b>

Similar Messages

  • Missing  Imports System.Xml.Schema in MDKSAPProxy.vb

    I have recently switched computers and I "believe" I have setup my SAP.NET connector 2.0 properly, but, when I generate my proxy the proxy file is missing the line <b>Imports System.Xml.Schema</b> as well as <b>Form:= XmlSchemaForm.Unqualified</b> from almost all XML declarations.
    This creates problems with BPAIs not being able to execute.  My old system is fine, and I did a compare and so far I'm not able to find why this is the case.  Any help will be much appreciated.

    Hi Tomasz,
    how are you doing ?
    the dependacies that most likely are the cause of your affliction are :-
    1> librfc32.dll (this is in (\windows\system32) can be updated by SAPGUI, so the versioning if you use a previous release of SAPGUI could give unpredictable results while generating proxies
    2> JRE / J2SDK, please check the version you are running
    a stable one i use is 1.4.2_12
    do you receive a error message ?
    i would recommend time to be spent re-installing the Connector, which should be simpler than debugging and fixing the installation
    let me know if you need a stable version dependancy list and order of installation from my side
    also tell me as much as you know about your current environment , products installed that could affect :
    1> JRE / J2SDK
    2> NCo
    3> SAP GUI
    with respect,
    amit

  • Vivado 2013.4 ERROR: [IP_Flow 19-395] Problem validating against XML schema: Invalid value format for this type spirit:order

    Hello,
    I just downloaded and installed Vivado 2013.4 on my Xubuntu 12.04 machine. But when I try to add IP from the IP catalog, as in the ug937 Lab1 step2, it fails with obscure error messages (see below).
    Here's basically what I did:
    -In the Flow Navigator, i select the IP Catalog button.
    -In the search field of the IP Catalog, I type DDS.
    -then I double-click the DDS Compiler and my error occure.
    Please Help,
    Jerome.
    [HDL 9-1061] Parsing VHDL file "/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/sinegen_demo.vhd" into library work ["/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/sinegen_demo.vhd":1]
    Analysis Results[IP_Flow 19-3378] Failed to create IP instance 'dds_compiler_0'. Error saving IP file.
    [IP_Flow 19-193] Failed to save BOM file '/home/jmassol/.Xil/Vivado-2683-ubuntu/coregen/dds_compiler_0/dds_compiler_0.xml'.
    [IP_Flow 19-193] Failed to save BOM file '/home/jmassol/.Xil/Vivado-2683-ubuntu/coregen/dds_compiler_0/dds_compiler_0.xml'.
    [HDL 9-1061] Parsing VHDL file "/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/sinegen.vhd" into library work ["/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/sinegen.vhd":1]
    [IP_Flow 19-194] Failed to save IP instance 'dds_compiler_0'.
    set_property target_language Verilog [current_project]
    [IP_Flow 19-193] Failed to save BOM file '/home/jmassol/.Xil/Vivado-2683-ubuntu/coregen/dds_compiler_0/dds_compiler_0.xml'.
    [IP_Flow 19-193] Failed to save BOM file '/home/jmassol/.Xil/Vivado-2683-ubuntu/coregen/dds_compiler_0/dds_compiler_0.xml'.
    [IP_Flow 19-395] Problem validating against XML schema: Invalid value format for this type spirit:order
    [IP_Flow 19-194] Failed to save IP instance 'dds_compiler_0'.
    [IP_Flow 19-395] Problem validating against XML schema: Invalid value format for this type spirit:order
    sources_1[IP_Flow 19-194] Failed to save IP instance 'dds_compiler_0'.
    [HDL 9-1061] Parsing VHDL file "/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/sinegen_demo.vhd" into library work ["/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/sinegen_demo.vhd":1]
    [IP_Flow 19-194] Failed to save IP instance 'dds_compiler_0'.
    [IP_Flow 19-194] Failed to save IP instance 'dds_compiler_0'.
    update_compile_order -fileset sim_1
    [IP_Flow 19-193] Failed to save BOM file '/home/jmassol/.Xil/Vivado-2683-ubuntu/coregen/dds_compiler_0/dds_compiler_0.xml'.
    [HDL 9-1061] Parsing VHDL file "/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/fsm.vhd" into library work ["/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/fsm.vhd":1]
    [IP_Flow 19-3378] Failed to create IP instance 'dds_compiler_0'. Error saving IP file.
    [IP_Flow 19-395] Problem validating against XML schema: Invalid value format for this type spirit:order
    [IP_Flow 19-3378] Failed to create IP instance 'dds_compiler_0'. Error saving IP file.
    [IP_Flow 19-395] Problem validating against XML schema: Invalid value format for this type spirit:order
    [HDL 9-1061] Parsing VHDL file "/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/fsm.vhd" into library work ["/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/fsm.vhd":1]
    [IP_Flow 19-395] Problem validating against XML schema: Invalid value format for this type spirit:order
    [IP_Flow 19-3378] Failed to create IP instance 'dds_compiler_0'. Error saving IP file.
    [HDL 9-1654] Analyzing Verilog file "/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sim/testbench.v" into library work ["/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sim/testbench.v":1]
    [IP_Flow 19-395] Problem validating against XML schema: Invalid value format for this type spirit:order
    [HDL 9-1061] Parsing VHDL file "/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/debounce.vhd" into library work ["/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/debounce.vhd":1]
    [IP_Flow 19-193] Failed to save BOM file '/home/jmassol/.Xil/Vivado-2683-ubuntu/coregen/dds_compiler_0/dds_compiler_0.xml'.
    [IP_Flow 19-2313] Loaded Vivado IP repository '/opt/Xilinx/Vivado/2013.4/data/ip'.
    [IP_Flow 19-395] Problem validating against XML schema: Invalid value format for this type spirit:order
    [IP_Flow 19-3378] Failed to create IP instance 'dds_compiler_0'. Error saving IP file.
    [IP_Flow 19-1704] No user IP repositories specified
    [IP_Flow 19-194] Failed to save IP instance 'dds_compiler_0'.
    [IP_Flow 19-193] Failed to save BOM file '/home/jmassol/.Xil/Vivado-2683-ubuntu/coregen/dds_compiler_0/dds_compiler_0.xml'.
    [IP_Flow 19-3378] Failed to create IP instance 'dds_compiler_0'. Error saving IP file.
    Vivado Commands[Project 1-11] Changing the constrs_type of fileset 'constrs_1' to 'XDC'.
    [IP_Flow 19-193] Failed to save BOM file '/home/jmassol/.Xil/Vivado-2683-ubuntu/coregen/dds_compiler_0/dds_compiler_0.xml'.
    [IP_Flow 19-3378] Failed to create IP instance 'dds_compiler_0'. Error saving IP file.
    [IP_Flow 19-193] Failed to save BOM file '/home/jmassol/.Xil/Vivado-2683-ubuntu/coregen/dds_compiler_0/dds_compiler_0.xml'.
    sim_1[IP_Flow 19-194] Failed to save IP instance 'dds_compiler_0'.
    [IP_Flow 19-395] Problem validating against XML schema: Invalid value format for this type spirit:order
    [HDL 9-1654] Analyzing Verilog file "/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sim/testbench.v" into library work ["/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sim/testbench.v":1]
    [IP_Flow 19-395] Problem validating against XML schema: Invalid value format for this type spirit:order
    [IP_Flow 19-3378] Failed to create IP instance 'dds_compiler_0'. Error saving IP file.
    [IP_Flow 19-234] Refreshing IP repositories
    [IP_Flow 19-3378] Failed to create IP instance 'dds_compiler_0'. Error saving IP file.
    [IP_Flow 19-395] Problem validating against XML schema: Invalid value format for this type spirit:order
    [IP_Flow 19-194] Failed to save IP instance 'dds_compiler_0'.
    [IP_Flow 19-193] Failed to save BOM file '/home/jmassol/.Xil/Vivado-2683-ubuntu/coregen/dds_compiler_0/dds_compiler_0.xml'.
    [IP_Flow 19-194] Failed to save IP instance 'dds_compiler_0'.
    [IP_Flow 19-395] Problem validating against XML schema: Invalid value format for this type spirit:order
    [IP_Flow 19-193] Failed to save BOM file '/home/jmassol/.Xil/Vivado-2683-ubuntu/coregen/dds_compiler_0/dds_compiler_0.xml'.
    [IP_Flow 19-194] Failed to save IP instance 'dds_compiler_0'.
    [IP_Flow 19-3378] Failed to create IP instance 'dds_compiler_0'. Error saving IP file.
    [HDL 9-1061] Parsing VHDL file "/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/debounce.vhd" into library work ["/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/debounce.vhd":1]
    [IP_Flow 19-3378] Failed to create IP instance 'dds_compiler_0'. Error saving IP file.
    [IP_Flow 19-194] Failed to save IP instance 'dds_compiler_0'.
    [HDL 9-1061] Parsing VHDL file "/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/sinegen.vhd" into library work ["/home/jmassol/Desktop/Vivado/vivado_debug/ug937/project_xsim/project_xsim.srcs/sources_1/imports/ug937/sources/sinegen.vhd":1]
    set_property constrs_type XDC [current_fileset -constrset]
     

    We had the same problem when switching to Ubuntu 14.04, and there actually is a solution for it: make sure your locales are set to English.
    $> env | grep LC_*
    should only show english (or C) locales, all others are known to cause parsing errors in some numbers, usually caused by wrong string-to-float conversions (e.g. 18,29 in german is 18.29 in english). You can change the locales in the file /etc/default/localesThis is not the first time we had problems with the locale settings, Xilinx does not seem to test their software with anything else than en_US, causing obscure bugs like this one.
    HTH
    Philipp

  • Problems using mathml XML Schema in XMLDB

    I have successfully loaded the hierarchy of XML Schema definition documents for the current 'mathml' by adjusting the relative paths in all include and import statements, and by forcing the load to overcome cyclic dependency issues.
    However when I try to create a table using the XMLTYPE or register another schema which is dependent on mathml I receive the following error:
    ERROR at line 1:
    ORA-31079: unable to resolve reference to group "Content-expr.class"
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 37
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 61
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 126
    ORA-06512: at line 14
    Having tried loading into both 9iR2 and 10GR2 databases and pasting the document containing the 'Content-expr.class' into the parent document (i.e. removing the include) I have come to the conclusion that there is a problem with the schema definition.
    However being new to XML I do not know what ths issue is as the file containing the definition (math.xsd) is included well before the references in the parent document.
    Here is the group definition corresponding to the offending reference:
    <xs:group name="Content-expr.class">
    <xs:choice>
    <xs:group ref="ContExpr.class"/>
    <xs:group ref="PresExpr.class"/>
    </xs:choice>
    </xs:group>
    I am also unable to trace which reference is causing the problem as there are several.
    Does anyone have any suggestions as to what could be causing this issue, or how I can obtain further diagnostics?
    Any help much appreciated.
    Robert Honeyman
    *********** New info ***************
    OK. I have tried further to register the schema, and have the following additional information.
    I determined that I thought my problem was cyclic dependencies being resolved ONLY by virtue of the parent file mathml2.xsd. I therefore pasted all the files together in include order so that this was no longer an issue. I then performed the following actions:
    1. I tried to register into Oracle 9iR2 database (9.2.0.4) and received the following error:
    ERROR at line 1:
    ORA-31151: Cyclic definition encountered for group: "Content-expr.class"
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 0
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 26
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 131
    ORA-06512: at line 14
    2. I then tried registering the schema into an Oracle 10G Release 2 database as well, and received the following error:
    ORA-31084: error while creating table "MEDLINE"."math729_TAB" for element
    "math"
    ORA-01792: maximum number of columns in a table or view is 1000
    ORA-02310: exceeded maximum number of allowable columns in table
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 37
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 61
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 126
    ORA-06512: at line 14
    My conclusions are as follows:
    1. 9iR2 (the version I was using at least 9.2.0.4) can't handle cyclic dependencies at all, or at least not complex ones.
    2. Neither 9iR2 or 10gR2 can handle cyclic dependencies (or other dependent definitions managed purely by virtue of a parent file with multiple include statements)
    3. 10gR2 can handle cyclic dependencies when they are all defined in the same file or resolved by an explicit include regardless of complexity.
    4. 10gR2 cannot handle highly complex XML Schema definitions due its limit of 1000 columns per table.
    Does anyone have any comments on these conclusions?
    I don't even want to handle Mathml, just another schema definition that imports it. I may try to make my own adjustments.
    Message was edited by:
    rhoneyman
    null

    Thanks, I found the relevant sections in the XML DB 10GR2 documentation (chapter 3 I think). As far as I can tell my options are to either use one of the following:
    - top-down technique creating tables for sub elements in the schema definition
    - bottom-up technique collapsing some of the lower elements into CLOBs (I guess this is semi-structured storage)
    The problem with Mathml is that it seems quite complex, with only one global schema element and many nested elements, hence only one table is created by XMLDB and it logically follows that we run out of columns.
    To get it to work is likely to involve a fair amount of manual schema modification, which incurs a maintenance overhead for me.
    It would be good if Oracle could provide a way of simplifying this maintenance of complex schemas to get them to be registered. I guess this would be increasing the number of columns alllowed for a table or offering some other parametric option for DBMS_XMLSCHEMA.REGISTER_SCHEMA that allowed a threshold and either a top-down or bottom-up approach to be taken automatically.
    For the time being I am using a simplified schema that does not depend on Mathml for my storage needs.

  • How to import multiple XML schemas in Toplink.

    Hi All,
    I try to import multiple Schema(defined by EPCGlobal) in toplink This schema imports few other schemas and all are available in the same location.
    For this I tried to create a project by selecting XML radio button, and specified an XSD. The classes are getting generated for this file. After this, I try to import all other schema's using the Import schema option. I'm able to import it. but, I'm not able to generate classes for the schemas imported recently. Can you please let me know whether this is the expected behaviour..?
    Alternatively, I try to import a Schema(defined by EPCGlobal) in toplink through a TopLink-Jaxb Project. But I get the following exception..
    oracle.xml.parser.schema.XSDException
    at oracle.xml.parser.schema.XSDBuilder.buildSchema(XSDBuilder.java:754)
    at oracle.xml.parser.schema.XSDBuilder.build(XSDBuilder.java:407)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at oracle.toplink.workbench.utility.ClassTools.invokeMethodWithException(ClassTools.java:572
    at oracle.toplink.workbench.utility.ClassTools.attemptToInvokeMethodWithException(ClassTools
    .java:198)
    at oracle.toplink.workbench.utility.ClassTools.invokeMethodWithException(ClassTools.java:541
    at oracle.toplink.workbench.utility.ClassTools.invokeMethodWithException(ClassTools.java:526
    at oracle.toplink.workbench.mappingsmodel.schema.MWXmlSchema.reload(MWXmlSchema.java:481)
    at oracle.toplink.workbench.mappingsmodel.schema.MWXmlSchemaRepository.addSchema(MWXmlSchema
    Repository.java:107)
    at oracle.toplink.workbench.mappingsmodel.schema.MWXmlSchemaRepository.createSchemaFromFile(
    MWXmlSchemaRepository.java:89)
    at oracle.toplink.ox.jaxb.compiler.tljaxb.generate(tljaxb.java:70)
    at oracle.toplink.ox.jaxb.compiler.tljaxb.main(tljaxb.java:44)
    I tried to use the "tljaxb.cmd" but there too the same problem occurs.Where the problem could be..? please let me know.
    As I'm struck with this problem, please throw some light in this regard.
    Thanks
    Rajasekaran

    Rajasekaran,
    I have examined your XML schemas and do not believe that the problem is due to the import. Instead it is because the XML schema being imported is itself invalid. I have emailed you the specific correction to your XML schema. It was an error related to the namespace qualification of the type in one of your element declarations.
    -Blaise

  • Error importing AWM XML Schema in OWB repository

    Hi, as you suggest me I downloaded the OWB expert "AW XML Import Expert" on this page:
    http://www.oracle.com/technology/products/warehouse/htdocs/OWBexchange.html?cat=ALP&submit=search
    I correctly installed it on OWB, I created a module linking to the GLOBAL sample location with the tables, but when I try to import an AWM XML file (for example PRICE_CUBE.xml) I get this error:
    EXP00008: error during expert execution:
    java.net.MalformedURLException: no protocol: OLAP METADATA
    while executing
    "$saxparser parse $parserInput"
    invoked from within
    And so with any other dimension or cube file exported from Global Sample in AWM.
    Also using IE8 and Firefox 3 I can't open this file, and in IE I get
    System: -2146697211. Error during elaboration of resource "OLAP METADATA". Error during the elaboration...
    %BIND_VALUES;
    Is there a problem in the XML? Or in my procedure?

    Hello, all the errors you've been given are related to missing objects.
    You should re-create/import the location for you process flows before importing the process flows themselves.
    Also verify that you have imported the procedures FLSTG.PROC_GET_ETL_DATA_DATE and FL_TRG_FLSTG.PROC_UPDATE_RECO_CTL because you use them in your process flows so you need them: OWB refuses to import a process flows if some objects are missing because it would break some links.
    In general process flows should be imported where you have all the other objects in the repository because they are the final step and they reference many other objects.
    Hope this helps - Antonio

  • Problem while registering xml schema in Oracle 9.2.0.3

    Getting error code while executing the following sql.
    begin
    2 dbms_xmlschema.registerSchema('http://localhost/XMLDIR/HotelContent.xsd', getDocument('Hot
    elContent.xsd'));
    3 end;
    4 /
    begin
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [qmxiUnpPacked2], [121], [], [], [],
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 0
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 26
    ORA-06512: at line 2
    1) GetDocument basically gets the xsd file froma registered directory object.
    2) Given the schema file below ... HotelContent.xsd
    <?xml version="1.0" encoding="UTF-8"?>
    <!--W3C Schema generated by XMLSPY v5 rel. 4 U (http://www.xmlspy.com)-->
    <xs:schema targetNamespace="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.opentravel.org/OTA/2003/05" elementFormDefault="qualified">
         <xs:element name="Address" type="xs:string"/>
         <xs:element name="AffiliationInfo">
              <xs:complexType/>
         </xs:element>
         <xs:element name="AreaInfo">
              <xs:complexType/>
         </xs:element>
         <xs:element name="City" type="xs:string"/>
         <xs:element name="ContactInfos">
              <xs:complexType/>
         </xs:element>
         <xs:element name="Country" type="xs:string"/>
         <xs:element name="DestinationSystemsCode">
              <xs:complexType/>
         </xs:element>
         <xs:element name="FacilityInfo">
              <xs:complexType/>
         </xs:element>
         <xs:element name="Fax" type="xs:string"/>
         <xs:element name="HotelDescriptiveContent">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="DestinationSystemsCode"/>
                        <xs:element name="HotelInfo" type="HotelInfoType"/>
                        <xs:element ref="FacilityInfo"/>
                        <xs:element ref="Policies"/>
                        <xs:element ref="AreaInfo"/>
                        <xs:element ref="AffiliationInfo"/>
                        <xs:element ref="MultimediaObjects"/>
                        <xs:element ref="ContactInfos"/>
                        <xs:element ref="TPA_Extensions"/>
                   </xs:sequence>
                   <xs:attribute name="ChainCode" type="xs:string" use="required"/>
                   <xs:attribute name="BrandCode" type="xs:string" use="required"/>
                   <xs:attribute name="HotelCode" type="xs:string" use="required"/>
                   <xs:attribute name="HotelCityCode" type="xs:string" use="required"/>
                   <xs:attribute name="HotelName" type="xs:string" use="required"/>
                   <xs:attribute name="BrandName" type="xs:string" use="required"/>
                   <xs:attribute name="Overwrite" type="xs:boolean" use="required"/>
                   <xs:attribute name="LanguageCode" type="xs:string" use="required"/>
              </xs:complexType>
         </xs:element>
         <xs:complexType name="HotelInfoType">
              <xs:sequence>
                   <xs:element ref="Address"/>
                   <xs:element ref="City"/>
                   <xs:element ref="State"/>
                   <xs:element ref="PostalCode"/>
                   <xs:element ref="Country"/>
                   <xs:element ref="Phone"/>
                   <xs:element ref="Fax"/>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="MultimediaObjects">
              <xs:complexType/>
         </xs:element>
         <xs:element name="Phone" type="xs:string"/>
         <xs:element name="Policies">
              <xs:complexType/>
         </xs:element>
         <xs:element name="PostalCode" type="xs:short"/>
         <xs:element name="State" type="xs:string"/>
         <xs:element name="TPA_Extensions">
              <xs:complexType/>
         </xs:element>
    </xs:schema>
    Any thoughts on what is this error? I couldn't find any info related to this. Generally I am having problems with structured XML storage. Any peratining info would be useful. Thanks ....

    Hi,
    Please repost your question in the more appropriate XML DB forum at - XML DB
    Regards,
    -Srinivas
    OTN Team.

  • Problem in parsing XML Schema

    I am trying to parse XML Schema using XSOM. The Schema has <xs:include>s
    e.g. I have first.xsd which includes second.xsd and second.xsd again includes third.xsd.
    First.xsd
    <xs:include schemaLocation="../Second.xsd">....
    Second.xsd
    <xs:include schemaLocation="Third.xsd">....
    When I parse "First.xsd" parser passes the correct path "C:/XSDSchema/Second.xsd"(First.xsd resides in "C:/XSDSchema/Schema/") to the EntityResolver's resolveEntity method. But for Second.xsd it passes "Third.xsd" only (Third.xsd resides in "C:/XSDSchema/" ) .
    Any Idea ?????

    Here is a screenshort of the part of my workflow:
    In the mappings of the "Set Value" activity, I have one line with those properties:
    Location: /process_data/bonusValidationForm/object/data/xdp/datasets/data/BonusValidationForm/buMan agerID
    Expression: /process_data/currentUser/object/@userId
    Where:
    bonusValidationForm is a process variable of my workflow that point my xdp form
    buManagerID is the textfield I want to set
    currentUser is a process variable (type User) that was well setted by the task Find BU Manager

  • Problem importing init.xml

    Getting this error message when trying to import init.xml.
    Any ideas ? Thanks in advance.
    ErrorError
    An error occurred importing the file, although some of the file data may have been processed. ==> java.lang.NullPointerException:
    Including file 'sample/sysconfig.xml'.

    I am not sure but check few things :
    1. The sample/sysconfig.xml file is there in sample directory .
    2. The sample/sysconfig.xml file is proper .
    3. The inti.xml file is proper.

  • PROBLEMS JAXB and XML-schema

    Hello,
    I think my problem is not directly related to JAXB but to my understanding of schema-files.
    I defined a schema like that:
    <xsd:complexType name="BSR">
    <xsd:sequence>
    <xsd:element name="VERB" type="VERB"/>
    <xsd:element name="NOUN" type="NOUN"/>
    <xsd:element name="REVISION" type="REVISION"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="VERB">
    <xsd:simpleContent>
    <xsd:extension base="xsd:string">
    <xsd:attribute name="value" fixed="ACKNOWLEDGE"/>
    </xsd:extension>
    </xsd:simpleContent>
    </xsd:complexType>
    <xsd:complexType name="NOUN">
    <xsd:simpleContent>
    <xsd:extension base="xsd:string">
    <xsd:attribute name="value" fixed="PO"/>
    </xsd:extension>
    </xsd:simpleContent>
    </xsd:complexType>
    <xsd:complexType name="REVISION">
    <xsd:simpleContent>
    <xsd:extension base="xsd:string">
    <xsd:attribute name="value" fixed="003"/>
    </xsd:extension>
    </xsd:simpleContent>
    </xsd:complexType>
    When I tried to compile that schema via JAXB I got the following error:
    [ERROR] A property with the same name "value" is generated from more than one schema component line 31 of ACKNOWLEDGE_PO_003.xsd
    [ERROR] (Relevant to above error) another one is generated from this schema component. line 14 of datatypes.xsd
    [...] and so on!
    How do I manage to use that attribute "value" in several elements???
    Is there a possibility to declare the attribute once an refer to it, like to an type?
    Please help, I could not find anythig in docu.
    thanX chris

    hallo again,
    i tried that, but the point is, if i remove the declaration of the attribute called "value" it works fine.
    <xsd:element name="BSR">
              <xsd:complexType>
                   <xsd:sequence>
                        <xsd:element ref="VERB"/>
                        <xsd:element ref="NOUN"/>
                        <xsd:element ref="REVISION"/>
                   </xsd:sequence>
              </xsd:complexType>
         </xsd:element>
         <xsd:element name="VERB">
              <xsd:complexType>
                   <xsd:simpleContent>
                        <xsd:extension base="xsd:string">
                        </xsd:extension>
                   </xsd:simpleContent>
              </xsd:complexType>
         </xsd:element>
         <xsd:element name="NOUN">
              <xsd:complexType>
                   <xsd:simpleContent>
                        <xsd:extension base="xsd:string">
                        </xsd:extension>
                   </xsd:simpleContent>
              </xsd:complexType>
         </xsd:element>
         <xsd:element name="REVISION">
              <xsd:complexType>
                   <xsd:simpleContent>
                        <xsd:extension base="xsd:string">
                        </xsd:extension>
                   </xsd:simpleContent>
              </xsd:complexType>
         </xsd:element>
    I can compile it that way! but i need these attributes called "value" as you see them above....
    so i think i worked out, that the problem is not in the "BSR"-tag, but the 3-times occurrence of the attribute "value".

  • Does Oracle support "imported" XML schemas

    Hi,
    Does Oracle support XML schemas that import other XML schemas. If so, are there any known problems ?
    Thanks
    John

    I have the same problem:
    A huge and complex .xsd-schema with several include and import statements can't be registered (all referenced documents exist in the repository):
    DBMS_XMLSCHEMA.REGISTERSCHEMA(
    schemaURL => 'http://www.toxinfo.org/namespaces/2004/05/Rosetta#ProtocolEmil',
    schemaDoc => xdbURIType('/ProtocolEmil.xsd').getClob(),
    local => TRUE,
    genTypes => TRUE,
    genBean => FALSE,
    genTables => TRUE
    causes an Error at the first import:
    ERROR at line 1:
    ORA-31000: Resource 'RosettaSimpleTypeCollection.xsd' is not an XDB schema
    document
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 17
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 26
    ORA-06512: at line 2
    Editing the schema is not an option for me. Any ideas?
    Thanks!
    Tillmann Cordes

  • Resolve xml namespace while importing xml schema

    Hi All,
    I am using ALSB 2.6 on windows platform. I have created a xml schema resource in a project folder. XML schema resource location is "/ANUP/TEST/SCHEMA". The target namespace for this schema is "http://test/schema/audit/properties.xsd". The XML schema file name is Properties.xsd.
    I want to import this schema structure into an xquery which is the in project folder "/ANUP/TEST". My statement in xquery is:
    xquery version "1.0";
    import schema namespace ns6="http://test/schema/audit/properties.xsd" at "/ANUP/TEST/SCHEMA/Properties.xsd";
    declare function getCustomer() as element(ns6:dummyParent){
    let $anup := "anup"
    return <ns6:dummyParent>
    <ns6:dummy1>anup</ns6:dummy1>
    <ns6:dummy2>tripathi</ns6:dummy2 >
    <ns6:dummy3>anup</ns6:dummy3>
    </ns6:dummyParent>
    getCustomer()
    When I try to save this xquery, I get the error ::
    An error occurred compiling the XQuery resource: line ##, column ##: {err}FODC0002: Error retrieving resource "/ANUP/TEST/SCHEMA/Properties.xsd": {1}.
    I tried to change the values instead of "/ANUP/TEST/SCHEMA/Properties.xsd" in import schema namespace statement and found out that if I put Properties.xsd in "C:\ANUP\TEST\SCHEMA", it works.
    Can somebody tell me how can I change this clause after "at" keyword so that I can browse to the XMl schema which has been imported into ALSB and part of project folder?
    Thanks:
    Anup

    I have the same is issue in Oracle OSB 11g. Does anyone have any idea how to import an xml-schema inside an XQuery, when the schema is present in the OSB-project (and not on filesystem or hosted on some URL).
    import schema namespace ns="http://someNamespace.com" at "/path/to/schema/in/OSB/schema.xsd";
    The above format gives the error "An error occurred compiling the XQuery resource: line ##, column ##: {err}FODC0002: Error retrieving resource"

  • Xml schema thru xsu

    Hi,
    I am finding a problem with the XML schema that oracle-XSU
    generates.
    I try to open it in a standard XML IDE like XML spy and it gives
    me a error on
    following 2 counts
    1. It says the schema doesn't confirm to XML schema standard as
    it does not
    start with xsu:schema tag
    2. After I modify the initial tag to xsu:schema, it says that
    the schema is not
    conforming to the latest W3C standards and gives me an option to
    modify
    the schema to the latest standard.
    How do we go about resolving such issues?

    The component palette is not sensitive to selection and only contains palette items for globally defined elements (without writing a JDeveloper Extension anyway). The structure pane context menus and code insight show all possible elements that could be inserted at a particular location.
    We are considering ways of showing locally defined elements in an enhanced
    component palette design in a future JDeveloper release.

  • Problem with XML import MDM 7.1 - Can't generate Xml Schema

    Hi All,
    When I try to open an XML file using Import manager, I'm getting some errors, as detailed below. I mention that I'm using MDM 7.1.
    The first error I received was the following:
    "Can't open C:/Program files/SAP MDM 7.1/Import Manager/XSD.exe". I copied the file xsd.exe in the Import Manager folder, as suggest here:
    Re: Import Manager Error.
    Afterwards, I received a new error:
    "Can't generate Xml Schema for: C:/Program files/SAP MDM 7.1/Import Manager/filename.xml"
    If anyone has faced the same problem - and solved it -, could you please help me find the reason for this behaviour?
    Regards,
    Laura

    Hi Laura,
    The error message "Can't generate Xml Schema"  might be related to DTD. the XML file has a directive for loading DTD.
    MDM doesnot support DTDs.
    Remove the DTD line and make sure there is only one root element in the XML file and try again.
    Hope this helps,
    Bes t Regards,
    Silpa Chillakuru

  • JSTL - Problem parsing XML file w/ XML schema declarations

    I'm having trouble parsing an xml document that contains XML schema declarations in the root element. I've included 2 snippets, the XML files they're supposed to parse, and their output below. The first one works and the second one doesn't. Could someone please tell me why? I find it hard to believe that no one's run into this before.
    I'm running Tomcat 5.5 and I'm using JSP 2.0, jakarta standard taglibs jars (1.1.2), jdk 1.5.0_04, and the Xalan 2.7.0 jars.
    Here's the first snippet:
    <c:import url="/WEB-INF/config/schools.xml" var="xml" />
    <x:parse doc="${xml}" var="schoolList"/>
    There are <x:out select="count($schoolList//school)"/> schools in the file:<br/>
    <x:forEach select="$schoolList//school">
         <x:out select="name"/><br/>
    </x:forEach>it parses the following xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <schools>
         <school id="34033">
              <name>Tumwater Middle School</name>
              <district>Tumwater</district>
              <type>middle</type>
              <active>false</active>
         </school>
         <school id="17001">
              <name>Garfield High School</name>
              <district>Seattle</district>
              <type>high</type>
              <active>true</active>
         </school>
         <school id="00023">
              <name>Tigard High School</name>
              <district>Tigard-Tualatin</district>
              <type>high</type>
              <active>true</active>
         </school>
    </schools>and it outputs:
    There are 3 schools in the file:
    Tumwater Middle School
    Garfield High School
    Tigard High School-----------------------------------------
    The second snippet:
    <c:import url="/WEB-INF/config/schools2.xml" var="xml2" />
    <x:parse doc="${xml2}" var="schoolList2"/>
    There are <x:out select="count($schoolList2//school)"/> schools in the file:<br/>
    <x:forEach select="$schoolList2//school">
         <x:out select="name"/><br/>
    </x:forEach>parses this xml file (note the xml schema declarations):
    <?xml version="1.0" encoding="UTF-8"?>
    <schools xmlns="http://www.serenus.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.serenus.com schools.xsd">
         <school id="34033">
              <name>Tumwater Middle School</name>
              <district>Tumwater</district>
              <type>middle</type>
              <active>false</active>
         </school>
         <school id="17001">
              <name>Garfield High School</name>
              <district>Seattle</district>
              <type>high</type>
              <active>true</active>
         </school>
         <school id="00023">
              <name>Tigard High School</name>
              <district>Tigard-Tualatin</district>
              <type>high</type>
              <active>true</active>
         </school>
    </schools>and its output is:
    There are 0 schools in the file:That's it! No errors at all! I'm 100% certain the variable names, filenames, etc. are correct. I've looked everywhere for an existing answer to this problem, but I can't find one. Is this a known issue? Please help.
    -Ben

    Hi Ben,
    I got exactly the same problem and also could not find any solution.
    Did you find a way out for this problem meanwhile?
    Any help is welcome!

Maybe you are looking for

  • Stock check for BOM materials

    Hi gurus Can anybody guide me how to check the stock for semifinish & raw materials used for this semifinished product in a single T Code. ( UR.QC,Blocked) Thanks Umesh

  • Compare OOPs method and ABAP Subroutines

    Hi SAP, In my client interview i faced a question that is "Iam calling perform statement for about 100 times in my program and i have found that there is a performance issue  and what is the solution you will give to improve the performance?" I told

  • Message bundle always loading default bundle???

    I have propertly created message bundle properties file. But I have problem in situation when I use example: <h:commandLink value="#{bundle.sLogout}" styleClass="HeaderLoginText" action="#{page.logout}" rendered="#{page.logged}"/> in this case my app

  • Temse files not deleted

    Hi all, After housekeeping of job logs via report RSBTCDEL2, the job logs are deleted in SAP but temse files in unix are not deleted.  Temse consistency check does not indicate any problem, what could be the cause?

  • Objects "Framed" when moving layer

    I was pressing various Key commands trying to figure out some shortcuts. Now when I go to move an object in a layer, a white frame appears around it for a second, then disappears. I don't think this was ever there before, and I can't figure out how t