Location of XML schema file (XSD)

Hi! Previously a XML schema was imported into the Console Manager and used for the import of data into the repository. Now we have made some changes and I would like to change the XML schema file. However, I would like to get a copy of the previously import schema (XSD) file from the system. Does anyone know where this file can possibly be held? Any way for us to extract this file to update?
Cheers!
SF

Hi SF,
the XSD is actually stored in MDM's database. One option to export is using the transport schema mechanism in MDM console - asuming that you're on MDM 7.1. If so, right-click on your repository in MDM console and choose Transport -> Export Repository Schema in the context menu. Doing this you'll get a huge XML file describing your repository. Open this XML in a suitable editor (e.g. IE, Wordpad, XML Spy, and so on) and check the file contents. Somewhere inside you'll find a section for XML Schemas and your XSD.
If you are on 5.5, the only option is accessing the DB directly...
Best regards
Michael

Similar Messages

  • Convert XML Schema Files (XSD) in HTML Forms

    Hi Everybody,
    I am new in the topic of the XML, XSD, the situation is the following , I have a few files .XSD and need to generate automatic html forms based on these .XSD to gather information and later convert them into XML files and save them in a repository and later a middleware will process this information.
    My first serious question if it is possible to develop the above mentioned task automatic? And the second one where you recommend to me to start investigating?.
    Thanks in advance for your answer
    Regards from Peru.

    There are products which do that already, I think. XMLSpy is one. Check that out to see if I'm right (not sure about the HTML part). Otherwise, welcome to the club of several hundred people who have asked basically that same question (only not with the HTML part) here.

  • XML Schema file in data definition

    Hi,
    I am creating a custom RTF template for a seeded data definition in the eBusiness Suite. The data definition has an XML Schema file loaded however this does not include all the data required for the template. Running the report to just generate the XML (i.e. no template) I can see that the additional data is available at this level just not included in the XSD.
    I have built the template including the additional elements from the XML and expected to have to create a custom data definition as well to add the additional elements to the XSD. However the template is working against the seeded definition and successfully picking up the elements that are not included in the XSD.
    Has anybody else come across this situation? And are there any potential issues? I could create a custom data definition as well to load an amended XSD but this would be a more invasive change as it would involve end dating the seeded data definition which I would prefer not to do. The report is not being generated from a concurrent request so I cannot just create a custom request and leave the seeded report untouched.
    Thanks,
    Sarah

    The XML Schema is only required if you are using a PDF template (the template file itself is PDF) with field-mapping. For other template types the schema is optional.
    The XML Schema is used to define a "class" of XML documents, so to speak. The define the semantics and structure of the XML documents more thoroughly.
    If you have closely related reports, you could use a single schema to standardize (in a sense) the XML to be output from the class of related reports. In that case you could have a single schema file uploaded to multiple reports/data-definitions.
    The W3C has good documentation on XML Schema.
    If you want to see samples, you can use tools such as dtd2xs to create sample schemas from your DTD.

  • Parse XML Schema File?

    Dear Sun Developer Network,
    I suppose maybe I should start at the beginning.
    Can anyone outline the first few steps involved in parsing an XML schema file into a traversable data structure in Java?
    I'd like to get a get a discussion started here about this, because I have some questions about the process as I currently understand it, and the more advanced (i'm supposing they're more advanced) questions that I've been asking in the past have gone completely unanswered in this forum. So perhaps, starting from the beginning, and working through to the difficulties I'm encountering would be a better approach to solving those issues.
    Thank you,
    Nels

    >
    Many thanks for your reply! My next question is,
    s, if parsing an XML schema file can be done with a
    SAX or dom parser, then why has Sun bothered to
    develop the JAXB api? What is the difference?
    Hi Nels,
    SAX and DOM are technologies for parsing and JAXB is a technology for databinding. They are 2 different technologies.
    Parsing gives you acess to raw xml
    DataBinding does the parsing and goes one step ahed and loads the data from xml to java objects. It is a higher level of abstraction over parsing
    schema is a specification which helps to define the rules for a valid xml document. It also happens to be xml. DTD is a kind of limited schema which is non xml.
    hope you got the diffrence.
    ps: did you try the -J-Xmx switch with javac to resolve yhe OutOfMemory exception I suggested in your previous post
    Regards,
    Rajagopal

  • Extending the Resource XML Schema XDBResource.xsd

    Hi,
    Is anybody could share an expirience about extending
    the Resource XML Schema XDBResource.xsd ?
    I want to use XML DB as document repository.
    I want to use some application parameters (for
    example document varchar id and so on) as resource
    properties. I read from Oracle documentation, that
    one way is to extend the Resource XML Schema XDBResource.xsd.
    Users will put documents using WebDAV, so new schema
    should be used default instead of XDBResource.xsd.
    Is it possible ?
    Thanks in advance
    Viacheslav

    Thos is an error in the documentation. Extending the Resource Schema is not currently supported. We are considering this for a future release of the product. XML DB does allow small amounts of user defined meta data to be added to a Resource.....
    For Instance Given the following package
    create or replace package xdb_namespaces
    as
    RESOURCE_NAMESPACE constant VARCHAR2(128) := 'http://xmlns.oracle.com/xdb/XDBResource.xsd';
    METADATA_NAMESPACE constant VARCHAR2(128) := 'http://xmlns.oracle.com/xdb/userMetaData';
    RESOURCE_PREFIX_R constant VARCHAR2(128) := 'xmlns:r="' || RESOURCE_NAMESPACE || '"';
    METADATA_PREFIX_M constant VARCHAR2(128) := 'xmlns:m="' || METADATA_NAMESPACE || '"';
    end;
    select * from all_errors where owner = 'XDB'
    create or replace public synonym XDB_NAMESPACES for XDB_NAMESPACES
    grant execute on XDB_NAMESPACES to public
    The following procedure can add metadata to the ANY defined by the current resource Schema
    procedure addUserMetaDataNode(OID varchar2)
    as
    metadata_xml XMLTYPE := XMLTYPE('<m:UserMetaData ' || XDB_NAMESPACES.METADATA_PREFIX_M || '/>');
    begin
    update /*+ NO_TRIGGER */ XDB.XDB$RESOURCE r
    set r.xmldata.RESEXTRA = metadata_xml.getClobVal()
    where sys_nc_oid$ = hextoraw(OID)
    and existsNode
    object_value,
    '/r:Resource/r:Contents',
    XDB_NAMESPACES.RESOURCE_PREFIX_R
    ) = 1
    and existsNode
    object_value,
    '/r:Resource/m:UserMetaData',
    XDB_NAMESPACES.RESOURCE_PREFIX_R || ' ' || XDB_NAMESPACES.METADATA_PREFIX_M
    ) = 0;
    end;
    Note that this is not a SUPPORTED method of doing this.. Once the UserMetaDataNode has been added additional metadata can be added using updateXML with an XPATH that targets the UserMetaData node.
    A Future release of XML DB will provide a facitlity to attach a row in a schema based XML table, containing user defined meta data to a resoure, in the same way that the defaultTable mechanisim allows the content of a resource to be stored in an XMLType table.

  • Memory issue loading XML schema files

    Hi,
    I have an application that a startup reads available XML schema files from a folder and creates Validator objects that are put into a HashMap.
    I'm running into problems creating validation schema objects when the file size of the schema is just over 30kB in size.
    The following error message is given when testing with the "large" schemas:
    Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
         at com.sun.org.apache.xerces.internal.impl.dtd.models.CMStateSet.<init>(CMStateSet.java:100)
         at com.sun.org.apache.xerces.internal.impl.dtd.models.CMNode.firstPos(CMNode.java:96)
         at com.sun.org.apache.xerces.internal.impl.xs.models.XSCMBinOp.calcFirstPos(XSCMBinOp.java:136)
         at com.sun.org.apache.xerces.internal.impl.dtd.models.CMNode.firstPos(CMNode.java:97)
         at com.sun.org.apache.xerces.internal.impl.xs.XSComplexTypeDecl.getContentModel(XSComplexTypeDecl.java:185)
         at com.sun.org.apache.xerces.internal.impl.xs.XSConstraints.fullSchemaChecking(XSConstraints.java:457)
         at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadGrammar(XMLSchemaLoader.java:530)
         at com.sun.org.apache.xerces.internal.jaxp.validation.xs.SchemaFactoryImpl.newSchema(SchemaFactoryImpl.java:206)
         at javax.xml.validation.SchemaFactory.newSchema(SchemaFactory.java:489)
    The smaller 1-10kB schemas can be stored without any problem regardless of the number I test (+1000).
    The problem occurs as soon as it handles these larger schemas in the source directory. Even only one 30kB schema is enough to consume the all memory.
    Below is the code uesd for creating the validation objects
    for(int i=0;i<files.length;i++){
        SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
        Source schemaFile = new StreamSource(files);
    schema = factory.newSchema(schemaFile); // Here is where the process fails
    Validator validator = schema.newValidator();
    hm.put(documentType, validator); //hm is the HashMap used as placeholder for Validator objects
    Regards,
    Håkan
    Edited by: dezer on Jun 2, 2010 5:04 AM
    Edited by: dezer on Jun 2, 2010 5:08 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Welcome to the Sun forums.
    dezer wrote:
    ..Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
    The smaller 1-10kB schemas can be stored without any problem regardless of the number I test (+1000).
    The problem occurs as soon as it handles these larger schemas in the source directory. Even only one 30kB schema is enough to consume the all memory.Are you certain that only one schema is involved? How does the code tell how many schemas there are?
    Below is the code uesd for creating the validation objects
    for(int i=0;i<files.length;i++){
    SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
    Source schemaFile = new StreamSource(files);
    schema = factory.newSchema(schemaFile); // Here is where the process fails
    Validator validator = schema.newValidator();
    hm.put(documentType, validator); //hm is the HashMap used as placeholder for Validator objects
    It would seem that if files.length is 10000, that would end up in around 30 times as much memory usage as for the 1000x10Kb schemas.

  • XML Schemas & XML SCHEMA COLLECTIONS: XSD.exe & the tool in C:\Program Files (x86)\Microsoft SDKs\Windows\v7..0A\Bin\x64?.

    Hi all,
    I just read Pages 346-348 of the book "Microsoft SQL Server 2012 Bible" written by A. Jorgensen, P. LeBlanc, J. Chinchilla, J. Segarra & A. Nelson (published by Wiley) regarding XML Schemas and XML SCHEMA COLLECTIONS: Step 1.  create and
    save orderxml.xml
    <Order OrderID="1">
    <Item>
    <ItemNumber>V001</ItemNumber>
    <Quantity>1</Quantity>
    <Price>299.99</Price>
    </Item>
    </Order>
    Step 2.  using the tool in the following location:
    C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\x64
    Open a command prompt, and navigate the preceding directory. The syntax for creating schema is: Xsd.exe C:\temp\orderxml.xml /outputdirectory:c:\temp  to create the orderxml.xsd file.  
    Step 3. Copy all the contents of the orderxml.xsd file to the clipboard, and create a new query window in SQL Server Management Studio, pasting in the content of the clipboard. To create the XML Schema Collection, you need to add the CREATE XML SCHEMA COLLECTION
    statement to the beginning of the schema as shown below:
    --MSss2012bibleP348.sql for XML Schema Collection OrderInformationSchemaCollection
    -- Copied and executed by SHC (Date & Time): 24 April 2015 8:05 AM
    USE ScottChangDB
    GO
    Create XML SCHEMA COLLECTION OrderInformationCollection AS
    N'<?xml version="1.0" encoding="utf-16"?>
    <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:msdata="urn:schema-microsoft-com:xml-msdata">
    <xs:element name="Order">
    <xs:sequence>
    <xs:element name="Item" minOccurs="0" maxOccurs="unbounded".
    <xs:complexType>
    <xs:sequence>
    <xs:element name="ItemNumber" type="xs:string" minOccurs="0" />
    <xs:element name="Quantity" type="xs:string" minOccurs="0" />
    <xs:element name="price" type="xs:string" minOccurs="0" />
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    <xs:attribute name="OrderID" type="xs:string" />
    </xs:complexType>
    </xs:element>
    <xs:element name="NewDataSet" msdata" msdata:IsDataSet="true"
    msdata:UseCurrentLocale="true">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="unbounded'>
    <xs:element ref="Order" />
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:schema>' ;
    /* Apply it to the table/columns */
    ALTER TABLE ItemInfo
    ALTER COLUMN ItemData xml (OrderInformationCollection)
    GO
    I prepared (i) the orderxml.xml file for Step 1 and Step 2, and (ii) the MSss2012bibleP348.sql file for Step 3. But I am not sure that I can do the Steps (i) and (ii) in my PC that does not have the regular version of Microsoft SQL Server 2012 and Microsoft
    Visual Studio 2012. Furthermore, I  have difficulties to do Step 2 and Step 3 in my PC that is the part of Windows 7 Lan Computer System in my office: I navigated to my C:\Program Files (x86)\Microsoft SDKs\v7.0A\Bin\, I did not see the x64
    thing in the  Bin folder, but, I saw the xsd.exe in the Bin folder. If I click the xsd.exe and I get the following in the bottom of the PC screen:   
    xsd.exe Date modified:12/122011 12:55 PM    Date created:  12/12/2011  12:55 PM
    Applicaion    Size:81.8 KB
    Also, I see my PC screen flashes (and it looks like a dialog box with black background to flash for me to type the command) quickly. I am lost completely in this step and I don't understand the whole thing in doing Step 1, Step 2, and Step 3
    I briefly summarized/described/presented above.
    I need the following help from the experts of XML Schemas and XML Schema Collections in Microsoft SQL Server 2012 Management Studio:
    Help #1: I don't understan the concept of Step 1, Step2 and Step 3 to do XML Schema, XSD.exe, and XML Schema Collection in the SQL Server 2012!!?? I just have the SQL Server 2012 Management Studio (SSMS2012) in my PC.
    Help #2: How can I execute the xsd.exe in my C:\Program Files  (x86)\Microsoft SDKs\Windows\v7.0A\Bin\ folder?
    Help #3: I just learned the basic things of creating XML SCHEMA COLLECTIONS in my SSMS2012 directly. Is the MSss2012P348.sql (I created and presented above) right for the task? How can I use clipboard to create the XML Schema Collection in my ScottChangDB
    database?
    Please kindly help and give me the answers/comments for Help #1, Help #2 and Help #3.
    Thanks in advance,
    Scott Chang  

    Hi Scott,
    Help #1: I don't understan the concept of Step 1, Step2 and Step 3 to do XML Schema, XSD.exe, and XML Schema Collection in the SQL Server 2012!!?? I just have the SQL Server 2012 Management Studio (SSMS2012) in my PC.
    Step1 and Step2 not that related to SQL Server, you can get the XSD from a given XML with an online XSD generator.
    Google search: XSD generator
    Help #2: How can I execute the xsd.exe in my C:\Program Files  (x86)\Microsoft SDKs\Windows\v7.0A\Bin\ folder?
    Please see the link in the #1
    Help #3: I just learned the basic things of creating XML SCHEMA COLLECTIONS in my SSMS2012 directly. Is the MSss2012P348.sql (I created and presented above) right for the task? How can I use clipboard to create the XML Schema Collection in
    my ScottChangDB database?
    See the syntax and example in
    create XML schema collection
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • How to print a xml schema diagram in JDev 10g

    Hi,
    When I print an XML schema file (.xsd), it is printing the script, where as I want to print it as an image.
    For other class diagrams, I notice that we can publish them as JPEG or PNG and print it from Windows. But I could not find the same for an XML schema diagram?
    Can you help?
    Thanks, Raju

    Well, the Schema Editor a Visual Editor, it does not intend to produce images to be printed... You can collapse and expand all nodes, how would you expect the printer to behave in such a situation?!
    If you wish to print a diagram, you have to capture it for yourself with the appropriate tool - that will change depending on the OS you're working on, and include it in your document.
    That is the way it works for now.
    - Olivier

  • Error in xml file validation to its relevant xml schema

    Hi All,
    I have 3 xml schema files files from which I generated a XML file using PLSQL.I am getting this error when I am trying to validate xml file to the schema:
    *'WMWROOT' NOT DECLARED*.Can anyone help me with this,I am including the main schema file and also the XML generated.
    XML Schem file:
    Itemdownload.xsd:
    <?xml version="1.0" encoding="utf-8" ?>
    <xs:schema id="ItemDownload" targetNamespace="http://www.manh.com/ILSNET/Interface" elementFormDefault="qualified"
         xmlns="http://www.manh.com/ILSNET/Interface" xmlns:xs="http://www.w3.org/2001/XMLSchema" version ="2007">
         <xs:include schemaLocation="Item.xsd" />
    <xs:element name="WMWROOT" nillable="true" type="WMWROOT" />
    <xs:complexType name="WMWROOT">
    <xs:sequence>
    <xs:element minOccurs="0" maxOccurs="1" name="WMWDATA" type="WMWDATA" />
    </xs:sequence>
    </xs:complexType>
    <xs:element name="WMWDATA" nillable="true" type="WMWDATA"/>
    <xs:complexType name="WMWDATA">
    <xs:sequence>
    <xs:element minOccurs="0" maxOccurs="1" name="Items" type="ItemList" />
    </xs:sequence>
    </xs:complexType>
    <xs:element name="Items" nillable="false" type="ItemList" />
    <xs:complexType name="ItemList">
    <xs:sequence>
    <xs:element minOccurs="1" maxOccurs="unbounded" name="Item" nillable="true" type="Item" />
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    The generated xml file is:
    <?xml version="1.0" ?>
    <WMWROOT>
    <WMWDATA>
    <Items>
    <Item><Action>Save</Action><UserDef8>10074</UserDef8><Active>Y</Active><AvailableOnWeb>N</AvailableOnWeb><Company>OU: ResMed Corp</Company><Cost>285.93</Cost><Desc>HP DESKJET PRINTER (EMBLA)</Desc><HarmCode><UserDef8>10074</UserDef8></HarmCode><Item>R145-794</Item><InventoryTracking>Y</InventoryTracking><LongDesc>HP DESKJET PRINTER (EMBLA)</LongDesc><LotControlled>Y</LotControlled><SerialNumTrackOutbound>7</SerialNumTrackOutbound><StorageTemplate><Template>Each</Template></StorageTemplate><XRefs><XRef><XRefItem></XRefItem></XRef></XRefs></Item>
    <Item><Action>Save</Action><UserDef8>80862</UserDef8><Active>Y</Active><AvailableOnWeb>N</AvailableOnWeb><Company>OU: ResMed Corp</Company><Cost>54.27</Cost><Desc>Mirage Micro Mask MED&amp;LG-Internet Pkg</Desc><HarmCode><UserDef8>80862</UserDef8></HarmCode><Item>16359</Item><InventoryTracking>Y</InventoryTracking><LongDesc>Mirage Micro Mask MED&amp;LG-Internet Pkg</LongDesc><LotControlled>Y</LotControlled><SerialNumTrackOutbound>N</SerialNumTrackOutbound><StorageTemplate><Template>Each</Template></StorageTemplate><XRefs><XRef><XRefItem>619498163597</XRefItem></XRef></XRefs></Item>
    </Items>
    </WMWDATA>
    </WMWROOT>
    I can provide you with the other 2 dependent schemas if needed.Please reply me!!

    Hey,
    As you said I tried keeping the namespace in xml file and it worked for a strange reason I am getting the same error again,I am not able to figure it why!!
    The error is:
    SAMPLEITEMDLFILE.xml:2,139: no declaration found for element 'WMWROOT'
    The XML document SAMPLEITEMDLFILE.xml is NOT valid (1 errors)
    This is the part of PL/SQL code thru which I am generating the xml:
    UTL_FILE.put_line (l_out_file, '<?xml version="1.0" ?>');
    UTL_FILE.put_line (l_out_file, '<WMWROOT');
    UTL_FILE.put_line (l_out_file, 'xmlns="http://www.manh.com/ILSNET/Interface"> ');
    UTL_FILE.put_line (l_out_file, '<WMWDATA>');
    UTL_FILE.put_line (l_out_file, '<Items>');
    I am validating it in stylus studio tool.
    Can you please help me thru this?

  • Hi I need this asap... "Java code to generate XML File from XML Schema"

    Hi all....
    I need this asap... "Java code to generate XML File from XML Schema i.e XML Schema Definition, XSD file".
    Thankz in advance...
    PS: I already posted in the afternoon... this is the second posting.

    take look at :
    http://sourceforge.net/projects/jaxme/
    this might help...

  • Java code to generate XML File from XML Schema

    Hi I need this asap... "Java code to generate XML File from XML Schema i.e XML Schema Definition, XSD file".
    Thankz in advance...

    JAXB has been available as an early release download for some time. There are also XML Binding packages available from Borland (JBuilder) and Castor. These tools create Java classes from a source document, xml,dtd etc. You can use these classes to marshal-unmarshal XML documents.
    Dave

  • "Source file does not conform to XML Schema!" error at Import Server

    Dear SDN,
    When I run Import Server the import job stopped with the error "Source file does not conform to XML Schema!" in Log file. I used MDM SP05 Patch01 and HF1.
    Both of 2 Import Server have same problems. Of course it works in Import Manager.
    What do I have to check?
    Regards,
    Eric

    Hi Eric
    Just confirm this...
    One needs to load XML schema file in MDM and can be done by specifying this file in Port .
    Refer this link.
    http://help.sap.com/saphelp_mdm550/helpdata/en/fa/69b20ae0ae4b158a3f6d025b3d3847/content.htm
    Just make sure that corresponding XSD file is specified in the port
    Regards

  • Database to XML with XSD (XML schema)

    I have an Oracle 9 DB.
    I need to convert data from a table (Java ResultSet) to XML (I have an XML schema file).
    How can I do?
    Is there a tool?
    Thanks, Ludo.

    Refer to
    Oracle Xml Sql Utility.
    http://www.xml.com/pub/r/846

  • Error while Registering XML Schema

    Hi Team,
    The mail purpose of my project is to load data from XML feed file into Oracle tables. I did following steps which went perfectly fine ...
    I did following steps.
    1)create DIRECTORY xml_dir as 'c:\xmldata';
    2) create table xmltab of XMLType;
    3) Following packages are executed through "Sys" Schema
    1)dbmslob.sql;
    2)prvtlob.plb;
    4) An xmldata folder is created under "c:\" and file with data_file.xml is stored in it.
    5) insert into xmltab values(XMLType(bfilename('XML_DIR ','data_file.xml'), nls_charset_id('AL32UTF8')));
    When I try to execute following select statment "No Rows Selected" message is displayed; although there is one element in xml data file.
    SELECT OBJECT_VALUE
    FROM xmltab
    WHERE existsNode(OBJECT_VALUE, '/ConsolidatedAssetHeader[AssetSourceSystem= "CAPS"]')=1
    Now I think in order to use all functions like existsNode and exctractValue I will have to register Schema in DB.
    Following is the XML Schema file.
    <xsd:schema targetNamespace="schemas-dart-com:sql:ConsolidatedAssetHeader" xmlns:schema="schemas-dart-com:sql:ConsolidatedAssetHeader" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sqltypes="http://schemas.microsoft.com/sqlserver/2004/sqltypes" elementFormDefault="qualified">
    <xsd:import namespace="http://schemas.microsoft.com/sqlserver/2004/sqltypes" schemaLocation="http://schemas.microsoft.com/sqlserver/2004/sqltypes/sqltypes.xsd" />
    - <xsd:element name="ConsolidatedAssetHeader">
    - <xsd:complexType>
    - <xsd:sequence>
    <xsd:element name="InternalId" type="sqltypes:int" />
    - <xsd:element name="DCN">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="30" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="EventDateLastChanged" type="sqltypes:datetime" minOccurs="0" />
    - <xsd:element name="FinancialStatusIndicator" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="InScopeIndicator" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationPriorityIndicator" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="PhysicalInstallDate" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetComment" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="255" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetContractExtension" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetContractNumber" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetDescription" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="AssetFinancialInstallDate" type="sqltypes:datetime" minOccurs="0" />
    <xsd:element name="AssetFinancialRemovalDate" type="sqltypes:datetime" minOccurs="0" />
    - <xsd:element name="AssetFinancialStatus" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetName" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="255" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetParentSource" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetParentSourceID" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="AssetPhysicalInstallDate" type="sqltypes:datetime" minOccurs="0" />
    <xsd:element name="AssetPhysicalRemovalDate" type="sqltypes:datetime" minOccurs="0" />
    - <xsd:element name="AssetPhysicalStatus" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetPhysicalStatusIndicator" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSerialIndicator" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSerialNumber" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSource" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSourceID" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSourceIndicator" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSourceSystem" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSourceType" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetTag" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="BillabilityIndicator" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="InScopeFlag" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="IPAddress" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="NetworkNumber" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="SubnetAddress" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element ref="schema:ConsolidatedAssetLocation" minOccurs="0" maxOccurs="unbounded" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    + <xsd:element name="ConsolidatedAssetLocation">
    - <xsd:complexType>
    - <xsd:sequence>
    <xsd:element name="InternalId" type="sqltypes:int" minOccurs="0" />
    <xsd:element name="ParentId" type="sqltypes:int" minOccurs="0" />
    - <xsd:element name="AssetLocationIDBillTo" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetLocationIDShipTo" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetLocationIDSoldTo" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSourceDt" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSourceIDDt" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSourceSystemDt" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="ContractNumberExtensionDt" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationBillToAddress" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationBillToAddressLine2" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationBillToAddressLine3" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationBillToCity" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationBillToCountry" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationBillToAddressLine4" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationBillToState" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationBillToZip" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationPriorityIndicator" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationShipToAddress" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationShipToAddressLine2" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationShipToAddressLine3" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationShipToAddressLine4" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationShipToCity" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationShipToCountry" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationShipToState" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationShipToZip" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationSoldToAddress" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationSoldToAddressLine2" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationSoldToAddressLine3" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationSoldToAddressLine4" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationSoldToCity" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationSoldToCountry" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationSoldToState" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationSoldToZip" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="PartySource" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="PartySourceID" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="RowCreateDateTime" type="sqltypes:datetime" minOccurs="0" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    I use following package to register schema, which is giving error
    BEGIN
    DBMS_XMLSCHEMA.registerSchema(
    'schemas-dart-com:sql:ConsolidatedAssetHeader',
    XDBURIType('http://schemas.microsoft.com/sqlserver/2004/sqltypes/sqltypes.xsd').getClob(),
    TRUE,
    TRUE,
    FALSE,
    TRUE);
    END;
    Following Error is displayed.
    BEGIN
    ERROR at line 1:
    ORA-31001: Invalid resource handle or path name
    "http://schemas.microsoft.com/sqlserver/2004/sqltypes/sqltypes.xsd"
    ORA-06512: at "SYS.XDBURITYPE", line 4
    ORA-06512: at line 2
    Can you please tell me what changes I need to make in order to resolve this error?Is there any specific location where I should put my schema file?
    Thanks in Advance
    Vaibhavi

    Create a file in c:\xmldata with the name my_xmlschema.xsd with the following content
    <xsd:schema targetNamespace="schemas-dart-com:sql:ConsolidatedAssetHeader" xmlns:schema="schemas-dart-com:sql:ConsolidatedAssetHeader" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sqltypes="http://schemas.microsoft.com/sqlserver/2004/sqltypes" elementFormDefault="qualified">
    <xsd:import namespace="http://schemas.microsoft.com/sqlserver/2004/sqltypes" schemaLocation="http://schemas.microsoft.com/sqlserver/2004/sqltypes/sqltypes.xsd" />
      <xsd:element name="ConsolidatedAssetHeader">
      <xsd:complexType>
      <xsd:sequence>
    <xsd:element name="InternalId" type="sqltypes:int" />
      <xsd:element name="DCN">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="30" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="EventDateLastChanged" type="sqltypes:datetime" minOccurs="0" />
      <xsd:element name="FinancialStatusIndicator" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="InScopeIndicator" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationPriorityIndicator" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="PhysicalInstallDate" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetComment" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="255" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetContractExtension" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetContractNumber" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetDescription" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="AssetFinancialInstallDate" type="sqltypes:datetime" minOccurs="0" />
    <xsd:element name="AssetFinancialRemovalDate" type="sqltypes:datetime" minOccurs="0" />
      <xsd:element name="AssetFinancialStatus" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetName" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="255" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetParentSource" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetParentSourceID" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="AssetPhysicalInstallDate" type="sqltypes:datetime" minOccurs="0" />
    <xsd:element name="AssetPhysicalRemovalDate" type="sqltypes:datetime" minOccurs="0" />
      <xsd:element name="AssetPhysicalStatus" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetPhysicalStatusIndicator" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSerialIndicator" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSerialNumber" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSource" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSourceID" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSourceIndicator" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSourceSystem" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSourceType" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetTag" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="BillabilityIndicator" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="InScopeFlag" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="IPAddress" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="NetworkNumber" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="SubnetAddress" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element ref="schema:ConsolidatedAssetLocation" minOccurs="0" maxOccurs="unbounded" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    + <xsd:element name="ConsolidatedAssetLocation">
      <xsd:complexType>
      <xsd:sequence>
    <xsd:element name="InternalId" type="sqltypes:int" minOccurs="0" />
    <xsd:element name="ParentId" type="sqltypes:int" minOccurs="0" />
      <xsd:element name="AssetLocationIDBillTo" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetLocationIDShipTo" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetLocationIDSoldTo" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSourceDt" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSourceIDDt" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSourceSystemDt" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="ContractNumberExtensionDt" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationBillToAddress" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationBillToAddressLine2" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationBillToAddressLine3" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationBillToCity" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationBillToCountry" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationBillToAddressLine4" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationBillToState" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationBillToZip" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationPriorityIndicator" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationShipToAddress" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationShipToAddressLine2" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationShipToAddressLine3" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationShipToAddressLine4" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationShipToCity" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationShipToCountry" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationShipToState" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationShipToZip" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationSoldToAddress" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationSoldToAddressLine2" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationSoldToAddressLine3" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationSoldToAddressLine4" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationSoldToCity" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationSoldToCountry" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationSoldToState" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationSoldToZip" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="PartySource" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="PartySourceID" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="RowCreateDateTime" type="sqltypes:datetime" minOccurs="0" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>

  • XML Schema any element

    I have a list of schema files and they a number of elements in them. But for my data extraction i use only close to 300 tags. When i register the schema I get an error that a table cannot of have more than 1000 columns. My work mate is working on Annotations and I am planning to build a new schema to make extract only these 300 tag names and also make sure the XML file can be validated like it did earlier. Explaining this i came across a complex type element called *<any>* which can be used to allow elements to be available which are not declared within the schema file.
    My Original schema file looks something like below,
    <xsd:complexType name="WfInformation">
    <xsd:all minOccurs="0">
    <xsd:element name="Company" type="WfCompany" minOccurs="0" />
    <xsd:element name="HeadOffice" type="WfOffice" minOccurs="0" />
    <xsd:element name="IndependentOffice" type="WfIOffice" minOccurs="0" />
    <xsd:element name="AffiliateCompany" type ="WfIAOffice" minOccurs="0" />
    <xsd:element name="Number" type="xsd:string" minOccurs="0" />
    <xsd:element name="ReferenceID" type="xsd:string" minOccurs="0" />
    </xsd:all>
    </xsd:complexType>
    of the above list of items i use only elements Company, HeadOffice, Number. After reading through some documentation I wanted to <any> tag like below,
    <xsd:complexType name="WfInformation">
    *<xsd:sequence>*
    <xsd:element name="Company" type="WfCompany" minOccurs="0" />
    <xsd:element name="HeadOffice" type="WfOffice" minOccurs="0" />
    *<xsd:any processContents="lax"/>*
    *<xsd:any processContents="lax"/>*
    <xsd:element name="Number" type="xsd:string" minOccurs="0" />
    *<xsd:any processContents="lax"/>*
    *</xsd:sequence>*
    </xsd:complexType>
    My question is if I am correcting the lines as i mentioned above will be Register schema again fail with same reason that i have 1000 columns. As i understand every element inside an Complex element is stored as a column value. In that case will this redesign work. Or is there any other way to approach re-desgin the XML Schema.

    Thanks. I think that leaves out my option to create a totally new Schema to suit my XML files.
    Only other option we have is to use Annotations.
    I think my colleague - eoin62 would have shared the XML Schema files earlier through your oracle email address.
    Please refer thread - How to register multiple XSD files
    But we received a reply and we knew very little on how to make changes to Admin.xsd and how would that solve our problem. Please correct me if i am incorrect. Because the biggest Schema was estimate.xsd that has close to 800+ elements. I am not sure if my colleague sent you the necessary tag names we use within the Schema. We have close to around 300 tags we use. But our combined XML Schema has close to 1600+ If we have to annotate, i thought it would be better we tell Oracle which tagswe need, which inturn should should help better create XMLtype table against a Schema and work on performance.
    Your earlier reply was,
    Basically in XML Schema Admin.xsd element AdminCompin WorkfileTypeneeds to be stored Out of line..
    Add the annotations xdb:SQLInline=”false” and xdb:defaultTable=”ADMIN_COMP_XML”. to the element..
    if you can share with our XML Schema on how to annotate or if you can share a location that shows how an annotated or non-annotated Schema works that would help us correcting our Schema files.
    Thanks for all your support. We have gone a long way in XML Parsing in the last 6 weeks.
    Edited by: beta32c on Feb 19, 2013 12:09 AM

Maybe you are looking for

  • Populate a drop down list with data from Excel and fill in a text field, based on drop down selectio

    Hi! I have a problem with a PDF form: There's a drop down list that I populate with Excel data that I've put in an XML file through an XSD file -- no problem here. The drop down list has a data binding to the XML file, so that a choice in the drop do

  • How to change the type of the Warning message BS011 in Error one?!

    Hi all, I'm facing the following problem: We're working with serial numbers which are generated when the production order is realeased.. When the order is finally confirmed the finished product is put in the Storage Location with good movement 101: T

  • I am seeking information on thermal cycle testing automation.

    I am seeking information on thermal cycle testing automation. I am using Labview 7 to perform an 8 cycle thermal test with a performance test at -25C and 65C with an end-of-line test at the end of the 8 cycles. I am looking for a way to automate. I h

  • Default header for portfolios?

    Is there a way to specify a "default header" for a PDF portfolio? As in, whenever a new portfolio is created, either by hand or through the right-click context menu, can it be generated with the same image/text header each time?

  • IPhoto is eating my photo's

    I have used iPhoto since switching to the Mac platform in 2006. Anyway I just recently purchased iLife 2009. I decided I wanted to clean up our photo's and so I decided to create a new library and bring in the old photo's an Event at a time. We have