Simulating the resources in XML schema

I am looking for an approach to simulate the Resource (Resources) in the XML schemas such that in the absence of the resource, the adapter will be hooked to this Flat File system, and performs all required adapter functionalities

Hi,
Upload the latest xsd file in XML Schemas table present under Admin node of your repository. At the time of import it validates the XML file with its definition stored in this XML Schemas table.
Regards,
Jitesh Talreja

Similar Messages

  • JAXB 1: is it possible to go from enum simulation in Java to XML Schema?

    I know how to get an enum simulation in java from XML schema, but can it be done in the other direction, in the context of a web service implementation?
    The thing is from schema to java a customization file is used. But there's no specification for such a customization file usability when going from java to schema. So far, i'm getting a string for enum wrapper.

    Well, i got it to work in JAXB 1, w/o xfire, schema-to-java. Marshall and unmarshall.
    But w/ xfire, it doesn't appear to be possible. Would probably require implementing it for them myself...

  • Newbie: Where do you find the Resource Adapter XML in BPE

    Hi,
    I am trying to follow the documentation for adding a "Delete After Action" to a resource. Step 6 mentions editing the XML for the resource adapter. I know how to run the BPE, but I cannot find what object to open in the repository. How do I perform this step?
    6. Edit the XML for the NT resource and add information to the �delete after action� schema mapping. Here is an example of a complete schema mapping for this resource with the new additions. (You will be adding the views-related information.)
    <AccountAttributeType id='12' name='delete after action' syntax='string' mapName='IGNORE_ATTR' mapType='string'>
       <Views>
          <String>Delete</String>
       </Views>
    </AccountAttributeType>
    Thx,
    Jim

    Are there any known issues with the instructions
    here:
    http://docs.sun.com/source/819-4520/Adding_Actions_to_
    Resources.htmlI have the same problems with IDM 7.0. Followed the instructions and many tips in this forum but nothing worked. My delete-method is not executed.
    Does anyone know how to fix this?

  • How to enhance the fields into xml schema?

    Hi Expert,
    We are at SRM-MDM Catalog 3.0 SP02, we enhanced two fields in the contract data which were transfered from the SRM via xml.  But when the MDM import manage do the mapping between the xml file and MDM catalog items automatically, it will bring a exception with the mapping error. The error message is "Logon Error: Source file dose not conform to XML schema. Element <field name> not found in the xml schema."
    How could I add these fields to xml schema?
    The problem is resolved.
    Edited by: Wendrin Duan on Nov 5, 2009 5:01 AM

    Hi
    Did changing the Name of the Schema in the console to be the same as the Name of the Schema file solve the problem.
    I take it you used the output file with the custime fields to create the Schema file so as to have a consistent structure.
    REegards,
    Iggy

  • Exception when using the unsignedByte, short  XML Schema datatypes

    Hi,
    I am generating the java classes form my XSD file, where i have defined the
    datatypes like int and short.
    Example:
    1) <xs:element name="Red" type="xs:unsignedByte"/>
    2) <xs:element name="Border" type="xs:int" default="0"/>
    but JAXB is giving the following exception -
    DefaultValidationEventHandler: [ERROR]: Unexpected text ""
    Location:
    java.lang.NullPointerException
         at com.sun.xml.bind.DatatypeConverterImpl.parseShort(DatatypeConverterImpl.java:90)
         at javax.xml.bind.DatatypeConverter.parseShort(DatatypeConverter.java:170)
         at com.sumasoft.tbws.xmlapi.form.formelements.impl.ColorTypeImpl$Unmarshaller.eatText1(ColorTypeImpl.java:373)
         at com.sumasoft.tbws.xmlapi.form.formelements.impl.ColorTypeImpl$Unmarshaller.handleText(ColorTypeImpl.java:350)
         at com.sumasoft.tbws.xmlapi.form.formelements.impl.runtime.AbstractUnmarshallingEventHandlerImpl.text(AbstractUnmarshallingEventHandlerImpl.java:82)
         at com.sumasoft.tbws.xmlapi.form.formelements.impl.runtime.SAXUnmarshallerHandlerImpl.consumeText(SAXUnmarshallerHandlerImpl.java:210)
         at com.sumasoft.tbws.xmlapi.form.formelements.impl.runtime.SAXUnmarshallerHandlerImpl.processText(SAXUnmarshallerHandlerImpl.java:214)
         at com.sumasoft.tbws.xmlapi.form.formelements.impl.runtime.SAXUnmarshallerHandlerImpl.endElement(SAXUnmarshallerHandlerImpl.java:139)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
         at com.sumasoft.tbws.xmlapi.form.formelements.impl.runtime.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:140)
         at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:131)
         at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:178)
         at com.sumasoft.tbws.xmlapi.TBWSUnmarshaller.readXML(TBWSUnmarshaller.java:66)
         at com.sumasoft.tbws.xmlapi.TBWSUnmarshaller.<init>(TBWSUnmarshaller.java:43)
         at com.sumasoft.tbws.xmlapi.TBWSUnmarshaller.main(TBWSUnmarshaller.java:188)
    --------------- linked to ------------------
    javax.xml.bind.UnmarshalException: Unexpected text ""
    - with linked exception:
    [java.lang.NullPointerException]
         at com.sumasoft.tbws.xmlapi.form.formelements.impl.runtime.SAXUnmarshallerHandlerImpl.handleEvent(SAXUnmarshallerHandlerImpl.java:577)
         at com.sumasoft.tbws.xmlapi.form.formelements.impl.runtime.AbstractUnmarshallingEventHandlerImpl.reportError(AbstractUnmarshallingEventHandlerImpl.java:139)
         at com.sumasoft.tbws.xmlapi.form.formelements.impl.runtime.AbstractUnmarshallingEventHandlerImpl.handleUnexpectedTextException(AbstractUnmarshallingEventHandlerImpl.java:121)
         at com.sumasoft.tbws.xmlapi.form.formelements.impl.ColorTypeImpl$Unmarshaller.handleText(ColorTypeImpl.java:363)
         at com.sumasoft.tbws.xmlapi.form.formelements.impl.runtime.AbstractUnmarshallingEventHandlerImpl.text(AbstractUnmarshallingEventHandlerImpl.java:82)
         at com.sumasoft.tbws.xmlapi.form.formelements.impl.runtime.SAXUnmarshallerHandlerImpl.consumeText(SAXUnmarshallerHandlerImpl.java:210)
         at com.sumasoft.tbws.xmlapi.form.formelements.impl.runtime.SAXUnmarshallerHandlerImpl.processText(SAXUnmarshallerHandlerImpl.java:214)
         at com.sumasoft.tbws.xmlapi.form.formelements.impl.runtime.SAXUnmarshallerHandlerImpl.endElement(SAXUnmarshallerHandlerImpl.java:139)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
         at com.sumasoft.tbws.xmlapi.form.formelements.impl.runtime.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:140)
         at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:131)
         at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:178)
         at com.sumasoft.tbws.xmlapi.TBWSUnmarshaller.readXML(TBWSUnmarshaller.java:66)
         at com.sumasoft.tbws.xmlapi.TBWSUnmarshaller.<init>(TBWSUnmarshaller.java:43)
         at com.sumasoft.tbws.xmlapi.TBWSUnmarshaller.main(TBWSUnmarshaller.java:188)
    If the Datatypes are valid then why the JAXB is throwing this exception?
    Any one knows , plz help.

    I have a reason to believe that my anti virus scanner is modifying the jar file.
    I had initially downloaded the jar file from sourceforge. It had the com.iwss.... package.
    Now i dowloaded the file in zip format and that package is not there in the zip file. But i have a new problem now.
    My eclispe just crashed with the following error message.
    JVM terminated. Exit code=1
    D:\Oracle\product\10.1.0\Client_2\jre\1.4.2\bin\javaw.exe
    -Xms40m
    -Xmx256m
    -jar C:\eclipse\startup.jar
    -os win32
    -ws win32
    -arch x86
    -launcher C:\eclipse\eclipse.exe
    -name Eclipse
    -showsplash 600
    -exitdata 1bc_74
    -vm D:\Oracle\product\10.1.0\Client_2\jre\1.4.2\bin\javaw.exe
    -vmargs
    -Xms40m
    -Xmx256m
    -jar C:\eclipse\startup.jar

  • Is JAXB the best solution to store XML schema in databse

    Hi, i have a doubt regarding which is better way to store XML schema to database.
    I have looked on JAXB, DOM, SAX.
    I should be able to modify the database and store back the changes in XML schema..
    i am really consfused about this.
    plz suggest me
    thanx

    Thank you for your reply
    As per as I know JAXB take XML schema as basis to
    create tables in database and store the XML data
    according to that . I want to store the XML Data in
    the database structured according to XML schema
    defined by me.I'm not sure how a schema would impact this. Schema is a data definition that constraints a given XML data document. The XML itself is stored as a string. Databases like Oracle now have XML column types and allow you to use XML querying languages and x-Path in normal SQL queries.
    There are 2 types of mapping from XML to datbase
    Table space and object relational
    A tablespace is conceptually similar to a namespace. Object relational mappers go from objects to relational databases and back. I do not see how either of these two concepts are mutually exclusive. And the latter makes no sense if you talking about an object database. There is no O/R mapping because there is no relational database, it's an object database.
    I want to do object-relational mapping from XML to
    o object oriented database . and the modifications
    done on the datbase want to store again in XML. As
    per as I know JAXB give us classes as per the XML
    schema and we can write DDL to store the data in
    databse
    JAXB is for marshalling and unmarshalling Java objects to and from XML. The XML itself can be stored in any LOB database column.
    Is it the right approach or do you have any better
    idea?I still do not really understand what you are trying to do. It seems like you have a bit too much technology soup to consume. What are the actual requirements?
    - Saish

  • 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

  • XML Schema dependencies is not valid in osb 11g version

    Hi,
    I'm working in osb 11.1.1.5 version.I have to import the 10g project in 11g server, but in my 10g project some schemas are included in another schemas.When i'm trying to export the resources in the 10g console and importing it in the 11g console i'm getting the errors. XML Schema dependencies is not valid in osb 11g version.Is there any alternative to import the 10g project in 11g in this case?Please suggest.
    Thanks in advance!

    while running the proxy in the eclipse i'm getting the error
    servicebus:/XMLSchema/HistoricLoadService/Schemas/CCD/datatypes-base:998:2: error: derivation-ok-restriction.5.3a: A type with a mixed content model can only restrict another type with a mixed content model. at poc_ccd.xsd
    When i'm trying to export the project from 10g console and importing it from osb 11g console I'm getting the conflicts like
    servicebus:/XMLSchema/HistoricLoadService/Schemas/CCD/datatypes-base:289:2: error: derivation-ok-restriction.5.3: Must be a valid restriction.
    Resource XMLSchema HistoricLoadService/Schemas/CCD/ poc_ccd forms a cyclic reference

  • 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.

  • XML Schema validation in JDeveloper 10.1.3.2.0 - is it namespace-aware?

    Hi everybody
    Look at the following simple xml schema:
    <?xml version="1.0" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:element name="num" type="xsd:string"/>
    <xsd:element name="amount" type="xsd:integer"/>
    <xsd:element name="invoice">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="num"/>
    <xsd:element ref="amount"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="invoices">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="xsd:invoice" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    When I open it in JDeveloper 10.1.3.2.0 and choose "Validate XML", validation executes without errors.
    In spite of bad namespace declaration in <xsd:element ref="xsd:invoice" ...
    For example, in XML Spy validation of this schema ends with error: "'xsd:invoice' must refer to an existing element".
    If there any option on JDeveloper to turn on namespace-aware validation to prevent the above situation?

    hi
    Indeed, the "Validate XML" menu option only shows "Validate XML: 0 errors, 0 warnings.".
    But, if you look at the "Design" tab for your schema, the "invoices" element node contains an "xsd:invoice" sequence shown in red. If you change "xsd:invoice" to "invoice" this becomes white and the node can be expanded.
    One other thing, registering an XML Schema in JDeveloper like the one you posted, isn't possible without an "oracle.xml.parser.schema.XSDException" (without further details).
    regards
    Jan Vervecken

  • XDK 9.2.0.2.0  XML Schema Validation within Oracle 8i database

    I am little confused on this forum regarding my problem to find out the possibility of XML Schema Validation using SAX Parser within Oracle 8.1.7 database java stored procedures.
    Right know I am trying to find out if it is possible to make XML Schema Validation using SAX parser within Oracle 8.1.7 java stored procedures using (loading) new Oracle 9i Rel 2 XDK jar files into database.
    Thanks

    I am little confused on this forum regarding my problem to find out the possibility of XML Schema Validation using SAX Parser within Oracle 8.1.7 database java stored procedures.
    Right know I am trying to find out if it is possible to make XML Schema Validation using SAX parser within Oracle 8.1.7 java stored procedures using (loading) new Oracle 9i Rel 2 XDK jar files into database.
    Thanks

  • XML Schema based XMLType column leaves file open on error

    Hello,
    I have the following situation on both oracle 10.1.0.2.0 and 10.1.0.4.0:
    insert into xml_products (xmlfile) values(bfilename(file_loc, char_id));
    "xmlfile" is a xmltype column based on a registered xml schema.
    When the file fails xml schema validation, the file remains open and I cannot move it until i close the session.
    Is this a bug or an "intentional feature"?
    Any workarounds?
    Thanks,
    Flavio

    All right Mark,
    thanks for your reply.
    Meanwhile I fixed the problem and posted my workaround here:
    http://oraclequirks.blogspot.com/2005/11/ora-29292-and-xmltype.html
    Bye,
    Flavio

  • Instr in xml schema

    Is there a similar command like instr for xml schema.
    I saw there's a locate command but it can be used to find the first occurence only.
    Also,are the commands on xml schema documented?

    Hi Mark,
    I'm using SQL Server 2005 standard edition, and have just replicated the problem with a fresh install onto Windows 2000 Professional. I installed MDAC 2.8 SP1 (don't know if this is relevant - but it was a prerequisite for installing SQL Server 2005), and according to Help/About Microsoft Visual Studio, the SSIS version is:
    Microsoft Visual Studio 2005
    Version 8.0.50727.42  (RTM.050727-4200)
    Microsoft .NET Framework
    Version 2.0.50727
    Installed Edition: IDE Standard
    SQL Server Analysis Services  
    Microsoft SQL Server Analysis Services Designer
    Version 9.00.1399.00
    SQL Server Integration Services  
    Microsoft SQL Server Integration Services Designer
    Version 9.00.1399.00
    SQL Server Reporting Services  
    Microsoft SQL Server Reporting Services Designers
    Version 9.00.1399.00
    Installing SP1 (SQLServer2005SP1-KB913090-x86-ENU) resolves the problem. For the record, the version information is:
    Microsoft Visual Studio 2005
    Version 8.0.50727.42  (RTM.050727-4200)
    Microsoft .NET Framework
    Version 2.0.50727
    Installed Edition: IDE Standard
    SQL Server Analysis Services  
    Microsoft SQL Server Analysis Services Designer
    Version 9.00.2047.00
    SQL Server Integration Services  
    Microsoft SQL Server Integration Services Designer
    Version 9.00.2047.00
    SQL Server Reporting Services  
    Microsoft SQL Server Reporting Services Designers
    Version 9.00.2047.00
    I've not tested the recently released SP2 (SQLServer2005SP2-KB921896-x86-ENU), but hopefully the problem hasn't resurfaced.
    Good question about the version - it prompted me to install SP1, and test everything again.
    Thanks for your response.
    Michael

  • Port and XML Schema

    I wanted to configure the Port and XML schema for a repository.
    I followed the following steps.
    I have XML Schema file in my local disk. Then I created Port in the console.
    However I am not able to see any folder structure getting created on unix server. The port was saved successfuly.
    I can not see the Ready folder for this particular folder.
    Can you please help me?

    Hi SudhaViz,
    Firstly create a remote system and associate that with the port.
    You can find the port in the following path of that particular remote system.
    C:\Program Files\SAP MDM 7.1\Server\Distributions\HostName_DB\Repository Name\Inbound\Remote_System\Port\Ready,
    C being the drive where you have installed MDM Server
    Thank you,
    Minaz

  • XML Schema based form in webdynpro

    Hi I have existing webdynpro which is having an interactive form view. The form is XML schema based.
    I want to create the same webdynpro with different data structure and different interactive form.
    Do i need to create the form with XML schema or do i need to do that from Webdynpro side which will generate the XML Schema automatically.
    Can you please help.
    Nik

    Thanks Amit,
    It as a really a good help for me to understand the process of creation of form from Webdynpro.
    Let me explain you the problem in detail:-
    There is an webdynpro application where  7 forms are added using differents views for each form (created through webdynpro) with different interfaces. That means in all the forms i found XML Schema based interface.
    One for the forms view for surround frame form ZFORM1 (using a structure  ZSTR1 of 20 fields in the interface ZINT1 is there)
    An adobe form Developer created a new form ZFORM2 by copying this ZFORM1. That means ZFORM2 is also using the same interface ZINT1 (we can also say same structure ZSTR1 ).
    No view was created to use this form.
    Now before creating the view & add  it in the WD aplication, for this ZFORM2 Client want to delete 2
    fields & 2 new fields for this form ZFORM2.
    I created a new structure ZSTR2 ( as per the fields required) Now i am thinking of to create a new form ZFORM2 using this structure ZSTR2 in the context of my new View .This will create a new interface ZINT2 (XML schema based)
    But this is a very time consuming process as the form ZFORM2 created by the developer earlier has so many java scripting code. he took 2 months to develop it. and i dont have that much time.
    I am sure there must be some other way to fix this problem.
    Can anyone give me the proper solution .
    Cheers,
    Nik

Maybe you are looking for