Xpath for clob containing xml

SQL> desc testload
Name Type Nullable Default Comments
TEST_XML CLOB Y
VERSION
11.2.0.1.0
SQL> SELECT
2 xmlcast(
3 xmlquery('/osd/customerNumber' passing XMLTYPE(test_xml) as "d" returning content)
4 as NUMBER
5 )
6 from Testload
7 ;
SELECT
xmlcast(
xmlquery('/osd/customerNumber' passing XMLTYPE(test_xml) as "d" returning content)
as NUMBER
from Testload
ORA-19228: XPST0008 - undeclared identifier: prefix '.' local-name ''

the xml is below.
i am using a blob because i am having issues loading this into a xmltype the error i get is string litteral too long.
<osd><customer operation=UPD><commonDetails><customerNumber>42961</customerNumber><masterIndicator>Y</masterIndicator>
<cifID>100080022</cifID><cifPreviousCustomerNumber/><customerShortName>United Nations Childrens Fd</customerShortName><murexUniqueShortName/>
<cifCustomerLongName>United Nations Childrens Fund</cifCustomerLongName><cifFormerlyKnownAs/><cifCustomerStatus>A</cifCustomerStatus>
<cifClosedReason><cifClosedReasonCode/><cifClosedReasonDescription/></cifClosedReason><clientAlias/><wholesaleRetailIndicator>W</wholesaleRetailIndicator>
<customerType>E</customerType><language><languageCode>E</languageCode><languageDescription>ENGLISH</languageDescription></language>
<openedDate>2006-05-13</openedDate><effectiveDate>2006-05-13</effectiveDate><dateClosed/><scmbStatus>A</scmbStatus><internalIndicator>N</internalIndicator>
<nonResidentIndicator>N</nonResidentIndicator><groupCode/><countryOfResidence><countryOfResidenceCode>US</countryOfResidenceCode>
<countryOfResidenceName>UNITED STATES</countryOfResidenceName></countryOfResidence><countryOfOperation><countryOfOperationCode>US</countryOfOperationCode>
<countryOfOperationName>UNITED STATES</countryOfOperationName></countryOfOperation><tradingSector/><vatNumber/><taxNumber/><icmUserIndicator>N</icmUserIndicator>
<importerIndicator>N</importerIndicator><exporterIndicator>N</exporterIndicator><addresses><registeredAddress><line1>UNICEF House</line1>
<line2>3 United Nations Plaza</line2><line3/><line4/><postalCode>10017</postalCode><countryCodeOfRegistration>US</countryCodeOfRegistration>
<countryNameOfRegistration>UNITED STATES</countryNameOfRegistration><region>New York</region><city>New York</city></registeredAddress>
<residentialAddress><line1>3 United Nations Plaza</line1><line2>UNICEF House</line2><line3/><line4/><postalCode/><yearsAtAddress/></residentialAddress>
<postalAddress><line1/><line2/><line3/><line4/><postalCode/></postalAddress></addresses><form50><form50Code/><form50Description/></form50>
<mainMarketSegmentType><mainMarketSegmentTypeCode/><mainMarketSegmentTypeDescription/></mainMarketSegmentType><marketSubSegmentType><marketSubSegmentTypeCode/>
<marketSubSegmentTypeDescription/></marketSubSegmentType><creditRatingAgency/><creditRating><creditRatingCode/><creditRatingDescription/></creditRating>
<nonSBSADetails><nonSBSACustomerIndicator>N</nonSBSACustomerIndicator><nonSBSABankCode/><nonSBSABranchNumber/><nonSBSABranchName/><nonSBSAAccountNumber/>
</nonSBSADetails><accountingStaticData><sapDetails><sapCounterpartyEntityCode/><resBankCode/><resBankDescription/><sapPartnerProfitCentre/>
<sapPartnerProfitCentreName/><sihSectorAccountGroup>O</sihSectorAccountGroup><sarbSapSectorCode/><industrialCode>00842</industrialCode>
<industrialDescription>PROVISION OF SERVICES TO THE COMMUNITY</industrialDescription><boeIndustryCode>1401</boeIndustryCode><boeIndustryName>Personal & Community Services</boeIndustryName></sapDetails>
<globusDetails><globusFinancialInstitutionType/><r105AuthorisedIndicator>N</r105AuthorisedIndicator><marginCustomerIndicator/>
<tfaCustomerIndicator>N</tfaCustomerIndicator><tafCounterpartyIndicator/><jfbMidasNumber/><fsaClassIndicator/><globusMnemonic>UNEF</globusMnemonic>
<pepIndicator>N</pepIndicator><fxNettIndicator>N</fxNettIndicator><hongkongCustomerIndicator>N</hongkongCustomerIndicator>
<taipeiCustomerIndicator>N</taipeiCustomerIndicator><brazilCustomerIndicator>N</brazilCustomerIndicator><sihGroupCode>01</sihGroupCode>
<sihGroupDesc>THIRD PARTY</sihGroupDesc><taiwanTaxExemptIndicator>N</taiwanTaxExemptIndicator><taiwanLocalIndustry>US</taiwanLocalIndustry><roleCode/>
<roleDesc/><spectrumLocation>USA</spectrumLocation><r105Date/><departmentCode>17</departmentCode><departmentDesc>TREASURY/BUSINESS DEVELOPMENT</departmentDesc>
<custodyCounterpartyMarker>N</custodyCounterpartyMarker><globusLongName/><globusAddressLine1>THREE UNITED NATIONS PLAZA</globusAddressLine1>
<globusAddressLine2>NEW YORK NY 10017</globusAddressLine2><globusAddressLine2b/><globusAddressLine3>USA</globusAddressLine3><globusAddressLine3b/>
<departmentEntityCode>SBL</departmentEntityCode><departmentEntityDescription>Standard Bank Plc</departmentEntityDescription>
<taiwanLocalIndustryDescription>UNITED STATES</taiwanLocalIndustryDescription><safeCustody>N</safeCustody><tafEligible>N</tafEligible></globusDetails>
</accountingStaticData><externalFeedMapping><externalFeedMappingCode>WWW</externalFeedMappingCode><externalFeedMappingDescription>Web Site</externalFeedMappingDescription><externalFeedMappingClientReference>CRIDOC</externalFeedMappingClientReference>
</externalFeedMapping><externalFeedMapping><externalFeedMappingCode>WWW</externalFeedMappingCode><externalFeedMappingDescription>Web Site</externalFeedMappingDescription><externalFeedMappingClientReference>UNESCO.ORG</externalFeedMappingClientReference></externalFeedMapping><externalFeedMapping>
<externalFeedMappingCode>WWW</externalFeedMappingCode><externalFeedMappingDescription>Web Site</externalFeedMappingDescription><externalFeedMappingClientReference>UNICEF.ORG</externalFeedMappingClientReference></externalFeedMapping><globalEntityCode>SBSA</globalEntityCode><icmaMember>N</icmaMember>
<fsaReportable>Y</fsaReportable><icmaCode/><sibCode/></commonDetails><enterpriseDetails><registeredName>United Nations Childrens Fund</registeredName>
<masterCustomerNumber/><cifTopParentID>100080022</cifTopParentID><cifLegalEntityParentID/><cifHierarchyLevel>TP</cifHierarchyLevel><cifTopParentOnlyIndicator>N</cifTopParentOnlyIndicator><cifAdditionalInfo/><standardBankEntityIndicator>N</standardBankEntityIndicator><cifBICCode/><cifFormattedRegisteredName/>
<cifTradingName>UNICEF</cifTradingName><bankIndicator>N</bankIndicator><enterpriseType><enterpriseTypeCode>099</enterpriseTypeCode><enterpriseTypeDescription>ENTERPRISE TYPE UNKNOWN</enterpriseTypeDescription></enterpriseType><registrationNumber/><cifRegistrationState/><registrationDate>1946-12-11</registrationDate>
<authorisedDealer><authorisedDealerCode/><authorisedDealerDescription/></authorisedDealer><primarySIC><primarySICCode/><primarySICDescription/></primarySIC><secondarySIC><secondarySICCode/><secondarySICDescription/></secondarySIC><tertiarySIC><tertiarySICCode/><tertiarySICDescription/></tertiarySIC><taxYearEnd/>
<mainBanker/><secondaryBanker/><npsParticipantIndicator>N</npsParticipantIndicator><primarySwiftAddress/><isdaDetails><isdaIndicator>N</isdaIndicator><isdaEffectiveDate/><isdaLastUpdated/></isdaDetails><clsDetails><clsMemberIndicator>N</clsMemberIndicator><clsType><clsTypeCode/><clsTypeDescription/></clsType>
</clsDetails><directors/><mandates/><shareholders/><topParentName>United Nations Childrens Fd</topParentName><FundAdministrator/><FundAdminDescription/><LegalFormType>Fund</LegalFormType></enterpriseDetails><communicationDetails><communicationDetailsForInstrument><instrument>10</instrument>
<instrumentDescription>FX INTERBANK</instrumentDescription><communicationType>ADDR</communicationType><communicationTypeDescription>POSTAL ADDRESS</communicationTypeDescription><kycLocationCode/><countryDialingCode/><areaDialingCode/><communicationNumber>ADDR</communicationNumber><primaryIndicator>N</primaryIndicator>
<contactName/><confirmationIndicator>N</confirmationIndicator><communicationSequence>1</communicationSequence><primaryForTypeIndicator>Y</primaryForTypeIndicator><entityCode>SBL</entityCode><processingOrgOsdId/><addressLine1>UNICEF UNITED NATIONS CHILDREN FUND</addressLine1>||
<addressLine2>THREE UNITED NATIONS PLAZA</addressLine2><addressLine3/><addressLine4/><postalCode/><countrySwiftCode>US</countrySwiftCode><cityCode>NEW YORK</cityCode><adminAreaCode>NEW YORK</adminAreaCode><countryDescription>UNITED STATES</countryDescription><suppressConfirmation>N</suppressConfirmation>
<holdConfirmation/></communicationDetailsForInstrument><communicationDetailsForInstrument><instrument>11</instrument><instrumentDescription>FX DERIVATIVES</instrumentDescription><communicationType>FAX</communicationType><communicationTypeDescription>FACSIMILE</communicationTypeDescription><kycLocationCode/>
<countryDialingCode>001</countryDialingCode><areaDialingCode>21</areaDialingCode><communicationNumber>23267425</communicationNumber><primaryIndicator>N</primaryIndicator><contactName/><confirmationIndicator>N</confirmationIndicator><communicationSequence>1</communicationSequence>
<primaryForTypeIndicator>Y</primaryForTypeIndicator><entityCode>SBL</entityCode><processingOrgOsdId/><addressLine1/><addressLine2/><addressLine3/><addressLine4/><postalCode/><countrySwiftCode/><cityCode/><adminAreaCode/><countryDescription/><suppressConfirmation>N</suppressConfirmation><holdConfirmation/>
</communicationDetailsForInstrument><communicationDetailsForInstrument><instrument>50</instrument><instrumentDescription>SBL ALL</instrumentDescription><communicationType>FAX</communicationType><communicationTypeDescription>FACSIMILE</communicationTypeDescription><kycLocationCode/>
<countryDialingCode>001</countryDialingCode><areaDialingCode>212</areaDialingCode><communicationNumber>3267425</communicationNumber><primaryIndicator>N</primaryIndicator><contactName>NA</contactName><confirmationIndicator>Y</confirmationIndicator><communicationSequence>1</communicationSequence>
<primaryForTypeIndicator>Y</primaryForTypeIndicator><entityCode>SBL</entityCode><processingOrgOsdId/><addressLine1/><addressLine2/><addressLine3/><addressLine4/><postalCode/><countrySwiftCode/><cityCode/><adminAreaCode/><countryDescription/><suppressConfirmation>N</suppressConfirmation><holdConfirmation/>
</communicationDetailsForInstrument><communicationDetailsForInstrument><instrument>10</instrument><instrumentDescription>FX INTERBANK</instrumentDescription><communicationType>REUTR</communicationType><communicationTypeDescription>REUTERS</communicationTypeDescription><kycLocationCode/>
<countryDialingCode>0</countryDialingCode><areaDialingCode>0</areaDialingCode><communicationNumber>UNEF</communicationNumber><primaryIndicator>N</primaryIndicator><contactName/><confirmationIndicator>N</confirmationIndicator><communicationSequence>1</communicationSequence><primaryForTypeIndicator>Y</primaryForTypeIndicator>
<entityCode>SBL</entityCode><processingOrgOsdId/><addressLine1/><addressLine2/><addressLine3/><addressLine4/><postalCode/><countrySwiftCode/><cityCode/><adminAreaCode/><countryDescription/><suppressConfirmation>N</suppressConfirmation><holdConfirmation/></communicationDetailsForInstrument></communicationDetails>
<ssiDetails><normal><ssiForInstrument><instrument>10</instrument><instrumentDescription>FX INTERBANK</instrumentDescription><currencyCode>BDT</currencyCode><primaryIndicator>Y</primaryIndicator><bankAccountNumber>42961</bankAccountNumber><effectiveDate>2007-07-14</effectiveDate><lastUpdated>2007-07-14</lastUpdated>
<loadSSIFor>C</loadSSIFor><status>A</status><correspondentDetails><option>A</option><bankAccountNumber>0850032</bankAccountNumber><customerNo>53023</customerNo><swiftAddress>SCBLBDDX</swiftAddress><shortName>Standard Chartered Bk Dhaka Br</shortName><message>N</message></correspondentDetails><intermediaryDetails>
<intermediarySSISeq>1</intermediarySSISeq></intermediaryDetails><beneficiaryDetails><ibanIndicator>N</ibanIndicator><thirdPartyIndicator>N</thirdPartyIndicator></beneficiaryDetails><customerDetails><option>D</option><narrative2>United Nations Children Fund</narrative2><narrative3>3 United Nations Plaza</narrative3>
<ibanIndicator>N</ibanIndicator><thirdPartyIndicator>N</thirdPartyIndicator></customerDetails><roleCode>CLIENT</roleCode><effectiveDateType>V</effectiveDateType><method>S</method><uniqueSysGenNum>26961</uniqueSysGenNum><entityCode>SBL</entityCode><globusBankNumberIndicator>N</globusBankNumberIndicator>
<securityFlag>CASH</securityFlag><custody>N</custody><triParty>N</triParty><additionalCurrencyDetails/></ssiForInstrument><ssiForInstrument><instrument>10</instrument><instrumentDescription>FX INTERBANK</instrumentDescription><currencyCode>CHF</currencyCode><primaryIndicator>Y</primaryIndicator><bankAccountNumber>42961</bankAccountNumber>
<effectiveDate>2008-03-27</effectiveDate><lastUpdated>2008-03-27</lastUpdated><loadSSIFor>C</loadSSIFor><status>A</status><correspondentDetails><option>A</option><bankAccountNumber>0141448</bankAccountNumber><customerNo>39537</customerNo><swiftAddress>UBSWCHZH80A</swiftAddress><shortName>UBS Ag Zurich Br</shortName><message>N</message></correspondentDetails>
<intermediaryDetails><intermediarySSISeq>1</intermediarySSISeq></intermediaryDetails><beneficiaryDetails><ibanIndicator>N</ibanIndicator><thirdPartyIndicator>N</thirdPartyIndicator></beneficiaryDetails><customerDetails><option>D</option><narrative1>240C02607340</narrative1><narrative2>UNITED NATIONS CHILDRENS FUND</narrative2><ibanIndicator>N</ibanIndicator>
</subscription></systemSubscriptionDetails>
</customer></osd>

Similar Messages

  • UIXJSP App built off BC4J Project JBO Excep XML File not found for the Container

    Running JDEV 9.0.3 build 960
    Created a new project in folder "UIX JSP"
    "UIX JSP" note the space!
    Create a default UIX JSP Application based on existing BC4J Project
    When running a JSP - Get a JBO Error complaining that the XML File not found for the Container
    If I recreate the project with name UIX_JSP problem does not occur.

    I logged a bug on this.

  • XML File not found for the Container model.cpx

    I can run my application from JDeveloper without receiving the error. But when I deploy the application I get the following:
    500 Internal Server Error
    oracle.jbo.NoXMLFileException: JBO-26001: XML File not found for the Container model.cpx     at oracle.jbo.mom.DefinitionManager.loadProjectDefinition(DefinitionManager.java:751)     at oracle.jbo.uicli.mom.JUMetaObjectManager.createPool(JUMetaObjectManager.java:457)     at oracle.jbo.http.HttpContainer.findSessionCookie(HttpContainer.java:541)     at oracle.jbo.html.struts11.BC4JRequestProcessor.initPageFromPath(BC4JRequestProcessor.java:233)     at oracle.jbo.html.struts11.BC4JRequestProcessor.processMapping(BC4JRequestProcessor.java:123)     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:234)     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)     at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:721)     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)     at java.lang.Thread.run(Thread.java:479)
    Any Ideas?

    Hi,
    please explicitly "make" the project. One reason for this problem could be that the model.cpx isn't created properly. Select the model project and compile the complete project before deploying it. Sometimes it helps to clear the "class" directory of the project on teh file system before re-compiling
    Frank

  • "XML File not found for the Container DataBindings.cpx" error after deploy

    Hello,
    I have a problem with my JSP-Javaproject. Local works all fine but when i deploy my project to a Oracle Aplication Server i allway get this XML-File-Not-found exception:
    oracle.jbo.NoXMLFileException: JBO-26001: XML File not found for the Container DataBindings.cpx
    In my EAR-File the DataBindings.cpx is at:
    \WEB-INF\classes\
    My JSP-File:
    <jbo:ApplicationModule id="AippackageModule" definition="DataBindings.DataModule" releasemode="Stateful" />
    My web.xml:
    <context-param>
    <param-name>CpxFileName</param-name>
    <param-value>DataBindings</param-value>
    </context-param>
    My DataBindings.cpx:
    <?xml version='1.0' encoding='windows-1252' ?>
    <Application xmlns="http://xmlns.oracle.com/adfm/application" id="DataBindings"
    Package="" ClientType="Generic">
    <pageMap>
    </pageMap>
    <pageDefinitionUsages>
    <page id="eonerrorPageDef"
    path="de.avacon.ahb.system.tools.pageDefs.eonerrorPageDef"/>
    </pageDefinitionUsages>
    <dataControlUsages>
    <BC4JDataControl Configuration="AppModuleLocal"
    Package="model.data"
    xmlns="http://xmlns.oracle.com/adfm/datacontrol"
    id="DataModule">
    <Parameters/>
    </BC4JDataControl>
    </dataControlUsages>
    </Application>
    What can i do?
    Thanks, steve

    Adding the dependency in the ViewController fixed this for me.
    I'm using two AppModules in the controller and the second one wasn't being picked up.
    I was able to fix this by:
    Go to the Project Properties, select Dependencies, edit the Dependent Projects and Archives, find the model that's failing and add a tick in the Build Output box.
    The model should now be picked up in the ViewController's DataBindings.cpx source file, though I did have to restart JDev for this to be picked up.
    HTH
    Phil

  • XML File not Found for the Container BC4J.cpx

    Hi,
    Have following error when I start a BC4J-JSP/Struts application (with Embedded and standalone OC4J) :
    500 Internal Server Error
    oracle.jbo.NoXMLFileException: JBO-26001: XML File not found for the Container BC4J.cpx
         oracle.jbo.mom.ContainerDefImpl oracle.jbo.mom.DefinitionManager.loadProjectDefinition(java.lang.String)
              DefinitionManager.java:751
         oracle.jbo.mom.ContainerDefImpl oracle.jbo.mom.DefinitionManager.loadProjectDefinition()
              DefinitionManager.java:793
         void oracle.jbo.mom.DefinitionManager.initManager()
              DefinitionManager.java:137
         void oracle.jbo.uicli.mom.JUMetaObjectManager.<init>()
              JUMetaObjectManager.java:57
         oracle.jbo.uicli.mom.JUMetaObjectManager oracle.jbo.uicli.mom.JUMetaObjectManager.getJUMom()
              JUMetaObjectManager.java:131
         oracle.jbo.common.ampool.SessionCookie oracle.jbo.http.HttpContainer.findSessionCookie(javax.servlet.http.HttpSession, java.lang.String, java.lang.String, java.util.Properties)
              HttpContainer.java:541
         boolean oracle.jbo.html.struts11.BC4JRequestProcessor.initPageFromPath(oracle.jbo.html.struts11.BC4JActionMapping, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              BC4JRequestProcessor.java:222
         org.apache.struts.action.ActionMapping oracle.jbo.html.struts11.BC4JRequestProcessor.processMapping(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
              BC4JRequestProcessor.java:124
         void org.apache.struts.action.RequestProcessor.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              RequestProcessor.java:234
         void org.apache.struts.action.ActionServlet.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              ActionServlet.java:1292
         void org.apache.struts.action.ActionServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              ActionServlet.java:492
         void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              HttpServlet.java:740
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpServlet.java:853
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:721
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
              ServletRequestDispatcher.java:306
         boolean com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.ApplicationServerThread, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletRequest, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:767
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:259
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run()
              HttpRequestHandler.java:106
         void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
              PooledExecutor.java:803
         void java.lang.Thread.run()
              Thread.java:484
    Then I make a Reload and it's ok.
    I have a Workspace with two Projects :
    BC4J.jpr for Businnes Components
    Web.jpr for JSP Struts
    In /classes I have the file Web.cpx, but no BC4J.cpx.
    From which does this name come ? Can I change this name ?
    Thanks
    Yves

    I found this on Metalink...
    JBO-26001: NoXMLFileException
    Cause: Could not open the named XML file for read.
    The following is from Note 137429.1. Hope this helps.
    Raja.
    JBO-26001: NoXMLFileException
    Cause: Could not open the named XML file for read.
    Action: 1. Make sure that the file is present. In particular, if the file is to be found in a zip/jar file, make sure that the Zip/JAR file is included in the CLASSPATH.
    2. This error is also reported if the name of the XML file does not match the object Name specified in the XML file. If the file system support case insensitive file names (e.g., Windows NT), make sure that the file name matches the object Name in the XML file in case-sensitive fashion.
    3. For a .JPX file, this error is reported if the JPX file is missing the JboProject XML tag. Check the JPX file to make sure that the valid tag is in there.
    4. One XML file may be extending another XML file (specified by the Extends element in this XML file). This error is reported if the base XML file is not found.
    5. When loading the XML file for a package (JboPackage tag), this error is reported if some unexpected error occurs while loading a containee.
    In all of the above cases, a more descriptive message may be printed on Diagnostic. If you are not seeing Diagnostic messages, you can run your application with Diagnostic turned on, as in "java -Djbo.debugoutput=console ...", to see Diagnostic messages.

  • Search a CLOB column(contains XML) in Oracle table

    Hi,
    I need help on how will i be able to search the data in a clob column that contains XML in an ORACLE table.
    Thanks,
    PSS

    We are using 10g.. and database in which the table is located.. i just have a read only access .. so i am pulling all the data into a flat file (im using a shell script) and from there on i need to process the data... and my problem is how to pull the data in the CLOB using sql or whichever way.. if you can explain me with an example i would really appreciate it...
    Thanks,
    PSS

  • Getting outOfMemory while using Xpath for 6MB file

    Hi ,
    Requirement:
    I have thousands of xml files of variable size (mostly around 5MB), Total size is around 20GB .The structure of xml content is as follows.
    filename: xaaaa
    <file>
    <page>
    <title>AmericanSamoa</title>
    <id>6</id>
    <revision>
    <id>133452270</id>
    <timestamp>2007-05-25T17:12:06Z</timestamp>
    <contributor>
    <username>Gurch</username>
    <id>241822</id>
    </contributor>
    <minor />
    <comment>Revert edit(s) by [[Special:Contributions/Ngaiklin|Ngaiklin]] to last version by [[Special:Contributions/Docu|Docu]]</comment>
    <text xml:space="preserve">#REDIRECT [[American Samoa]]{{R from CamelCase}}</text>
    </revision>
    </page>
    My task is to retrieve the ID , filename in which it exists and the position of node in the page, and i have to write it to a file.
    ex: 6:xaaaa:1
    My approach:
    I am using Xpath for this. The code is as follows.
    */*XPathReader.java*/*
    package preprocess;
    import java.io.IOException;
    import javax.xml.XMLConstants;
    import javax.xml.namespace.QName;
    import javax.xml.parsers.*;
    import javax.xml.xpath.*;
    import org.w3c.dom.Document;
    import org.xml.sax.SAXException;
    public class XPathReader {
    private String xmlFile;
    private Document xmlDocument;
    private XPath xPath;
    public XPathReader(String xmlFile) {
    this.xmlFile = xmlFile;
    initObjects();
    private void initObjects(){       
    try {
    xmlDocument = DocumentBuilderFactory.
                   newInstance().newDocumentBuilder().
                   parse(xmlFile);
    xPath = XPathFactory.newInstance().
                   newXPath();
    } catch (IOException ex) {
    ex.printStackTrace();
    } catch (SAXException ex) {
    ex.printStackTrace();
    } catch (ParserConfigurationException ex) {
    ex.printStackTrace();
    public Object read(String expression,
                   QName returnType){
    try {
    XPathExpression xPathExpression =
                   xPath.compile(expression);
    return xPathExpression.evaluate
                   (xmlDocument, returnType);
    } catch (XPathExpressionException ex) {
    ex.printStackTrace();
    return null;
    XpathReaderTest.java
    /* it takes directory name as argument, this directory contains xml file*/
    package preprocess;
    import java.io.*;
    import javax.xml.xpath.XPathConstants;
    import org.w3c.dom.*;
    public class XPathReaderTest {
    public XPathReaderTest() {
    public static void main(String[] args) throws IOException{
         if (args.length <= 0) {
              System.out.println(
              "Usage: java PreProcess dir_name"
              return;
              String dir=null;
              if (args.length >= 1) dir = args[0];
              int indexno=0;
              File directory = new File(dir);
              File[] files = directory.listFiles();
              FileWriter fstream = new FileWriter("index"+indexno+".txt");
         BufferedWriter out = new BufferedWriter(fstream);
         XPathReaderTest xt=new XPathReaderTest();
              /*for (int index = 0; index < files.length; index++)
                   System.out.println(files[index].toString());
              for (int index = 0,i=1; index < files.length; index++)
                   /*if(index/100>indexno){
                        indexno++;
                        out.close();
                        fstream = new FileWriter("index"+indexno+".txt");
                   out = new BufferedWriter(fstream);
                   xt.extract(files[index].toString(),index,i,out);
                   System.gc();
              out.close();
    public void extract(String completepath,int index,int i,BufferedWriter out)
    throws IOException
         System.out.println(index+" "+completepath);
              XPathReader reader = new XPathReader(completepath);
              String separator = File.separator;
              int pos = completepath.lastIndexOf(separator);
              String temp_fname=completepath.substring(0,pos);
              pos=temp_fname.lastIndexOf(separator);
              String f_name= completepath.substring(pos+1);
              i=1;
              while(true)
              String expression = "/file/page["+i+"]/id";
              String id_value= (String) reader.read(expression, XPathConstants.STRING);
              if(id_value=="")
                   break;
              out.write( id_value + ":"+ f_name+ ":"+i+ "\n" );
    i++;
    Problem:
    This code works fine for xml files < 6MB, but its giving outOfMemory for 6MB and above file.
    I have tried with -Xms256m -Xmx512m option.
    Please suggest the work around , or any modification to code that will resolve my problem.
    I am new to java world , so problem root cause will be very helpful for me.
    Thanks

    Hi ,
    Requirement:
    I have thousands of xml files of variable size (mostly around 5MB), Total size is around 20GB .The structure of xml content is as follows.
    /*filename: xaaaa*/
    <file>
    <page>
        <title>AmericanSamoa</title>
        <id>6</id>
        <revision>
          <id>133452270</id>
          <timestamp>2007-05-25T17:12:06Z</timestamp>
          <contributor>
            <username>Gurch</username>
            <id>241822</id>
          </contributor>
          <minor />
          <comment>Revert edit(s) by [[Special:Contributions/Ngaiklin|Ngaiklin]] to last version by [[Special:Contributions/Docu|Docu]]</comment>
          <text xml:space="preserve">#REDIRECT [[American Samoa]]{{R from CamelCase}}</text>
        </revision>
      </page>
    </file>My task is to retrieve the ID , filename in which it exists and the position of node in the page, and i have to write it to a file.
    ex: 6:xaaaa:1
    My approach:
    I am using Xpath for this. The code is as follows.
    */*XPathReader.java*/*
    package preprocess;
    import java.io.IOException;
    import javax.xml.XMLConstants;
    import javax.xml.namespace.QName;
    import javax.xml.parsers.*;
    import javax.xml.xpath.*;
    import org.w3c.dom.Document;
    import org.xml.sax.SAXException;
    public class XPathReader {
        private String xmlFile;
        private Document xmlDocument;
        private XPath xPath;
        public XPathReader(String xmlFile) {
            this.xmlFile = xmlFile;
            initObjects();
        private void initObjects(){       
            try {
                xmlDocument = DocumentBuilderFactory.
                   newInstance().newDocumentBuilder().
                   parse(xmlFile);           
                xPath =  XPathFactory.newInstance().
                   newXPath();
            } catch (IOException ex) {
                ex.printStackTrace();
            } catch (SAXException ex) {
                ex.printStackTrace();
            } catch (ParserConfigurationException ex) {
                ex.printStackTrace();
        public Object read(String expression,
                   QName returnType){
            try {
                XPathExpression xPathExpression =
                   xPath.compile(expression);
                return xPathExpression.evaluate
                   (xmlDocument, returnType);
            } catch (XPathExpressionException ex) {
                ex.printStackTrace();
                return null;
    XpathReaderTest.java
    /* *it takes directory name as argument, this directory contains xml file**/
    package preprocess;
    import java.io.*;
    import javax.xml.xpath.XPathConstants;
    import org.w3c.dom.*;
    public class XPathReaderTest {
        public XPathReaderTest() {
        public static void main(String[] args) throws IOException{
             if (args.length <= 0) {
                    System.out.println(
                     "Usage: java PreProcess dir_name"
                    return;
              String dir=null;
              if (args.length >= 1) dir = args[0];
              int indexno=0;
              File directory = new File(dir); 
              File[] files = directory.listFiles();
              FileWriter fstream = new FileWriter("index"+indexno+".txt");
             BufferedWriter out = new BufferedWriter(fstream);
             XPathReaderTest xt=new XPathReaderTest();
              /*for (int index = 0; index < files.length; index++)
                   System.out.println(files[index].toString()); 
              for (int index = 0,i=1; index < files.length; index++)
                   /*if(index/100>indexno){
                        indexno++;
                        out.close();
                        fstream = new FileWriter("index"+indexno+".txt");
                       out = new BufferedWriter(fstream);
                   xt.extract(files[index].toString(),index,i,out);
                   System.gc();
              out.close();
        public void extract(String completepath,int index,int i,BufferedWriter out)
        throws IOException
             System.out.println(index+" "+completepath);
              XPathReader reader = new XPathReader(completepath);
              String separator = File.separator;
              int pos = completepath.lastIndexOf(separator);
              String temp_fname=completepath.substring(0,pos);
              pos=temp_fname.lastIndexOf(separator);
              String f_name= completepath.substring(pos+1);
              i=1;
              while(true)
              String expression = "/file/page["+i+"]/id";
              String id_value= (String) reader.read(expression, XPathConstants.STRING);
              if(id_value=="")
                   break;
              out.write( id_value + ":"+ f_name+ ":"+i+ "\n" );
            i++;
    }Problem:
    This code works fine for xml files < 6MB, but its giving outOfMemory for 6MB and above file.
    I have tried with -Xms256m -Xmx512m option.
    Please suggest the work around , or any modification to code that will resolve my problem.
    I am new to java world , so problem root cause will be very helpful for me.
    Thanks

  • XSLT for ABAP to XML: how can I get a variable in a literal field

    Hi,
    I have the requirement to provide an xml format (for Intrastat reporting) which contains some dynamic data within "".
    Example (I'll put the variables between && for clarity):
    <?xml version='1.0' encoding='UTF-8'?>
         <DeclarationReport xmlns="http://www.onegate.eu/2010-01-01">
              <Administration>
                   <From declarerType="KBO">0000000097</From>
                   <To>NBB</To>
                   <Domain>SXX</Domain>
              </Administration>
              <Report action="&ACTION&" date="&DATE&" code="&CODE&">
                   <Data close="&CLOSE&" form="&FORM&">
                        <Item>
                             <Dim prop="EXTRF">19</Dim>
                             <Dim prop="EXCNT">NL</Dim>
                             <Dim prop="EXTTA">3</Dim>
                             <Dim prop="EXREG">1</Dim>
                             <Dim prop="EXTGO">73202089</Dim>
                             <Dim prop="EXWEIGHT">101</Dim>
                             <Dim prop="EXUNITS">0</Dim>
                             <Dim prop="EXTXVAL">1098</Dim>
                             <Dim prop="EXTPC">3</Dim>
                             <Dim prop="EXDELTRM">CPT</Dim>
                        </Item>
                        <Item>
                             <Dim prop="EXTRF">19</Dim>
                             <Dim prop="EXCNT">DK</Dim>
                             <Dim prop="EXTTA">3</Dim>
                             <Dim prop="EXREG">1</Dim>
                             <Dim prop="EXTGO">83012000</Dim>
                             <Dim prop="EXWEIGHT">88</Dim>
                             <Dim prop="EXUNITS">0</Dim>
                             <Dim prop="EXTXVAL">73456</Dim>
                             <Dim prop="EXTPC">3</Dim>
                             <Dim prop="EXDELTRM">CPT</Dim>
                        </Item>
                   </Data>
              </Report>
            </DeclarationReport>
    All the other variables I've solved by using this technique: <xsl:value-of select="EXTRF"/> but apparently it's not allowed to do this within "".
    I have an idea that params or variables could be used to fill in those fields but I don't find the right syntax.
    For your info, here's my current transformation program; it works except for those fields
    <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sap="http://www.sap.com/sapxsl" version="1.0">
      <xsl:output encoding="UTF-8" indent="yes" method="xml" version="1.0"/>
      <xsl:strip-space elements="*"/>
      <xsl:template match="/">
        <DeclarationReport xmlns="http://www.onegate.eu/2010-01-01">
          <Administration>
            <From declarerType="KBO">&KBO&</From>
            <To>NBB</To>
            <Domain>SXX</Domain>
          </Administration>
          <Report Code="&CODE&" Date="&DATE&" action="&ACTION&">
            <Data close="&CLOSE&" form="&FORM&">
              <xsl:apply-templates select="//INTRASTAT/item"/>
            </Data>
          </Report>
        </DeclarationReport>
      </xsl:template>
      <xsl:template match="INTRASTAT/item">
        <Item>
          <Dim prop="EXTRF">
            <xsl:value-of select="EXTRF"/>
          </Dim>
          <Dim prop="EXCNT">
            <xsl:value-of select="EXCNT"/>
          </Dim>
          <Dim prop="EXTTA">
            <xsl:value-of select="EXTTA"/>
          </Dim>
          <Dim prop="EXREG">
            <xsl:value-of select="EXREG"/>
          </Dim>
          <Dim prop="EXTGO">
            <xsl:value-of select="EXTGO"/>
          </Dim>
          <Dim prop="EXWEIGHT">
            <xsl:value-of select="EXWEIGHT"/>
          </Dim>
          <Dim prop="EXUNITS">
            <xsl:value-of select="EXUNITS"/>
          </Dim>
          <Dim prop="EXTXVAL">
            <xsl:value-of select="EXTXVAL"/>
          </Dim>
          <Dim prop="EXTPC">
            <xsl:value-of select="EXTPC"/>
          </Dim>
          <Dim prop="EXDELTRM">
            <xsl:value-of select="EXDELTRM"/>
          </Dim>
        </Item>
      </xsl:template>
    </xsl:transform>
    Can anyone help me out here? How can I fill up these variables?
    Thanks

    If you are searching via the Search Bar on the Navigation Toolbar, this preference can be changed to have searches there open in a Tab.
    Type '''about:config''' in the Address Bar and hit Enter. Then answer "I'll be careful". Type this pref in the Search at the top.
    '''browser.search.openintab''' = double-click to toggle to '''true'''

  • SQLloder scripts not getting generated for CLOBs

    I am trying to migrate MYSQL 3.23 database into Oracle 8.1.7 and after creating the Oracle model and after converting the MYSQL text datatype into CLOB of the Oracle model the SQLloader scripts is not getting generated for CLOB datatypes. I mean the scripts are getting created but there is no change in the script for CLOB datatype.
    The script generates the following for the table containing CLOB datatypes:
    mysqldump -h &lt;HOST&gt; -u &lt;USERNAME&gt; -p&lt;PASSWORD&gt; -T &lt;DESTINATION_PATH&gt; fields-terminated-by="&lt;ec&gt;" lines-terminated-by="&lt;er&gt;" test av_wbt_course
    Please let me know how to load data when the datatype is of CLOB ?

    I was able to resolve this issue by using OWM Oracle Migration instead of using offline method by sqlloader scripts.

  • DPM 2012 R2 install fail - Reporting services "definition contains XML that is not well-formed or the XML is not valid"

    Hi Everyone,
    I've been battling with this for a while and I'm getting nowhere. I'm attempting to install DPM 2012R2 onto a fresh VM with a local SQL installation. The setup is as follows:
    Server OS: 2008R2 SP1
    SQL: 2008 R2 standard with SP3(tried SP2 before this)
    Collation: SQL_Latin1_General_CP1_CI_AS
    Reporting services installed: Yes(ticked do not configure during the installation)
    Enabled reporting servics on port 80 with the default URL
    DPM Installation does not throw any errors during the preinstall stage(The server passes all the checks)
    Basically, when Installing. I get this error(extract):
     at Microsoft.Internal.EnterpriseStorage.Dls.UI.Library.Reporting.Reporter.DeployFileInServer(Boolean recreate, ReportDBInfo rptInfo)
       at Microsoft.Internal.EnterpriseStorage.Dls.UI.Library.Reporting.Reporter.DeployReports(String sourceFolderPath, Boolean recreate, Boolean calledFromSetup)
       at Microsoft.Internal.EnterpriseStorage.Dls.UI.Library.Reporting.Reporter.InstallReports(Boolean calledFromSetup, String sourceFolderPath, String sqlServerName, String sqlInstanceName, String dbConnectionString)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.ReportingConfiguration.DeployReports(Boolean isRemoteReporting, String sqlMachineName, String sqlInstanceName, String rsMachineName, String rsInstanceName, String installerPath)
    [10/12/2014 2:35:25 p.m.] * Exception :  => Report configuration failed.Verify that SQL Server Reporting Services is installed properly and that it is running.Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.BackEndErrorException: exception
    ---> Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.ReportDeploymentException: exception ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Internal.EnterpriseStorage.Dls.UI.Library.Reporting.ReportingException:
    exception ---> System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: The report definition is not valid or supported by this version of Reporting Services. This could be the result of publishing a report definition of
    a later version of Reporting Services, or that the report definition contains XML that is not well-formed or the XML is not valid based on the Report Definition schema. Details: Root element is missing.
       at Microsoft.ReportingServices.WebServer.ReportingService2005Impl.CreateReport(String Report, String Parent, Boolean Overwrite, Byte[] Definition, Property[] Properties, Warning[]& Warnings)
       at Microsoft.ReportingServices.WebServer.ReportingService2005.CreateReport(String Report, String Parent, Boolean Overwrite, Byte[] Definition, Property[] Properties, Warning[]& Warnings)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at Microsoft.Internal.EnterpriseStorage.Dls.UI.Reporting.ReportingService2005.CreateReport(String Report, String Parent, Boolean Overwrite, Byte[] Definition, Property[] Properties)
       at Microsoft.Internal.EnterpriseStorage.Dls.UI.Library.Reporting.Reporter.CreateReport(String pathOfReport, ReportDBInfo rptInfo)
       --- End of inner exception stack trace ---
       at Microsoft.Internal.EnterpriseStorage.Dls.UI.Library.Reporting.Reporter.CreateReport(String pathOfReport, ReportDBInfo rptInfo)
       at Microsoft.Internal.EnterpriseStorage.Dls.UI.Library.Reporting.Reporter.DeployFileInServer(Boolean recreate, ReportDBInfo rptInfo)
       at Microsoft.Internal.EnterpriseStorage.Dls.UI.Library.Reporting.Reporter.DeployReports(String sourceFolderPath, Boolean recreate, Boolean calledFromSetup)
       at Microsoft.Internal.EnterpriseStorage.Dls.UI.Library.Reporting.Reporter.InstallReports(Boolean calledFromSetup, String sourceFolderPath, String sqlServerName, String sqlInstanceName, String dbConnectionString)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.ReportingConfiguration.DeployReports(Boolean isRemoteReporting, String sqlMachineName, String sqlInstanceName, String rsMachineName, String rsInstanceName, String installerPath)
       --- End of inner exception stack trace ---
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.ReportingConfiguration.DeployReports(Boolean isRemoteReporting, String sqlMachineName, String sqlInstanceName, String rsMachineName, String rsInstanceName, String installerPath)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.BackEnd.DeployReports(String reportserverConfigFilePath, Boolean isOemSetup, String sqlMachineName, String sqlInstanceName, Boolean isRemoteReporting, String reportingServerMachineName, String
    reportingInstanceName)
       --- End of inner exception stack trace ---
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.BackEnd.DeployReports(String reportserverConfigFilePath, Boolean isOemSetup, String sqlMachineName, String sqlInstanceName, Boolean isRemoteReporting, String reportingServerMachineName, String
    reportingInstanceName)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.DpmInstaller.DeployReports(Boolean isRemoteReporting, Boolean isUpgrade)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.ProgressPage.InstallerThreadEntry()
    *** Mojito error was: ReportDeploymentFailed; 0; None
    [10/12/2014 2:35:25 p.m.] *** Error : Report configuration failed.
    Verify that SQL Server Reporting Services is installed properly and that it is running.
    ID: 812
    [10/12/2014 2:35:25 p.m.] Information : Data Protection Manager installation has failed. All the items that were copied during the installation process have been removed.
    For details, click the Error tab.
    Any ideas?
    I've managed to get it to this stage. Originally I didn't have encryption keys or a listening port(which I fixed).

    Can you try following steps:
    If there are SSL certificates on your computer, by default SQL 2008
    installation configures HTTPS for reporting websites. When DPM tries to
    deploy reports on these websites it may fail if the reporting websites
    are not accessible (might be due to invalid/expired certificates). To
    workaround this, provided you do not require HTTPS for reporting websites do
    the following:
    1. Edit C:\Program Files\Microsoft DPM\SQL\MSRS10.MSDPMV3BETA1EVAL\Reporting
    Services\ReportServer\rsreportserver.config
    2. Set the SecureConnectionLevel to 0 if the current value is 2 (A value to
    2 means secure connection is required)
    3. Connect to SQL reporting service configuration manager and connect to the
    instance MSDPMV3BETA1EVAL
    4. Click on Web Service URL, click advanced and remove SSL identities
    5. Repeat the above for Report Manager URL
    6. Make sure report manager URL and web service URL are accessible with out
    any errors.
    6. Restart report server
    If that doesn't solve the problem, please try following steps:
    1. Open Start-> All programs->SQL server 2008->Configuration Tools->Report
    Server Configuration Manager
    2. Connect to the instance which the DPM is using to install.
    3. Browse Report Manager URL and web service url
    4. If report manager URL or web service url throws any error say 500 or 404
    fix the error. (Try also replacing machine name with localhost in url)
    5. Otherwise delete DPMReports folder (if present) using below instructions
    6. Restart reporting services
    7. Try DPM setup again.
    Deleting DPM reports:
    1. Open report manager URL in IE
    2. Click show details on right hand side
    3. Put a tick against DPMReports folder
    4. Click Delete button.
    Regards, Trinadh [MSFT] This posting is provided AS IS with no warranties, and confers no rights. If you found the reply helpful, please MARK IT AS ANSWER. Looking for source of information for DPM? http://blogs.technet.com/b/dpm/ http://technet.microsoft.com/en-in/library/hh758173.aspx

  • Using XPath for DOM traversal

    This question falls into the category of 'I know it's possible, I just need to find the idom in Java'.
    I'm coming from a MSFT world were the DOM-centric model of XML processing makes heavy use of XPATH for node selection. Basically using the method element.selectNodes(XPathExpresson) allows one to quickly extract the relevant subset of the parsed tree in the DOM as a nodeList. I've become accustomed to using XML for all strucutured storage that doesn't require a full database.
    The W3C DOM Level 3 spec supports evaluateExpression() for this purpose, but I can't believe that Java developers are still using tree traversal waiting for the spec to be implemented. I suppose that I could use getNodesByTagName(), but this is a chainsaw, and I need a scalpel. Anyway, I'm trying to figure out how, exactly, this gets done in Java.
    I figure the following are possibilities:
    1) It's in JAXP and I missed it
    2) One or more of the XML parsers supports XPATH as an extention
    3) There's a common package that sits on top of the DOM Document.
    4) There's a standard way to apply and XSLT methods to the DOM document
    5) Something I've never thought of.
    This is a generalized problem for me, so I can't rely on object serialization, Java-XML data mapping, etc. Any guidance would be greatly appreciated.

    I've written a Config file reader for XML in java,
    and it extracts values using XPath. This is
    some of the code you'll need:
    imports:
    import javax.xml.transform.TransformerException;
    import org.w3c.dom.*;
    import org.xml.sax.InputSource;
    import org.xml.sax.SAXException;
    import org.apache.xerces.parsers.DOMParser;
    import org.apache.xpath.XPathAPI;
    import org.apache.xpath.objects.*;
    Document doc=....;
    * returns a single DOM Node from the config file.
    public Node getNode(String xpath) throws ConfigException {
    try {
    return XPathAPI.selectSingleNode(doc, xpath);
    } catch (TransformerException e) {
    throw new ConfigException("Can't find '"+xpath+"' ("+e.getMessage()+")");

  • ERROR ITMS-9000: "META-INF/container.xml must contain one and only one root file reference."

    Hi all,
    After correcting a table-of-contents error in my .epub file, I am unable to upload it via iTunes Producer. It lists this error message:
    ERROR ITMS-9000: "META-INF/container.xml in 9780615431727.epub must contain one and only one root file reference." at Book (MZItmspBookPackage)
    The file has been verified and only has one root file reference in the container.xml file.
    Has anyone been able to find a solution to this problem?
    Thanks!

    Hello Forum Users…
    For those of you who have run into the upload roadblock, getting an error message similar to this:
    Package Summary:
    1 package(s) were not uploaded because they had problems:
              /Users/slm/Desktop/MUSIC to PICTURE for IBOOK/2012 MTP for iTUNES Bookstore/9780615600918.itmsp - Error Messages:
                        Apple's web service operation was not successful
                        Unable to authenticate the package: 9780615600918.itmsp
                        ERROR ITMS-9000: "OPS/ibooks.ncx(5): 'p50': fragment identifier is not defined in 'OPS/content9.xhtml'" at Book (MZItmspBookPackage)
    Following is a "specific" fix, but the idea of the fix will help you with your specifics too.
    I tried for 17 days to upload a book that looked and worked perfectly in iPAD via Preview.
    After many discussions with Apple, who to their credit stayed with me over 2-3 days, I decided to play a hunch.
    I went into a duplicated copy of the book and on every page, (because the error message was not telling the whole story), looked for what InDesign would call "Overset Text."
    Now... the "flaw" in iBOOK Author (hint) is that it won't advise you of this "overset text" as does InDesign.
    And to compound the matter, the exported ePUB document WORKS in iPAD Preview.
    See Screenshots from InDesign:
      Okay... Couldn't add it but it is a Warning Box that says there is overset text. (Characters which exceed the text box.)
    Nevertheless, I played this hunch, and sure enough found a few boxes with the + in them.  In other words I clicked on EVERY text holder and every text block in the entire document.
    Where I found + signs, I simply deleted some carriage returns from the iBOOK file... (please note… carriage returns and literally empty spaces that caused the overset text) and then erased all previous copies of the Music to Picture Book on my hard drive,  iTUNES and iPAD.
    The result?  A "text-book" upload with no snags!  As my Son would say… "Victory!"
    So, first make sure that you are using only PNGs, Jpegs and Movie files to iBook Specs.  Then... make sure there are no overset text boxes, which you must do manually.
    Enjoy & Godspeed!
    Steve
    Stephen Melillo, Composer
    STORMWORKS®
    209 Spinnaker Run
    Smithfield, VA 23430-5623
    USA
    v/f 757-356-1928
    stormworld.com
    “History is a vast early warning system.” Norman Cousins, editor and author (1915-1990)
    "This will be our reply to violence: to make music more intensely, more beautifully, more devotedly than ever before." Leonard Bernstein
    “If you have a chance to help someone, and you don’t, you are wasting your time on this earth.”  Roberto Clemente

  • DTD for jaxrpc-ri.xml

    Hi,
    Where can I find the document type defination for
    jaxrpc-ri.xml ?
    Thanks in advance.

    The jaxrpc-ri.xml file is not part of the JAXRPC (JSR-101 and/or JSR-109) specifications. It is implementation-specific.
    Hence, the jaxrpc-ri.xml file actually does not contain any DTD to follow. And the http://java.sun.com/xml/ns/jax-rpc/ri/dd is an XML namespace and it is used to give it a unique identifier scope.
    Hope this helps.
    Thanks,
    Rakesh.

  • Problem for using oracle xml parser v2 for 8.1.7

    My first posting was messed up. This is re-posting the same question.
    Problem for using oracle xml parser v2 for 8.1.7
    I have a sylesheet with
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">.
    It works fine if I refer this xsl file in xml file as follows:
    <?xml-stylesheet type="text/xsl" href="http://...../GN.xsl"?>.
    When I use this xsl in pl/sql package, I got
    ORA-20100: Error occurred while processing: XSL-1009: Attribute 'xsl:version' not found in 'xsl:stylesheet'.
    After I changed name space definition to
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> in xsl file, I got
    ORA-20100: Error occurred while processing: XSL-1019: Expected ']' instead of '$'.
    I am using xml parser v2 for 8.1.7
    Can anyone explain why it happens? What is the solution?
    Yi

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steven Muench ([email protected]):
    Element's dont have text content, they [b]contain text node children.
    So instead of trying to setNodeValue() on the element, construct a Text node and use the appendChild method on the element to append the text node as a child of the element.<HR></BLOCKQUOTE>
    Steve,
    We are also creating an XML DOM from java and are having trouble getting the tags created as we want. When we use XMLText it creates the tag as <tagName/>value rather than <tagName>value</tagName>. We want separate open and close tags. Any ideas?
    Lori

  • DB Link between Oracle 10g and Oracle 9i for CLOB data type

    How do I transport XMLType or CLOB from oracle 9i to Oracle 10G using DBLink?
    Is any restrction to DBLink, while transfering CLOB with XML data from oracle 9i to Oracle 10G?
    Please let me know how i resolve this issue.
    Thanks in advance.
    DK

    Well... it depends on what type of link you wish to create.
    If you have same user with same password on both databases (9i and 10G), then you can create a public database link as
    CREATE PUBLIC DATABASE LINK dblink USING 'dbalias';
    Note: dbalias is the value from your TNSNAMES.ORA. The database from which you are creating the db link has to have the entry in TNS for other database.
    Other method is to create a private db link
    CREATE DATABASE LINK dblink CONNECT TO user IDENTIFIED by pwd using 'dbalias';
    The number of open connections from a particular database is governed by init parameter DB_LINKS (this was in 8i.. not sure about higher versions)
    HTH...
    Message was edited by:
    satishkandi

Maybe you are looking for