Unable to Import XML which consists of nested XSD's in Oracle BPEL PROCES

Hi All,
We would like to know how to read an XML file which consists of Nested XSD's in Oracle BPEL Process(Using JDeveloper).
Regards,
Biju

Do check the following link
http://blogs.oracle.com/soabpm/2010/01/soa_suite_11g_weblogictransact.html

Similar Messages

  • ***Unable to import table which consists of nested tables

    Dear all;
    I have a problem on migrating my Oracle 8.1.7 database from windows nt environment into the ibm aix 4.3.3 environment. I have been using the import export utility. Exporting the data from the database does not produce any error but importing the export file produces the error as below;
    Connected to: Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - Production
    Export file created by EXPORT:V08.01.07 via conventional path
    import done in WE8ISO8859P1 character set and WE8ISO8859P1 NCHAR character set
    . importing IIMS's objects into IIMS
    IMP-00017: following statement failed with ORACLE error 2331:
    "CREATE TABLE "CMGC_CURRENCY" ("CODE" VARCHAR2(10) NOT NULL ENABLE, "DESCP" "
    "VARCHAR2(60) NOT NULL ENABLE, "X_RATE" NUMBER(10, 6) NOT NULL ENABLE, "X_DA"
    "TE" VARCHAR2(10), "REMARK" VARCHAR2(255), "YEAR" NUMBER(4, 0) NOT NULL ENAB"
    "LE, "BANK_AC" VARCHAR2(20) NOT NULL ENABLE, "NSTBL_LEDG" "NSTBL_LEDGLIST" N"
    "OT NULL ENABLE, "NSTBL_XRATE" "NSTBL_XRATELIST" NOT NULL ENABLE) PCTFREE 1"
    "0 PCTUSED 40 INITRANS 1 MAXTRANS 255 LOGGING STORAGE(INITIAL 65536) TABLESP"
    "ACE "IIMS" NESTED TABLE "NSTBL_LEDG" STORE AS "NSTBL_LEDGLIST_LIST" RETURN "
    "AS VALUE NESTED TABLE "NSTBL_XRATE" STORE AS "NSTBL_XRATELIST_LIST" RETURN"
    " AS VALUE "
    IMP-00003: ORACLE error 2331 encountered
    ORA-02331: cannot create constraint on column of datatype Named Table Type
    Import terminated successfully with warnings.
    It seems that the error only occur when importing tables which consists on nested tables. I have done exporting and importing from windows NT into windows NT and from windows NT into AIX but the problem still arises. Please help.
    NSTBL_LEDG and NSTBL_XRATE are the nested tables with NSTBL_LEDGLIST and NSTBL_XRATELIST as the datatype accordingly.
    Thanks in advance;
    andrew

    Hi Sayak,
    This means we need to installed Oracle client to resolve this problem. Can you please share if you have some knowledge regarding the same.
    Thanks,
    Mohit

  • Unable to import xml into my CS4 project

    Hi folks,
    I am trying to embed a 3rd party flash component into my current flash project.  As a stand alone, the component works fine but when I try and import the xml file for the component into my current flash project library, the message I get:
    " one or more files were not imported because there were problems reading them"!!!
    I have tried importing the xml file into another dummy cs4 project on another machine and again no success, so I believe there are elements within the xml file that will not work with cs4.  Below is the xml file code.  I would appreciate if anyone can spot anything wrong with this file as to why it wont import into flash.  Even try and import it yourself and see what I mean.
    Hope someone can help.
    Regards
    Volterony22
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    There are 9 positions available :
    1. TL: top-left
    2. TC: top-center
    3. TR: top-right
    4. ML: middle-left
    5. MC: middle-center
    6. MR: middle-right
    7. BL: bottom-left
    8. BC: bottom-center
    9. BR: bottom-right
    If you set randomizePositions to true, it will overwrite the values you pass for each item
    startZoom: the zoom value to start with
    endZoon: the zoom value to end with
    transitionTime: the time for the slide to reach from property A to property B
    slideShowTime: the time the slide stays on screen
    disablePauseButton: it needs to be set to true if you want to have links on the slideshow
    -->
    <!--
    NOTE: The transition time must be higher than the slideshow time for each item! (make sure the difference is at least alphaTime value)
      The reason is so the zoom effect doesn't end before the transition does.
    -->
    <kenburns width = "1000" height = "348"
    backgroundColor = "0x000000"
    backgroundTransparency = "0"
    startWith = "1"
    randomSlideshow = "true"
    loop = "true"
    randomizeImagePosition = "false"
    alphaTime = "2"
    textX = "10"
    textY = "10"
    overColor = "0x000000"
    overAlpha = "20"
    disablePauseButton = "true">
    <!--
    <item>
    <title><![CDATA[<font size="16" color="#ffffff">Sand beach in the morning</font>]]></title>
    <path>content/images/image1.jpg</path>
    <link></link>
    <target>_blank</target>
    <transitionTime>12</transitionTime>
    <slideShowTime>8</slideShowTime>
    <startZoom>80</startZoom>
    <endZoom>100</endZoom>
    <startPosition>MC</startPosition>
    <endPosition>MC</endPosition>
    </item>
    <item>
    <title></title>
    <path>content/images/image2.jpg</path>
    <link></link>
    <target>_blank</target>
    <transitionTime>25</transitionTime>
    <slideShowTime>22</slideShowTime>
    <startZoom>100</startZoom>
    <endZoom>55</endZoom>
    <startPosition>MC</startPosition>
    <endPosition>MC</endPosition>
    </item>
    <item>
    <title><![CDATA[<font size="18" color="#ffffff">Waves and wind</font>]]></title>
    <path>content/images/image3.jpg</path>
    <link></link>
    <target>_blank</target>
    <transitionTime>27</transitionTime>
    <slideShowTime>20</slideShowTime>
    <startZoom>70</startZoom>
    <endZoom>100</endZoom>
    <startPosition>TC</startPosition>
    <endPosition>BC</endPosition>
    </item>
    <item>
    <title><![CDATA[<font size="18" color="#224F91">No words needed..</font>]]></title>
    <path>content/images/image4.jpg</path>
    <link></link>
    <target>_blank</target>
    <transitionTime>12</transitionTime>
    <slideShowTime>9</slideShowTime>
    <startZoom>80</startZoom>
    <endZoom>80</endZoom>
    <startPosition>BL</startPosition>
    <endPosition>TR</endPosition>
    </item>
    <item>
    <title></title>
    <path>content/images/image5.jpg</path>
    <link></link>
    <target>_blank</target>
    <transitionTime>35</transitionTime>
    <slideShowTime>32</slideShowTime>
    <startZoom>55</startZoom>
    <endZoom>100</endZoom>
    <startPosition>BC</startPosition>
    <endPosition>TC</endPosition>
    </item>
    -->
    <item>
    <title></title>
    <path>content/images/image6.jpg</path>
    <link>http://www.flabell.com</link>
    <target>_blank</target>
    <transitionTime>10</transitionTime>
    <slideShowTime>8</slideShowTime>
    <startZoom>40</startZoom>
    <endZoom>35</endZoom>
    <startPosition>ML</startPosition>
    <endPosition>MR</endPosition>
    </item>
    <item>
    <title></title>
    <path>content/images/image7.jpg</path>
    <link></link>
    <target>_blank</target>
    <transitionTime>20</transitionTime>
    <slideShowTime>8</slideShowTime>
    <startZoom>70</startZoom>
    <endZoom>55</endZoom>
    <startPosition>MR</startPosition>
    <endPosition>ML</endPosition>
    </item>
    <item>
    <title></title>
    <path>content/images/image3.jpg</path>
    <link></link>
    <target>_blank</target>
    <transitionTime>20</transitionTime>
    <slideShowTime>8</slideShowTime>
    <startZoom>50</startZoom>
    <endZoom>60</endZoom>
    <startPosition>ML</startPosition>
    <endPosition>MR</endPosition>
    </item>
    </kenburns>

    Hi there,
    Thank you for responding.  When I say component, I have purchased a flash component from a company called www.flabell.com.  When you buy the component, you get the as, swf, assest, images, fla etc etc. 
    My goal is to embed this component into a flash project that I am working on at the moment which involves importing the assets/resources from the flabell component folder into the library of my current flash project.
    My folder structure at the moment is that I have top level folder call project.  In this folder is my actual flash project folder and the flabell component folder.  So no the html that embeds my main swf is not in the same folder as my 3 party swf - they are in two different locations.  However should this be an issue if I am importing the xml into my main project library anyway?
    Hope this info shines more light.
    Regards
    volterony22

  • Unable to Import LCMBIAR which Contains Publication

    Hi Experts,
    We are using BO 4.0 SP6. We are trying to backup our file from production server to DR server.
    At first, we exported all the reports in one LCMBIAR (we have selected all the dependencies) and imported in DR but failed.
    So we suspect their is an issue about the file size, therefore we tried to export folder by folder and import again in DR server. All the LCMBIAR files are successful imported except for a LCMBIAR file which contains publication.
    Is there any limitation? Please advice.
    Regards,
    Kim Yun

    Hi Kim,
    There are few knows issues when we try to promote publications through Promotion management. Have you tried with live promotion instead of LCMBIAR. Please refer below KBAs for know issues for this.
    1797845 - LCM jobs with publications do not compute dependencies
    correctly resulting in failure when promoted
    1752996 - LifeCycle Management fails to promote publication. 'CE SDK
    Exception occurred : 'Not a valid query. (FWB 00025)'
    1791025 - When adding a Publication to a Promotion Management Job
    any extra Objects are added
    1871782 - BI 4.1 - Unable to promote Publications
    Most of the issues were in BI 4.0 and should be resolved in BI 4.1. I would suggest to try direct promotion instead of LCMBIAR and let us know the error message if it fails.
    Regards,
    Hrishikesh

  • Running Captivate 8 on a Macbook and I am unable to import Powerpoint 2011 (which is up to date) files or slides.  I get an error saying that either the file is damaged or I am using an older version of PP....which is not the case.

    Running Captivate 8 on a Macbook and I am unable to import Powerpoint 2011 (which is up to date) files or slides.  I get an error saying that either the file is damaged or I am using an older version of PP....which is not the case.  I tried creating a very simple PP file with just a few words on one slide...ran a compatibility check and all was good.  Still could not import that simple slide into Captivate.

    OK...found out it did not like me saving as a *.pptx.  When I save it as a *.ppt file it imported in correctly.  Is this what I will need to do moving forward?  I am not sure if I am losing any functionality in the process...

  • XMLStreamException: Unable to write XML string which starts with the illegal XML char 0x0000

    Hi,
    I am trying to run a WebLogic 8.1 Workshop webservice using Tuxedo Controls. I
    am running in to an XML error:
    <faultcode>JWSError</faultcode>
    <faultstring>com.bea.xml.marshal.XmlEncodingException: Error writing XML stream:
    com.bea.xml.pure.XMLStreamException: Unable to write XML string which starts with
    the illegal XML char 0x0000</faultstring>
    <detail>
    If i look into the application server log file, It says:
    <FML32Deserializer::deserializeInteger>
    ####<Dec 19, 2003 1:25:00 PM CST> <Debug> <WLW> <centurytelweb> <cgServer> <ExecuteThread:
    '11' for queue: 'weblogic.kernel.Default'> <<anonymous>> <BEA1-0237CF026485B78A2335>
    <000000> <Exception deserializing field BUFFERSIZE, exception: weblogic.jws.control.ControlException:
    Error getting field BUFFERSIZE as a Integer, exception: 4 (FNOTPRES)>
    ####<Dec 19, 2003 1:25:00 PM CST> <Debug> <WLW> <centurytelweb> <cgServer> <ExecuteThread:
    '11' for queue: 'weblogic.kernel.Default'> <<anonymous>> <BEA1-0237CF026485B78A2335>
    <000000> <FML32Deserializer::deserializeField - Name=ROWID, type=class java.lang.String>
    But these fields are in the field table class file generated using java weblogic.wtc.jatmi.mkfldclass32

    I am pasting the response i get while i try to run this web service using WebLogic
    Workshop.
    Anyones help would be much appreciated.
    Thanks,
    Deepak
    Service Response
    Submitted at Friday, December 19, 2003 1:25:00 PM CST
    <error>
    <faultcode>JWSError</faultcode>
    <faultstring>com.bea.xml.marshal.XmlEncodingException: Error writing XML stream:
    com.bea.xml.pure.XMLStreamException: Unable to write XML string which starts with
    the illegal XML char 0x0000</faultstring>
    <detail>
    com.bea.wlw.runtime.core.request.ResponseValidationException: com.bea.xml.marshal.XmlEncodingException:
    Error writing XML stream: com.bea.xml.pure.XMLStreamException: Unable to write
    XML string which starts with the illegal XML char 0x0000
    at com.bea.wlw.runtime.jws.request.MimeXmlResponse.setReturnValue(MimeXmlResponse.java:35)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(BaseDispatcherBean.java:242)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(BaseDispatcherBean.java:54)
    at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(SyncDispatcherBean.java:159)
    at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(SyncDispatcher_k1mrl8_EOImpl.java:100)
    at com.bea.wlw.runtime.core.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:134)
    at com.bea.wlw.runtime.core.dispatcher.Dispatcher.dispatch(Dispatcher.java:46)
    at com.bea.wlw.runtime.core.dispatcher.HttpServerHelper.exploreExec(HttpServerHelper.java:253)
    at com.bea.wlw.runtime.core.dispatcher.HttpServerHelper.executeGetRequest(HttpServerHelper.java:570)
    at com.bea.wlw.runtime.core.dispatcher.HttpServer.doGet(HttpServer.java:81)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6316)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Caused by: com.bea.xml.marshal.XmlEncodingException: Error writing XML stream:
    com.bea.xml.pure.XMLStreamException: Unable to write XML string which starts with
    the illegal XML char 0x0000
    at com.bea.xml.marshal.MarshalContext.error(MarshalContext.java:140)
    at com.bea.xml.marshal.MarshalContext.writeCharacterData(MarshalContext.java:178)
    at com.bea.xml.marshal.AtomicValueMPlan.marshal(AtomicValueMPlan.java:79)
    at com.bea.xml.marshal.MarshalContext.writeElementObjectOrHref(MarshalContext.java:426)
    at com.bea.xml.marshal.BaseMPlan.writeValueUsingStrategy(BaseMPlan.java:307)
    at com.bea.xml.marshal.BaseMPlan.marshal(BaseMPlan.java:349)
    at com.bea.xml.marshal.MarshalContext.writeElementObjectOrHref(MarshalContext.java:426)
    at com.bea.xml.marshal.BaseMPlan.writeValueUsingStrategy(BaseMPlan.java:307)
    at com.bea.xml.marshal.BaseMPlan.marshal(BaseMPlan.java:358)
    at com.bea.xml.marshal.MarshalContext.writeElementObjectOrHref(MarshalContext.java:426)
    at com.bea.xml.marshal.BaseMPlan.writeValueUsingStrategy(BaseMPlan.java:307)
    at com.bea.xml.marshal.BaseMPlan.marshal(BaseMPlan.java:349)
    at com.bea.xml.marshal.MethodMPlan.marshal(MethodMPlan.java:260)
    at com.bea.wlw.runtime.core.dispatcher.DispMessage.marshalXml(DispMessage.java:386)
    at com.bea.wlw.runtime.jws.request.MimeXmlResponse.writePart(MimeXmlResponse.java:105)
    at com.bea.wlw.runtime.jws.request.MimeXmlResponse.writeOutputPart(MimeXmlResponse.java:97)
    at com.bea.wlw.runtime.jws.request.MimeXmlResponse.setReturnValue(MimeXmlResponse.java:31)
    ... 22 more
    </detail>
    </error>
    "Deepak" <[email protected]> wrote:
    >
    >
    >
    Hi,
    I am trying to run a WebLogic 8.1 Workshop webservice using Tuxedo Controls.
    I
    am running in to an XML error:
    <faultcode>JWSError</faultcode>
    <faultstring>com.bea.xml.marshal.XmlEncodingException: Error writing
    XML stream:
    com.bea.xml.pure.XMLStreamException: Unable to write XML string which
    starts with
    the illegal XML char 0x0000</faultstring>
    <detail>
    If i look into the application server log file, It says:
    <FML32Deserializer::deserializeInteger>
    ####<Dec 19, 2003 1:25:00 PM CST> <Debug> <WLW> <centurytelweb> <cgServer>
    <ExecuteThread:
    '11' for queue: 'weblogic.kernel.Default'> <<anonymous>> <BEA1-0237CF026485B78A2335>
    <000000> <Exception deserializing field BUFFERSIZE, exception: weblogic.jws.control.ControlException:
    Error getting field BUFFERSIZE as a Integer, exception: 4 (FNOTPRES)>
    ####<Dec 19, 2003 1:25:00 PM CST> <Debug> <WLW> <centurytelweb> <cgServer>
    <ExecuteThread:
    '11' for queue: 'weblogic.kernel.Default'> <<anonymous>> <BEA1-0237CF026485B78A2335>
    <000000> <FML32Deserializer::deserializeField - Name=ROWID, type=class
    java.lang.String>
    But these fields are in the field table class file generated using java
    weblogic.wtc.jatmi.mkfldclass32

  • TS2521 I am unable to import FCP sequence/EDL/XML into COLOR. Please help

    I am unable to import FCP sequence/EDL/XML into COLOR. Please help

    Please stop reposting the same question. If you want to bump it, add some new information to your post - for example -
    What codecs are you working with?
    What version of FCP?
    What version of Color?
    What version of OSX?
    What computer?
    What error messages do you receive?
    What have you tried to address the issue?
    x

  • Unable to import package. This file is not a Business Components XML file

    Hi,
    I am using Jdeveloper 9.0.3(Build 1325) and trying to extend a VO. Project > Import Business Components and select the VO, AM or EO xml because Sourcing Negotiation creation does not have a server.xml and I am getting the following message "Unable to import package. This file is not a Business Components XML file.". Should I make something else to enable extension?? Does a patch required to make extensions. Any help would be appreciated.

    What I know is that server.xml is not a must. This is the easiest way to import appropriate xml files. My question is, when I am trying to Project>Import Business Components > xxxVO.xml I am getting the above error although the xxxVO.xml is a Business Component. I wanna know that should some patch be applied to Jdeveloper (Build 1325)?? (by the way at first I tried with Build 1312 and the same error raised)

  • Can't Figure Out How To Import XML into a Table?

    HELP!
    I've been using InDesign for several years now... but everything Ive ever done has been basic one off layout concepts.
    I am working on a website for a musical theater actress and for her resume, Id like to make a PDF which lists in table format the show, theatre and role she had for each job.
    I could do this manually... but Id really like to learn how to just reuse the same XML data that I have for her website and import it into InDesign.
    I have looked at Adobe's help file, I have scoured the internet, and I still can't figure it out... I have done like the adobe support file says... and I cant seem to get the values I create in her resume xml file to show up in a table I create in InDesign.
    I even tried to simplify it for the learning process and did something as basic as an XML file that has 5 colors... couldnt even get that working.
    So could someone explain it to me like Im a 5 year old... how to take a XML file, import it, place it in a table and have the data actually show up in the table.
    thanks,
    brian

    Are you sure you want to use XML with tables for this? No doubt importing XML into tables is useful for some specialized tasks, such as importing formatting information inside the XML itself, but for most of the familiar tasks that XML excels at, tables are neither necessary nor useful.
    In my (limited) experience, if the XML elements are well-differentiated, by which I mean different types of data have their own distinctive tags, then the special powers of XML can be exploited more fully using the more familiar tagged text, nested tags etc. in ordinary text frames using paragraph breaks, tab characters, etc. to achieve a suitably "tabular" finished appearance.
    If you must import XML into tables, I recommend Adobe's own PDF "Adobe InDesign CS3 and XML: A Technical Reference" availabe here:
    http://www.adobe.com/designcenter/indesign/articles/indcs3ip_xmlrules.pdf
    It sounds very daunting -- the words "technical reference" make me shudder -- but actually it's very readable and not very technical at all. Some nice pics and everything!
    Jeremy

  • Importing XML Text files with Indesign friendly 'Carriage Returns'

    Hi,
    I have a question wrt importing XML into Indesign.  I have my text stored in Excel (Fig A) and intend to export as an XML file where each line will represent each page.  However, my first attempt failed to treat the 'carriage returns' as I'd envisaged:
    The 'carriage returns' used within an Excel cell (ALT-ENTER) are maintained when transforming to a CSV file (Fig B).  However, when converting to an XML file, the conversion only takes place on a line by line basis and hence the XML file becomes incomplete (Fig C).
    So, it appears I need to make sure that the CSV file contains one line per entry, while also maintaining the actual carriage returns in my source spreadsheet and for Indesign to recognise them.  In order to do this, I'll need to substitute the 'carriage returns' in my excel column to be represented by a new set of characters.  My question is how can I let Indesign know to recognise this set of characters to be converted to a carriage return, when importing text.
    For example, if this set of characters was '%%%%%%', then my new csv file would look like Figure D and the XML would be produced correctly, like Figure E.  Then importing this XML file to InDesign, the carriage returns would automatically be reinstated, hopefully.
    I hope someone can help me as I am only starting out in Indesign and feel Im running before I can walk by venturing into the XML/Indesign arena too soon.
    Best Regards
    Luke

    Hi,
    Thanks for all the responses.
    With regard to XML, it could well be an issue has crept in because I am using another utility to convert my csv's to xml and maybe there are better options out there. I will take a look for other utilities and try that (Its not possible from Excel easily, even though there is an option to save as an XML file).
    Secondly, because the XML was readable by internet explorer, I assumed it had a satisfactory standard XML format which would be accepted by any program, including InDesign.  This proved true, since the XML file i generated was actually recognised by my Indesign document and populated the tags correctly, albeit without any carriage returns. 
    When I save my excel sheet as a csv, it does actually hold the carriage returns causing multiple lines per entry, hence why I need to substitute the actual carriage returns in my excel sheet to a alternative character set so that the entry remains on one line.
    Re: Double quotes on text fields.  Im sorry, I didnt realise I had commas in my sample csv example.
    I should have corrected it, but I intend on using semi-colons as my csv delimiter and don't intend on having semi-colons in my excel sheet itself, so I possibly won't need any double-quotes.
    So, it looks like this is what I need to do ;
    i)   Add a column in Excel which substitutes all the carriage returns with a line break identifier (^n).
    ii)  Convert Excel file to a semi-colon csv holding this new column,
    iii) Convert csv file to XML using a good CSV->XML utility,
    iv)  Add the respective XML tags to my INDD document,
    v)   Add a GREP rule which does a find/replace on all instances of ^n and replace with a line break,
    vi)  Import the XML file,
    vii) Apply the find/replace GREP rule on the whole document. Carriage returns on my text fields should be consistent with my original excel sheet.
    Thanks for all your help fellas.  Will report on how I get on once Im done.
    Best Regards
    L

  • Validate XML file using nested XSD's

    Hi,
    I am currently trying to create a method that can validate a XML document based on a long series of nested XSD's.
    I am however not sure of how to implement this validation with the nested XSD's.
    Currently I have created the following function:
         public void validate(InputStream xmlDocument) {
              try {
                   SAXParserFactory spf = SAXParserFactory.newInstance();
                   spf.setNamespaceAware(true);
                   spf.setValidating(true);
                   SAXParser sp = spf.newSAXParser();
                   InputStream schema1 = this.getClass().getResourceAsStream("schema.xsd");
                   InputStream schema2 = this.getClass().getResourceAsStream("schema1.xsd");
                   Object[] schemas = {schema1,schema2};
                   final String JAXP_SCHEMA_LANGUAGE = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
                   final String W3C_XML_SCHEMA = "http://www.w3.org/2001/XMLSchema";
                   final String JAXP_SCHEMA_SOURCE = "http://java.sun.com/xml/jaxp/properties/schemaSource";
                   sp.setProperty(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA);
                   sp.setProperty(JAXP_SCHEMA_SOURCE, schemas);
                   sp.parse(xmlDocument, new ParseErrorHandler());
              } catch (SAXException e) {
                   System.out.println(e.toString());
              } catch (ParserConfigurationException e) {
                   System.out.println(e.toString());
              } catch (IOException e) {
                   System.out.println(e.toString());
    The schemas that I reference are imported into the namespace of the class that contains the above method. schema.xsd contains a reference to schema1.xsd.
    The exception that I get is:
    com.sap.engine.lib.xml.parser.NestedSAXParserException: Generic Exception: -> com.sap.engine.lib.xml.util.NestedException: [location : null] ERROR : schema1.xsd (The system cannot find the file specified)
    This I dont understand since the schema1.xsd is located right along with schema.xsd which is found without trouble.
    Hope someone can clearify this issue for me, since I'm somewhat lost.
    Best regards,
    Daniel

    Hi,
    I am currently trying to create a method that can validate a XML document based on a long series of nested XSD's.
    I am however not sure of how to implement this validation with the nested XSD's.
    Currently I have created the following function:
         public void validate(InputStream xmlDocument) {
              try {
                   SAXParserFactory spf = SAXParserFactory.newInstance();
                   spf.setNamespaceAware(true);
                   spf.setValidating(true);
                   SAXParser sp = spf.newSAXParser();
                   InputStream schema1 = this.getClass().getResourceAsStream("schema.xsd");
                   InputStream schema2 = this.getClass().getResourceAsStream("schema1.xsd");
                   Object[] schemas = {schema1,schema2};
                   final String JAXP_SCHEMA_LANGUAGE = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
                   final String W3C_XML_SCHEMA = "http://www.w3.org/2001/XMLSchema";
                   final String JAXP_SCHEMA_SOURCE = "http://java.sun.com/xml/jaxp/properties/schemaSource";
                   sp.setProperty(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA);
                   sp.setProperty(JAXP_SCHEMA_SOURCE, schemas);
                   sp.parse(xmlDocument, new ParseErrorHandler());
              } catch (SAXException e) {
                   System.out.println(e.toString());
              } catch (ParserConfigurationException e) {
                   System.out.println(e.toString());
              } catch (IOException e) {
                   System.out.println(e.toString());
    The schemas that I reference are imported into the namespace of the class that contains the above method. schema.xsd contains a reference to schema1.xsd.
    The exception that I get is:
    com.sap.engine.lib.xml.parser.NestedSAXParserException: Generic Exception: -> com.sap.engine.lib.xml.util.NestedException: [location : null] ERROR : schema1.xsd (The system cannot find the file specified)
    This I dont understand since the schema1.xsd is located right along with schema.xsd which is found without trouble.
    Hope someone can clearify this issue for me, since I'm somewhat lost.
    Best regards,
    Daniel

  • Unabel to Import XML file in Internet Explorer 9 Using PHP

    I have created a project Using PHP in which i need to import a xml file for my further use, I am able to import XML File  in IE 10 & IE11 but unable to import in IE9. 

    Hi Sunil,
    I recommend that you post in some PHP related forums, since this forum is only for VSTO related questions.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to import XML into SQL Table

    Dear all,
    There are a lot of books about exporting data into XML format.
    Actually, how to use XML Documents? Sorry I am new that I ask such a question.
    What i think may be exchange or save data using xml. If so, How to import into MS SQL table? Do it need to do any mapping?
    Appreciate for your hints

    Are you sure you want to use XML with tables for this? No doubt importing XML into tables is useful for some specialized tasks, such as importing formatting information inside the XML itself, but for most of the familiar tasks that XML excels at, tables are neither necessary nor useful.
    In my (limited) experience, if the XML elements are well-differentiated, by which I mean different types of data have their own distinctive tags, then the special powers of XML can be exploited more fully using the more familiar tagged text, nested tags etc. in ordinary text frames using paragraph breaks, tab characters, etc. to achieve a suitably "tabular" finished appearance.
    If you must import XML into tables, I recommend Adobe's own PDF "Adobe InDesign CS3 and XML: A Technical Reference" availabe here:
    http://www.adobe.com/designcenter/indesign/articles/indcs3ip_xmlrules.pdf
    It sounds very daunting -- the words "technical reference" make me shudder -- but actually it's very readable and not very technical at all. Some nice pics and everything!
    Jeremy

  • Unable to Import Diagnostics module

    Hi,
    I have added worker and web role in my Visual Studio Project. While, modifying the Cloud Configuration Settings there is no 'Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionStrings' settings name . For this I tried to import the diagnostics module in the
    ServiceDefinition.csdef File of the solution but an error came up saying 'Unable to import the Diagnostics module. No manfiest found'.
    Kindly help.
    Thanks before hand.

    Hi,
    To collect diagnostics data, you must import the Diagnostics module in the service model for each role from which you want to collect diagnostic data. The module is imported by adding an Import element to the ServiceDefinition.csdef file. The following example
    shows the Import element defined for a web role:
    <?xml version="1.0" encoding="utf-8"?>
    <ServiceDefinition name="MyHostedService" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2012-10.1.8">
    <WebRole name="WebRole1">
    <!--<Sites> ... </Sites> -->
    <!-- <Endpoints> ... </Endpoints> -->
    <Imports>
    <Import moduleName="Diagnostics" />
    </Imports>
    </WebRole>
    </ServiceDefinition>
    Diagnostics data is not persisted to storage by default.  To transfer diagnostic data to storage, you must define a connection string in the ServiceConfiguration.cscfg file. If you want to use a storage account in Windows Azure, you must change the
    connection string to include an account name and account key:
    <ConfigurationSettings>
    <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="DefaultEndpointsProtocol=https;AccountName=<AccountName>;AccountKey=<AccountKey>"/>
    </ConfigurationSettings>
    Refer the Following articles:
    https://msdn.microsoft.com/en-us/library/azure/hh411537.aspx
    https://msdn.microsoft.com/en-us/library/azure/dn482131.aspx
    You may also lookup these Forum Threads that deal with the same issue.
    http://stackoverflow.com/questions/6663720/how-is-azure-diagnostics-storage-account-configured
    http://stackoverflow.com/questions/19428249/unable-to-import-module-diagnostics-no-manifest-was-found
    Regards,
    Nithin Rathnakar

  • Unable to import movie files from iphoto '08 into imovie HD

    I have recently bought a 2008 macbook (2.2 GHz) and have recently downloaded imovie HD in addition to owning iLife '08 due to its extra capabilities. I have found that I am unable to import any of my movie files from my iphoto library folder as it seems to need to open the actual iphoto application before the files can be accessed. In addition, when not using any specific program it would be nice to be able to access my photo/video files within the iphoto folder without iphoto automatically opening as the default viewer.
    Any ideas??!! Thanks.

    ahostmadsen wrote:
    .. and I import AVI video clips directly without converting to .dv, without problems.
    lucky you.. .avi is just a container, no 'format'/codec .. I can show you dozends of .avis, which will NOT import into iMHD6, due to being playback-codecs, not convertable by the underlying Quicktime engine into separte, editable audio+video streams ..
    .. If you convert to .dv, the size just blows up.
    dv is 13GB/h and a codec meant for editing; e.g. it stores every frame (video=30 frams/sec) of a recording, as mpegs usually doesn't do so.. = your Mac has to estimate content, when converting and 'recovering' the content = lossy process.
    iMHD6 is a dv-editor; the mpeg4 feature is only a toy, to spice up iSight recordings.. for sure, the QTengine can convert a lot, but too much conversion (from one lossy codec, e.g. divx, into another, e.g. mp4) means a (dramatic) loss of pic quality..
    my 5€ cents ..

Maybe you are looking for

  • Commitment line items

    Hi gurus, I am facing the problem please help When viewing When viewing commitment line items and actual/plan/commitment reports in CO, there appears to be a difference between the two. I have executed transaction KSB2 with the following parameters:

  • Changing the Condition value in Quatation only and not in Order

    Hi Gurus, We have a Requirement from Client in which the Client should be Able to change the condition Value PR00 in the Quotation and not in Sales order......can someone please let me know how's that possible? Because if we try to make Changes in Co

  • SXMB_MONI error in R/3

    everything was successful in pi and when i checked in sxmb_moni in r/3 it has shown a error as below. PI is calling a inbound proxy in this proxy it is calling the bapi function module. I HAD CHECKED IN PI Mapping the field gl_account is string and w

  • Spry horizontal menu: submenu background problem in IE7

    Hello, I am using the Spry horizontal menu in this website: http://www.isis-papyrus.com It works perfectly on all current version browsers, but in IE7 the white submenu background only shows behind the actual text for each link and not to the border

  • OIap AW are Invalid after applying the Oracle patch 9.2.0.6

    Hi We have applied Oracle patch 9.2.0.6. after applied the patch we are not able to connect with AW might be all AW are invalid. i am getting the following error : ava.sql.SQLException: ORA-06521: PL/SQL: Error mapping function ORA-06512: at "SYS.DBM