Impossible to test the creation of XML document

I tried the JUnit forum first and they suggested a XML forum

I suspect that this could be a simple error in my code or a race condition. Please see the comments in the code.

My test is as follows. I have create an org.w3c.dom.Document using my EncryptedData class

@Test
Public Sub testDocument() throw TransformerException {}

DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance ();
try {}
documentBuilder = dbf.newDocumentBuilder ();
Document document = documentBuilder.newDocument ();
EncryptedData encryptedData = new EncryptedData (text);
assertNotNull (encryptedData.getEncryptedData ());
printXML (encryptedData.getEncryptedData ());
} catch (ParserConfigurationException e) {}
}
}


It is EncryptedData.java.


private encryptedData element;

document Document private;

public EncryptedData (Document document) {}
This.document = document;
encryptedData =
(Element)
document.createElement ("EncryptedData");

+ / / When I add the child in the constructor it is no exception.
document.appendChild (encryptedData);


}

public Document getEncryptedData() {}
+ / / When I add the child in this method there is an exception.
encryptedData =
(Element)
document.createElement ("EncryptedData");
return the document;
}


org. W3C. DOM. DOMException: HIERARCHY_REQUEST_ERR: an attempt was made to insert a
node where it is not allowed.
at org.apache.xerces.dom.CoreDocumentImpl.insertBefore (unknown Source)
at org.apache.xerces.dom.NodeImpl.appendChild (unknown Source)
to
com.fss.maps.security.xml.EncryptedData.getEncryptedData(EncryptedData.java:56)
to
com.fss.maps.security.test.XMLEncryptionTestCase.testDocument (XMLEncryptionTestC\
ASE. Java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
to
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
to
sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.jav\
a: 25)
to
org.junit.runners.model.FrameworkMethod$ 1.runReflectiveCall (FrameworkMethod.java\
(: 44).
to
org.junit.internal.runners.model.ReflectiveCallable.run (ReflectiveCallable.java:------)
35 k
to
org.junit.runners.model.FrameworkMethod.invokeExplosively (FrameworkMethod.java:4\
1)
to
org.junit.internal.runners.statements.InvokeMethod.evaluate (InvokeMethod.java:20\
)
to
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
to
org.junit.runners.BlockJUnit4ClassRunner.runChild (BlockJUnit4ClassRunner.java:76\
)
to
org.junit.runners.BlockJUnit4ClassRunner.runChild (BlockJUnit4ClassRunner.java:50\
)
to org.junit.runners.ParentRunner$ 3.run(ParentRunner.java:193)
to org.junit.runners.ParentRunner$ 1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
to org.junit.runners.ParentRunner.access$ 000 (ParentRunner.java:42)
to org.junit.runners.ParentRunner$ 2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
to
com IntelliJ.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs (JUnit4IdeaTestRunne\
r.Java:97)
to
com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart (JUnitStarter\
. Java:192)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
to
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:115)

That's what you expect, but again, you have the evidence that something is happening. He won't have to make a difference when you enter the code, both the same work. But "it doesn't work", then you're doing something wrong without realizing it.

Step through the code in a debugger and see what is actually happening.

Tags: Java

Similar Questions

  • Registration in the form of XML Documents, MDS error

    I'm doing a copy of our RPD as an XML Document of MDS repository.

    I use the following selection to copy the repository as a XML Document of MDS and receive an "Access denied" error

    File-> copy-> XMLDocuments MDS

    [nQSError: 61007] File error: Path = C:\obi_scm_file, Code = 5, access is denied

    Help would be appreciated.

    Thank you

    Hi all

    I got this error too, with OBIEE 11.1.1.6.6 (version from the repository: 320). I tried to copy everything in live coneccted to the Server repository. I copied the repository in my PC, open in offline mode and it worked.

    I hope this helps.

    Concerning

    ANA GH

  • How to query the attributes of xml documents

    I want to query only the details in the number = "705230" id (id is an attribute)

    I tried, but does not help. I should be able to query the value of the core_org_id attribute

    Select extract (CLOB_DATA, ' PcrDocument/PcrOrganization/core_org_id) CORE_ORG_ID of pcr_files where existsNode (CLOB_DATA, ' PcrDocument/PcrOrganization/questions/problem [@id = "705230"]') = 1;
    -returns nothing...

    I tried to extract the value for the id of the issue for R_DATE & R_REVIEW_DATE = 705230, but unable to iam.
    The data for all the questions is returned.

    Here is the query used...
    Select extract (CLOB_DATA, 'PcrDocument, PcrOrganization, questions, problem') ISSUE of pcr_files where existsNode (CLOB_DATA, ' PcrDocument/PcrOrganization/questions/problem [@id = "705230"]') = 1;


    Here is the part of the XML document iam mark on...

    -< ns1:PcrDocument id = "PCR-13562" title = "disclosures of EU - CE-1060/2009" version = '1' pcrPublishDate = "' 2012-01 - 11 T 12: 49:02" container = "http://www.w3.org/2001/XMLSchema" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:ns1 = "http://integration.mysite.com/ServiceSchema/v3" > "
    -ns1:PcrOrganization core_org_id = "345840" >
    < ns1:PcrLinkedTo value = "ISSUE" / >
    -< ns1:AdditionalInfo >
    < ns1:Info type = "AdditionalInfo_QuartelyReport_URL" > < br > < other >MGH< / ns1:Info >
    < / ns1:AdditionalInfo >
    -< ns1:Issues >
    -< ns1:Issue id = "705230" >
    -< ns1:AdditionalInfo >
    < ns1:Info type = "R_DATE" > credit Release Date: April 9, 2010 < / ns1:Info >
    < ns1:Info type = "R_REVIEW_DATE" > credit last review Date: October 12, 2011 < / ns1:Info >
    < ns1:Info type = "AdditionalInfo_QuartelyReport_URL" > < br > < other >MGH< / ns1:Info >
    < / ns1:AdditionalInfo >
    -< ns1:IssueDetail id = "114766798" >
    -< ns1:AdditionalInfo >
    < ns1:Info type = "R_DATE" > credit Release Date: April 9, 2010 < / ns1:Info >
    < ns1:Info type = "R_REVIEW_DATE" > credit last review Date: October 12, 2011 < / ns1:Info >
    < ns1:Info type = "AdditionalInfo_QuartelyReport_URL" > < br > < other >MGH< / ns1:Info >
    < / ns1:AdditionalInfo >
    < / ns1:IssueDetail >
    < / ns1:Issue >
    -< ns1:Issue id = "727193" >
    -< ns1:AdditionalInfo >
    < ns1:Info type = "R_DATE" > credit Release Date: April 9, 2010 < / ns1:Info >
    < ns1:Info type = "R_REVIEW_DATE" > credit last review Date: October 12, 2011 < / ns1:Info >
    < ns1:Info type = "AdditionalInfo_QuartelyReport_URL" > < br > < other >MGH< / ns1:Info >
    < / ns1:AdditionalInfo >
    -< ns1:IssueDetail id = "117994574" >
    -< ns1:AdditionalInfo >
    < ns1:Info type = "R_DATE" > credit Release Date: April 9, 2010 < / ns1:Info >
    < ns1:Info type = "R_REVIEW_DATE" > credit last review Date: October 12, 2011 < / ns1:Info >
    < ns1:Info type = "AdditionalInfo_QuartelyReport_URL" > < br > < other >MGH< / ns1:Info >
    < / ns1:AdditionalInfo >
    < / ns1:IssueDetail >
    < / ns1:Issue >
    < / ns1:Issues >
    < / ns1:PcrOrganization >
    < / ns1:PcrDocument >

    Select extract (CLOB_DATA, ' PcrDocument/PcrOrganization/core_org_id) CORE_ORG_ID of pcr_files where existsNode (CLOB_DATA, ' PcrDocument/PcrOrganization/questions/problem [@id = "705230"]') = 1;
    -returns nothing...

    Some remarks (apart the obvious syntax error ' to leave'):

    -You are missing the namespace declaration in the functions existsNode() and extract()
    -You must use extractValue() to extract scalar values
    -Given that core_org_id is an attribute, you must use an attribute axis to access (@core_org_id or attribute::core_org_id)

    SQL> select extractValue( CLOB_DATA
      2                     , '/PcrDocument/PcrOrganization/@core_org_id'
      3                     , 'xmlns="http://integration.mysite.com/ServiceSchema/v3"' ) CORE_ORG_ID
      4  from pcr_files
      5  where existsNode( CLOB_DATA
      6                  , '/PcrDocument/PcrOrganization/Issues/Issue[@id="705230"]'
      7                  , 'xmlns="http://integration.mysite.com/ServiceSchema/v3"' ) = 1
      8  ;
    
    CORE_ORG_ID
    --------------------------------------------------------------------------------
    345840
    
    SQL>
    SQL> select extractValue( value(x)
      2                     , '/Issue/AdditionalInfo/Info[@type="R_DATE"]'
      3                     , 'xmlns="http://integration.mysite.com/ServiceSchema/v3"' ) as R_DATE
      4       , extractValue( value(x)
      5                     , '/Issue/AdditionalInfo/Info[@type="R_REVIEW_DATE"]'
      6                     , 'xmlns="http://integration.mysite.com/ServiceSchema/v3"' ) as R_REVIEW_DATE
      7  from pcr_files t
      8     , table(
      9         xmlsequence(
     10           extract( t.clob_data
     11                  , '/PcrDocument/PcrOrganization/Issues/Issue[@id="705230"]'
     12                  , 'xmlns="http://integration.mysite.com/ServiceSchema/v3"' )
     13         )
     14       ) x
     15  ;
    
    R_DATE                                                                           R_REVIEW_DATE
    -------------------------------------------------------------------------------- --------------------------------------------------------------------------------
    Credit  Release Date: 09-Apr-2010                                                Credit Last Review Date: 12-Oct-2011
     
    

    You don't mention the version of your database.
    The foregoing is deprecated in 11.2, use XMLTable/XMLQuery if you're on 11g.

  • How can I change the date of the creation of a document?

    I am interested to change manually the date of creating a document. When to use the traditional format of:

    Touch-t 03052130

    I get the error:

    Touch-t 03052130/primary/Screen\ Shot\ 2016-02-25\ at\ 11.41.39\ AM.jpg

    touch: out of range or illegal specification of time: [[CC] YY] MMDDhhmm [.] SS]

    Using the example of a date and an hour, what is the appropriate format to make the change?  It would be useful that the answer was an example I could copy and paste in the Terminal.

    NA not leave a space between the time and the file

    T touch primary/03052130/Screen\ Shot\ 2016-02-25\ at\ 11.41.39\ AM.jpg

    However, unless your screenshot is located in a folder directly inside your hard drive and it is named Primary, then that won't work. In this case, we cannot give you a cut and paste the examples because we do not know where your file is located.

  • Vista cannot import data from Taxcut document initially used in Windows XP in 2008. In fact, it is impossible to open the same (initialize) this document. How can I change this?

    How can I get VISTA to open or import data from a document of Taxcut created in 2008 in Windows XP. The document is installed under VISTA, but VISTA is not able to open it or even recognize it.

    You must Taxcut 2008 installed on the system to open the file - it needs the program to open the file (the file itself is not enough - he needs the program to open it - and it should probably be the same year to open it but it may work to the year next to import).  It is possible that you can import data from the file in a later version of the software (I can do it with TurboTax to carry on information from previous years - although I've never tried to do by skipping a year).  According to the Center for Comptibility Vista, Taxcut should be compatible with Vista, http://www.microsoft.com/windows/compatibility/windows-vista/Search.aspx?type=Software&s=Taxcut , so that shouldn't be the problem.

    I hope this helps.

    Good luck! Lorien - a - MCSE/MCSA/network + / A +.

  • Suddenly impossible to change the fonts in all documents.

    Suddenly today while he was working in the latest InDesign I could change is more fonts in a document. I tried several documents and none of the m can be changed. I reinstalled ID and trashed the preferences and that did not help. I hope you can help me, I'm dead in the water.

    See if this thread is useful:

    Cannot access fonts with InDesign CC 2015

  • Impossible to test the iOS app on iPad with Flash Builder 4.7 OSX Yosemite

    After the update to OSX Yosemite, I am unable to test my app on my device iOS.

    Compilation and packaging of works as expected but app is ever installed on my USB device connected trough.

    Anyone with the same problem?

    Thank you

    I found the solution on another post (Re: running/debugging on a device with Flash Builder 4.7 on OSX 10.9 (Mavericks) and iOS7) having a problem installing app on the Mavericks.

    Disable your WiFi device and install your application in Flash Builder. Then activate your wifi device. It works for me.

    Thank you

  • Adobe, the creation of new "documents" folder, all of a sudden

    I have CS4. On a PC, Windows Vista.

    I started to use still today. The program had a few random problems that kept crashing the program. I started a new file after a reboot, and now it has worked well.

    HOWEVER, Adobe now suddenly creates a NEW 'Documents' folder in the folder of the user box (video, music, photos, etc.). He USED to put all these files remain in the existing Documents folder, does not create a new breath! It does this for all CS4 programs I open now.

    Any ideas how can I fix? It's extremely annoying!

    Thank you!

    Hiya,

    sounds like a vista problem, not a problem first pro...

    Check out sites like this by Googling, "vista creates document duplicate files"...

    http://www.Vistax64.com/Vista-file-management/49443-duplicate-documents-folder-inside-home - folder.html

    Good luck

  • Impossible to test the movie

    Hello

    I read on this site the different solutions to a problem that I may have. However, none of the solutions I've tried have worked. I use Flash MX 2004 Pro.

    My problem is that I created a simple animation using the motion tween. It does not in the Test movie screen at all. Only layers can be seen. I checked the script (apparently there is none, but this could be the problem). I tried he published among other things. I can see the animation well enough in the normal stage Panel. I also tested it on another machine and the problem persists.

    A big thank you to all those who may be able to help me.

    Thank you very much for your answer. It seems that the information about the real tutorial I followed had incorrect information. However, by playing with layer properties and ensure that they were all together for movieclip seems to fix.

    Thanks again

  • Is it safe to remove the date in the name of the xml document?

    Hi, the iTunes library xml document is titled "iTunes Library" 2015-07-11. Is this correct and problems can occur if l remove the name date?

    L ask because my Sonos system has trouble with importing iTunes playlists and they are suggesting that the document name length perhaps the question.

    Thank you

    This file is a copy of the database (.itl) iTunes created by iTunes, during an update.  The XML version of the library is always called iTunes Library.xml.  Is there is no basis for comment by Sonos, that it may be related to the length of the absolute path of the XML file - where it is on your system?

  • No data when querying XML document which does not have all the elements that are populated

    Hi people

    Following the previous post http://bit.ly/beyCdc forum, I met a new show that I'm looking to solve today.

    General information:

    The xml document, I try to shred them may exist in 2 forms; b limited form and (b) complex form, which
    to comply with the same xmlschema.

    The structure of the two forms of the document is:

    b limited version

    (1) under the parent node (of BASANTA) is a child node - RTDRFileHeader
    (2) also under the parent node is a node of complex "ConnectionList. This can consist of thousands of child nodes 'connection '.
    (3) below a given node of "Connection" are child nodes that are of interest, they are:
          
          Connection/HPMN
          Connection/VPM
          Connection/FileItemList/FileItem/FileType/InitTAP/TAPSeqNo
          Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TAPTxCutoffTmstp
          Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TAPAvailTmstp
          Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TAPCurrency
          Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TotalNetCharge
          Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TotalTax
    (b) extended version

    The structure of the Extended version is identical to the above limited version but there are elements of additional group under the /chargeInfo. element
    It's TrafficBreakdownList and AdditionalChargeInfo. In addition, the TrafficBreakdownList has child nodes that contain elements of the group.
    For example.
        Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/CallEventType
        Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/CallEventType/CallEventInfo/NumberOfEvents
        Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/CallEventType/CallEventInfo/TotNetCharge
        Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/CallEventType/CallEventInfo/TotTaxValue
        Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/AdditionalChargeInfo/InvPeriod
        Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/AdditionalChargeInfo/TotalNetChargeSDR
        Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/AdditionalChargeInfo/TotalTaxSDR
        Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/AdditionalChargeInfo/VPMNLocCurr
        Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/AdditionalChargeInfo/TotalNetChargeVLCSR
        Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/AdditionalChargeInfo/TotalNetChargeVLCCD
        Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/AdditionalChargeInfo/TotalTaxVLCCD
        Connection/FileItemList/FileItem/FileType/InitTAP/ChargeInfo/TrafficBreakdownList/TrafficBreakdownItem/AdditionalChargeInfo/TotalTaxVLCCD
    What I'm trying to achieve, if possible, is to have a SQL statement that can interrogate the two versions of the xml document. Currently
    the following SQL statement works properly against the extended version XML document, but when used against the limited version he returns no rows.

    I guess what I'm after is like a LEFT JOIN XML :-) If the node is not present, returns NULL for this element.

    b limited Version of XML
    <RTDR>
      <RTDRFileHeader>
        <Prefix>MRTDR</Prefix>
        <Sender>EDSCH</Sender>
        <Recipient>NXTMP</Recipient>
        <PMN>UKRAS</PMN>
        <ReportSeqNo>5</ReportSeqNo>
        <TADIGGenSchemaVersion>2.2</TADIGGenSchemaVersion>
        <RTDRSchemaVersion>1.1</RTDRSchemaVersion>
        <CreationTmstp>2009-09-04T04:04:00.000000+02:00</CreationTmstp>
      </RTDRFileHeader>
    <ConnectionList>
     <Connection>
          <VPMN>UKRAS</VPMN>
          <HPMN>LIEK9</HPMN>
          <FileItemList>
            <FileItem>
              <FileID>CDUKRASLIEK901274-00005-m</FileID>
              <ExchTmstp>2009-08-24T12:07:22.000000+02:00</ExchTmstp>
              <FileType>
                <InitTAP>
                  <TAPSeqNo>1274</TAPSeqNo>
                  <NotifFileInd>true</NotifFileInd>
                  <ChargeInfo>
                    <TAPTxCutoffTmstp>2009-08-24T12:52:10.000000+03:00</TAPTxCutoffTmstp>
                    <TAPAvailTmstp>2009-08-24T11:52:10.000000+02:00</TAPAvailTmstp>
                    <TAPCurrency>SDR</TAPCurrency>
                    <TotalNetCharge>0</TotalNetCharge>
                    <TotalTax>0</TotalTax>
                  </ChargeInfo>
                </InitTAP>
              </FileType>
            </FileItem>
            <FileItem>
              <FileID>CDUKRASLIEK901280-00005-m</FileID>
              <ExchTmstp>2009-08-30T12:14:39.000000+02:00</ExchTmstp>
              <FileType>
                <InitTAP>
                  <TAPSeqNo>1280</TAPSeqNo>
                  <NotifFileInd>true</NotifFileInd>
                  <ChargeInfo>
                    <TAPTxCutoffTmstp>2009-08-30T12:52:34.000000+03:00</TAPTxCutoffTmstp>
                    <TAPAvailTmstp>2009-08-30T11:52:34.000000+02:00</TAPAvailTmstp>
                    <TAPCurrency>SDR</TAPCurrency>
                    <TotalNetCharge>0</TotalNetCharge>
                    <TotalTax>0</TotalTax>
                  </ChargeInfo>
                </InitTAP>
              </FileType>
            </FileItem>
          </FileItemList>
        </Connection>
      <Connection>
          <VPMN>UKRZZ</VPMN>
          <HPMN>LIEZZ</HPMN>
          <FileItemList>
            <FileItem>
              <FileID>CDUKRZZLIEZZ01274-00005-m</FileID>
              <ExchTmstp>2009-08-24T12:07:22.000000+02:00</ExchTmstp>
              <FileType>
                <InitTAP>
                  <TAPSeqNo>1274</TAPSeqNo>
                  <NotifFileInd>true</NotifFileInd>
                  <ChargeInfo>
                    <TAPTxCutoffTmstp>2009-08-24T12:52:10.000000+03:00</TAPTxCutoffTmstp>
                    <TAPAvailTmstp>2009-08-24T11:52:10.000000+02:00</TAPAvailTmstp>
                    <TAPCurrency>SDR</TAPCurrency>
                    <TotalNetCharge>0</TotalNetCharge>
                    <TotalTax>0</TotalTax>
                  </ChargeInfo>
                </InitTAP>
              </FileType>
            </FileItem>
            <FileItem>
              <FileID>CDUKRZZLIEZZ01280-00005-m</FileID>
              <ExchTmstp>2009-08-30T12:14:39.000000+02:00</ExchTmstp>
              <FileType>
                <InitTAP>
                  <TAPSeqNo>1280</TAPSeqNo>
                  <NotifFileInd>true</NotifFileInd>
                  <ChargeInfo>
                    <TAPTxCutoffTmstp>2009-08-30T12:52:34.000000+03:00</TAPTxCutoffTmstp>
                    <TAPAvailTmstp>2009-08-30T11:52:34.000000+02:00</TAPAvailTmstp>
                    <TAPCurrency>SDR</TAPCurrency>
                    <TotalNetCharge>0</TotalNetCharge>
                    <TotalTax>0</TotalTax>
                  </ChargeInfo>
                </InitTAP>
              </FileType>
            </FileItem>
          </FileItemList>
        </Connection>
     </ConnectionList>
     </RTDR> '
    (b) extended version of XML
    <RTDR xmlns:tadig-gen="https://infocentre.gsm.org/TADIG-GEN" xmlns="https://infocentre.gsm.org/TADIG-RTDR">
      <RTDRFileHeader>
        <Prefix>DRTDR</Prefix>
        <Sender>EDSCH</Sender>
        <Recipient>NXTMP</Recipient>
        <PMN>AAAAA</PMN>
        <ReportSeqNo>1</ReportSeqNo>
        <TADIGGenSchemaVersion>2.2</TADIGGenSchemaVersion>
        <RTDRSchemaVersion>1.1</RTDRSchemaVersion>
        <CreationTmstp>2010-03-17T12:32:37.000000+01:00</CreationTmstp>
      </RTDRFileHeader>
      <ConnectionList>
        <Connection>
          <VPMN>AAAAA</VPMN>
          <HPMN>GRCCO</HPMN>
          <FileItemList>
            <FileItem>
              <FileID>CDAAAAAGRCCO04164-00001-d</FileID>
              <ExchTmstp>2010-03-16T00:30:27.000000+01:00</ExchTmstp>
              <FileType>
                <InitTAP>
                  <TAPSeqNo>4164</TAPSeqNo>
                  <NotifFileInd>false</NotifFileInd>
                  <ChargeInfo>
                    <TAPTxCutoffTmstp>2010-03-16T00:15:25.000000+01:00</TAPTxCutoffTmstp>
                    <TAPAvailTmstp>2010-03-16T00:15:25.000000+01:00</TAPAvailTmstp>
                    <TAPCurrency>SDR</TAPCurrency>
                    <TotalNetCharge>48.546</TotalNetCharge>
                    <TotalTax>0</TotalTax>
                    <TrafficBreakdownList>
                      <TrafficBreakdownItem>
                        <CallEventType>CS MO</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>7</NumberOfEvents>
                          <TotNetCharge>11.16</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                      <TrafficBreakdownItem>
                        <CallEventType>CS MT</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>2</NumberOfEvents>
                          <TotNetCharge>0</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                      <TrafficBreakdownItem>
                        <CallEventType>GPRS Calls</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>26</NumberOfEvents>
                          <TotNetCharge>37.35</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                      <TrafficBreakdownItem>
                        <CallEventType>SM-MO</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>1</NumberOfEvents>
                          <TotNetCharge>.036</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                      <TrafficBreakdownItem>
                        <CallEventType>SM-MT</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>3</NumberOfEvents>
                          <TotNetCharge>0</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                    </TrafficBreakdownList>
                    <AdditionalChargeInfo>
                      <InvPeriod>2010-03</InvPeriod>
                      <TotalNetChargeSDR>48.546</TotalNetChargeSDR>
                      <TotalTaxSDR>0</TotalTaxSDR>
                      <VPMNLocCurr>EUR</VPMNLocCurr>
                      <TotalNetChargeVLCSR>54.687</TotalNetChargeVLCSR>
                      <TotalTaxVLCSR>0</TotalTaxVLCSR>
                      <TotalNetChargeVLCCD>54.216</TotalNetChargeVLCCD>
                      <TotalTaxVLCCD>0</TotalTaxVLCCD>
                    </AdditionalChargeInfo>
                  </ChargeInfo>
                </InitTAP>
              </FileType>
            </FileItem>
            <FileItem>
              <FileID>CDAAAAAGRCCO04165-00001-d</FileID>
              <ExchTmstp>2010-03-16T09:27:15.000000+01:00</ExchTmstp>
              <FileType>
                <InitTAP>
                  <TAPSeqNo>4165</TAPSeqNo>
                  <NotifFileInd>false</NotifFileInd>
                  <ChargeInfo>
                    <TAPTxCutoffTmstp>2010-03-16T09:15:20.000000+01:00</TAPTxCutoffTmstp>
                    <TAPAvailTmstp>2010-03-16T09:15:20.000000+01:00</TAPAvailTmstp>
                    <TAPCurrency>SDR</TAPCurrency>
                    <TotalNetCharge>7.114</TotalNetCharge>
                    <TotalTax>0</TotalTax>
                    <TrafficBreakdownList>
                      <TrafficBreakdownItem>
                        <CallEventType>CS MO</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>5</NumberOfEvents>
                          <TotNetCharge>4.985</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                      <TrafficBreakdownItem>
                        <CallEventType>CS MT</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>1</NumberOfEvents>
                          <TotNetCharge>0</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                      <TrafficBreakdownItem>
                        <CallEventType>GPRS Calls</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>10</NumberOfEvents>
                          <TotNetCharge>2.057</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                      <TrafficBreakdownItem>
                        <CallEventType>SM-MO</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>2</NumberOfEvents>
                          <TotNetCharge>.072</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                      <TrafficBreakdownItem>
                        <CallEventType>SM-MT</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>6</NumberOfEvents>
                          <TotNetCharge>0</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                    </TrafficBreakdownList>
                    <AdditionalChargeInfo>
                      <InvPeriod>2010-03</InvPeriod>
                      <TotalNetChargeSDR>7.114</TotalNetChargeSDR>
                      <TotalTaxSDR>0</TotalTaxSDR>
                      <VPMNLocCurr>EUR</VPMNLocCurr>
                      <TotalNetChargeVLCSR>8.014</TotalNetChargeVLCSR>
                      <TotalTaxVLCSR>0</TotalTaxVLCSR>
                      <TotalNetChargeVLCCD>7.959</TotalNetChargeVLCCD>
                      <TotalTaxVLCCD>0</TotalTaxVLCCD>
                    </AdditionalChargeInfo>
                  </ChargeInfo>
                </InitTAP>
              </FileType>
            </FileItem>
            <FileItem>
              <FileID>CDAAAAAGRCCO04166-00001-d</FileID>
              <ExchTmstp>2010-03-16T14:28:43.000000+01:00</ExchTmstp>
              <FileType>
                <InitTAP>
                  <TAPSeqNo>4166</TAPSeqNo>
                  <NotifFileInd>false</NotifFileInd>
                  <ChargeInfo>
                    <TAPTxCutoffTmstp>2010-03-16T14:15:23.000000+01:00</TAPTxCutoffTmstp>
                    <TAPAvailTmstp>2010-03-16T14:15:23.000000+01:00</TAPAvailTmstp>
                    <TAPCurrency>SDR</TAPCurrency>
                    <TotalNetCharge>1.638</TotalNetCharge>
                    <TotalTax>0</TotalTax>
                    <TrafficBreakdownList>
                      <TrafficBreakdownItem>
                        <CallEventType>CS MO</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>2</NumberOfEvents>
                          <TotNetCharge>1.458</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                      <TrafficBreakdownItem>
                        <CallEventType>CS MT</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>7</NumberOfEvents>
                          <TotNetCharge>0</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                      <TrafficBreakdownItem>
                        <CallEventType>SM-MO</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>5</NumberOfEvents>
                          <TotNetCharge>.18</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                      <TrafficBreakdownItem>
                        <CallEventType>SM-MT</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>15</NumberOfEvents>
                          <TotNetCharge>0</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                    </TrafficBreakdownList>
                    <AdditionalChargeInfo>
                      <InvPeriod>2010-03</InvPeriod>
                      <TotalNetChargeSDR>1.638</TotalNetChargeSDR>
                      <TotalTaxSDR>0</TotalTaxSDR>
                      <VPMNLocCurr>EUR</VPMNLocCurr>
                      <TotalNetChargeVLCSR>1.845</TotalNetChargeVLCSR>
                      <TotalTaxVLCSR>0</TotalTaxVLCSR>
                      <TotalNetChargeVLCCD>1.832</TotalNetChargeVLCCD>
                      <TotalTaxVLCCD>0</TotalTaxVLCCD>
                    </AdditionalChargeInfo>
                  </ChargeInfo>
                </InitTAP>
              </FileType>
            </FileItem>
          </FileItemList>
        </Connection>
        <Connection>
          <VPMN>AAAAA</VPMN>
          <HPMN>GRCSH</HPMN>
          <FileItemList>
            <FileItem>
              <FileID>CDAAAAAGRCSH03283-00001-d</FileID>
              <ExchTmstp>2010-03-16T00:30:29.000000+01:00</ExchTmstp>
              <FileType>
                <InitTAP>
                  <TAPSeqNo>3283</TAPSeqNo>
                  <NotifFileInd>false</NotifFileInd>
                  <ChargeInfo>
                    <TAPTxCutoffTmstp>2010-03-16T00:15:25.000000+01:00</TAPTxCutoffTmstp>
                    <TAPAvailTmstp>2010-03-16T00:15:25.000000+01:00</TAPAvailTmstp>
                    <TAPCurrency>SDR</TAPCurrency>
                    <TotalNetCharge>0</TotalNetCharge>
                    <TotalTax>0</TotalTax>
                    <TrafficBreakdownList>
                      <TrafficBreakdownItem>
                        <CallEventType>SM-MT</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>1</NumberOfEvents>
                          <TotNetCharge>0</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                    </TrafficBreakdownList>
                    <AdditionalChargeInfo>
                      <InvPeriod>2010-03</InvPeriod>
                      <TotalNetChargeSDR>0</TotalNetChargeSDR>
                      <TotalTaxSDR>0</TotalTaxSDR>
                      <VPMNLocCurr>EUR</VPMNLocCurr>
                      <TotalNetChargeVLCSR>0</TotalNetChargeVLCSR>
                      <TotalTaxVLCSR>0</TotalTaxVLCSR>
                      <TotalNetChargeVLCCD>0</TotalNetChargeVLCCD>
                      <TotalTaxVLCCD>0</TotalTaxVLCCD>
                    </AdditionalChargeInfo>
                  </ChargeInfo>
                </InitTAP>
              </FileType>
            </FileItem>
            <FileItem>
              <FileID>CDAAAAAGRCSH03284-00001-d</FileID>
              <ExchTmstp>2010-03-16T09:27:16.000000+01:00</ExchTmstp>
              <FileType>
                <InitTAP>
                  <TAPSeqNo>3284</TAPSeqNo>
                  <NotifFileInd>false</NotifFileInd>
                  <ChargeInfo>
                    <TAPTxCutoffTmstp>2010-03-16T09:15:20.000000+01:00</TAPTxCutoffTmstp>
                    <TAPAvailTmstp>2010-03-16T09:15:20.000000+01:00</TAPAvailTmstp>
                    <TAPCurrency>SDR</TAPCurrency>
                    <TotalNetCharge>.072</TotalNetCharge>
                    <TotalTax>0</TotalTax>
                    <TrafficBreakdownList>
                      <TrafficBreakdownItem>
                        <CallEventType>SM-MO</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>2</NumberOfEvents>
                          <TotNetCharge>.072</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                      <TrafficBreakdownItem>
                        <CallEventType>SM-MT</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>2</NumberOfEvents>
                          <TotNetCharge>0</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                    </TrafficBreakdownList>
                    <AdditionalChargeInfo>
                      <InvPeriod>2010-03</InvPeriod>
                      <TotalNetChargeSDR>.072</TotalNetChargeSDR>
                      <TotalTaxSDR>0</TotalTaxSDR>
                      <VPMNLocCurr>EUR</VPMNLocCurr>
                      <TotalNetChargeVLCSR>.081</TotalNetChargeVLCSR>
                      <TotalTaxVLCSR>0</TotalTaxVLCSR>
                      <TotalNetChargeVLCCD>.081</TotalNetChargeVLCCD>
                      <TotalTaxVLCCD>0</TotalTaxVLCCD>
                    </AdditionalChargeInfo>
                  </ChargeInfo>
                </InitTAP>
              </FileType>
            </FileItem>
            <FileItem>
              <FileID>CDAAAAAGRCSH03285-00001-d</FileID>
              <ExchTmstp>2010-03-16T14:28:45.000000+01:00</ExchTmstp>
              <FileType>
                <InitTAP>
                  <TAPSeqNo>3285</TAPSeqNo>
                  <NotifFileInd>false</NotifFileInd>
                  <ChargeInfo>
                    <TAPTxCutoffTmstp>2010-03-16T14:15:24.000000+01:00</TAPTxCutoffTmstp>
                    <TAPAvailTmstp>2010-03-16T14:15:24.000000+01:00</TAPAvailTmstp>
                    <TAPCurrency>SDR</TAPCurrency>
                    <TotalNetCharge>0</TotalNetCharge>
                    <TotalTax>0</TotalTax>
                    <TrafficBreakdownList>
                      <TrafficBreakdownItem>
                        <CallEventType>SM-MT</CallEventType>
                        <CallEventInfo>
                          <NumberOfEvents>1</NumberOfEvents>
                          <TotNetCharge>0</TotNetCharge>
                          <TotTaxValue>0</TotTaxValue>
                        </CallEventInfo>
                      </TrafficBreakdownItem>
                    </TrafficBreakdownList>
                    <AdditionalChargeInfo>
                      <InvPeriod>2010-03</InvPeriod>
                      <TotalNetChargeSDR>0</TotalNetChargeSDR>
                      <TotalTaxSDR>0</TotalTaxSDR>
                      <VPMNLocCurr>EUR</VPMNLocCurr>
                      <TotalNetChargeVLCSR>0</TotalNetChargeVLCSR>
                      <TotalTaxVLCSR>0</TotalTaxVLCSR>
                      <TotalNetChargeVLCCD>0</TotalNetChargeVLCCD>
                      <TotalTaxVLCCD>0</TotalTaxVLCCD>
                    </AdditionalChargeInfo>
                  </ChargeInfo>
                </InitTAP>
              </FileType>
            </FileItem>
          </FileItemList>
        </Connection>
      </ConnectionList>
    </RTDR>’
    It's the query I want to be able to run against the two XML documents. As mentioned, this works very well against the complex XML but no result against the simple XML.
    SELECT
             rtd.rtdr_document_id
            ,rtd.filename
            ,EXTRACTVALUE(rtd.rtdr , '/RTDR/RTDRFileHeader/PMN' )                                      client_pmn
            ,connXML."VPMN"                                                                            vpmn
            ,connXML."HPMN"                                                                            hpmn
            ,fileXML."TAPSeqNo"                                                                        tap_seq_no
            ,chrgXML."TAPTxCutoffTmstp"                                                                tap_tx_cut_off_tmstp
            ,chrgXML."TAPAvailTmstp"                                                                   tap_avail_tmstp
            ,chrgXML."TAPCurrency"                                                                     tap_currency
            ,chrgXML."TotalNetCharge"                                                                  total_net_charge
            ,chrgXML."TotalTax"                                                                        total_tax
            ,traffXML."CallEventType"                                                                  call_event_type     
            ,callEvtXML."NumberOfEvents"                                                               number_of_events
            ,callEvtXML."TotNetCharge"                                                                 call_event_ttl_net_charge
            ,callEvtXML."TotTaxValue"                                                                  call_event_ttl_tax_value
    FROM     t   rtd
            ,XMLTABLE(
                      XMLNAMESPACES
                      (
                        DEFAULT 'https://infocentre.gsm.org/TADIG-RTDR'
                      ),
                      '/RTDR/ConnectionList/Connection'
                      PASSING  rtd.myXML
                      COLUMNS
                      "VPMN"       VARCHAR2(5)    PATH '/Connection/VPMN'
                     ,"HPMN"       VARCHAR2(5)    PATH '/Connection/HPMN'
                     ,"FileXML"    XMLTYPE        PATH '/Connection/FileItemList/FileItem/FileType/InitTAP'
                     )  connXML
           ,XMLTABLE(
                      XMLNAMESPACES
                      (
                        DEFAULT 'https://infocentre.gsm.org/TADIG-RTDR'
                      ),
                      '/InitTAP'
                      PASSING  connXML."FileXML"
                      COLUMNS
                      "TAPSeqNo"       VARCHAR2(50)   PATH '/InitTAP/TAPSeqNo'
                     ,"ChargeInfoXML"  XMLTYPE        PATH '/InitTAP/ChargeInfo'
                    )  fileXML
           ,XMLTABLE(
                      XMLNAMESPACES
                      (
                        DEFAULT 'https://infocentre.gsm.org/TADIG-RTDR'
                      ),
                     '/ChargeInfo'
                      PASSING  fileXML."ChargeInfoXML"
                      COLUMNS
                      "TAPTxCutoffTmstp"          VARCHAR2(30)     PATH '/ChargeInfo/TAPTxCutoffTmstp'
                     ,"TAPAvailTmstp"             VARCHAR2(30)     PATH '/ChargeInfo/TAPAvailTmstp'
                     ,"TAPCurrency"               VARCHAR2(30)     PATH '/ChargeInfo/TAPCurrency'
                     ,"TotalNetCharge"            NUMBER(22,5)     PATH '/ChargeInfo/TotalNetCharge'
                     ,"TotalTax"                  NUMBER(22,5)     PATH '/ChargeInfo/TotalTax'
                     ,"TrafficBreakdownListXML"   XMLTYPE          PATH 'TrafficBreakdownList/TrafficBreakdownItem'
                    )  chrgXML
           ,XMLTABLE(
                      XMLNAMESPACES
                      (
                        DEFAULT 'https://infocentre.gsm.org/TADIG-RTDR'
                      ),
                     '/TrafficBreakdownItem'
                      PASSING  chrgXML."TrafficBreakdownListXML"
                      COLUMNS
                      "CallEventType"             VARCHAR2(20)     PATH '/TrafficBreakdownItem/CallEventType'
                     ,"CallEventInfoXML"          XMLTYPE          PATH '/TrafficBreakdownItem/CallEventInfo'
                    )  traffXML
           ,XMLTABLE(
                      XMLNAMESPACES
                      (
                        DEFAULT 'https://infocentre.gsm.org/TADIG-RTDR'
                      ),
                     '/CallEventInfo'
                      PASSING  traffXML."CallEventInfoXML" 
                      COLUMNS
                      "NumberOfEvents"            NUMBER           PATH '/CallEventInfo/NumberOfEvents'
                     ,"TotNetCharge"              NUMBER           PATH '/CallEventInfo/TotNetCharge'
                     ,"TotTaxValue"               NUMBER           PATH '/CallEventInfo/TotTaxValue'
                    )   callEvtXML
    Thank you very much

    Kind regards

    Simon Gadd

    Hi Simon,.

    I guess what I'm after looks like a LEFT JOIN XML

    Exactly.

    Try to add a (+) after the last two XMLTABLEs operator:

    ...
           ,XMLTABLE(
                      XMLNAMESPACES
                      (
                        DEFAULT 'https://infocentre.gsm.org/TADIG-RTDR'
                      ),
                     '/TrafficBreakdownItem'
                      PASSING  chrgXML."TrafficBreakdownListXML"
                      COLUMNS
                      "CallEventType"             VARCHAR2(20)     PATH '/TrafficBreakdownItem/CallEventType'
                     ,"CallEventInfoXML"          XMLTYPE          PATH '/TrafficBreakdownItem/CallEventInfo'
                    ) (+)  traffXML
           ,XMLTABLE(
                      XMLNAMESPACES
                      (
                        DEFAULT 'https://infocentre.gsm.org/TADIG-RTDR'
                      ),
                     '/CallEventInfo'
                      PASSING  traffXML."CallEventInfoXML"
                      COLUMNS
                      "NumberOfEvents"            NUMBER           PATH '/CallEventInfo/NumberOfEvents'
                     ,"TotNetCharge"              NUMBER           PATH '/CallEventInfo/TotNetCharge'
                     ,"TotTaxValue"               NUMBER           PATH '/CallEventInfo/TotTaxValue'
                    ) (+)  callEvtXML
    

    HTH.

    PS: the declaration of namespaces does not appear in the 'limited' version, perhaps you simply forgotten in your sample? Could you confirm?

  • Unable to parse the file config.xml - bad xml structure

    I'm doing a simple application for blackberry phones.  I used the code on the site of dev on creating your first application.


    http://www.w3.org/ns/widgets ".
    "xmlns:RIM ="http://www.blackberry.com/ns/widgets"
    version = "1.0.0.0" >
      DevBlog
      BlackBerry Developer Blog
     
    email = '[email protected]' > John Doe
     
      http://devBlog.BlackBerry.com"/ >
     

    I edited it for the site we want to and other details as follows:


    http://www.w3.org/ns/widgets ".
    "xmlns:RIM ="http://www.blackberry.com/ns/widgets"
    version = "1.0.0.0" >
     
     DeVryUniversity 
     DeVry University Library 
     
    email ="[email protected]" > Danny coats "
      
     http://library.DeVry.edu/cgi-bin/Pwebrecon.cgi?DB=local&page=first"/ >
     

    It gives me the following error when I compile it:

    C:\Program Research In Motion\BlackBerry WebWorks Packager > bbwp "C:\Users\".
    Danny Coats\workspace\applications\DeVryLibrary\DeVryLibrary.zip.
    [INFO]                  Parsing of the command line options
    [INFO]                  Bbwp.properties analysis
    [INFO]                  Validation of archive application
    [INFO]                  The analysis of config.xml
    [ERROR]                 Impossible to analyze the file config.xml - bad structure XML

    I use Windows 7 Professional and the latest version of the SDK of Blackberry WebWorks.  I find nothing in the community for this to solve.

    Any suggestions will be greatly appreciated.

    I had the same error when you try your config.
    So, I try to analyse.
    I found the error is in the value of the content item, you must:

    http://library.DeVry.edu/cgi-bin/Pwebrecon.cgi?DB=local&page=first

    and should be:

    http://library.DeVry.edu/cgi-bin/Pwebrecon.cgi?DB=local & page = First

    If the special characters in the URL must be converted to their html entities.

  • The opening of the RPD MDS XML error

    The landscape

    I have a relatively simple SPR with a single Oracle data source considered. OBIEE version 11.1.1.9

    I followed best practices and star schema article to define the logical subject area: 8 dimensions and a fact table.

    dashboards and reports on OBIEE work well and no problems of RPD to date.

    Usage tracking is enabled and modeled.

    The problem

    I'm in the early stages of planning for automated deployment, but so far I can't properly re - open the RPD in the form of XML documents.

    Backup repository happily in XML format, but on open after several attempts, accepts the password but gives the following error:

    "nQSError 90028] XML Validation error to line number 5: data type error: Type: InvalidDatatypeValueException, ID of Message: 'mError' is not unique."


    Troubleshooting so far

    • Like a madman, google-> nothing (if this isn't common)
    • RPD light up to the basic set, same problem
    • Tried on another server with an export charges of an RPD offline (the most recent version of the same file). Same question. (so, not my machine)
      Tried with SampleApp DPR installation - error does not (not the application)
    • I opened all the MDS XML files exported in Notepad ++ and sought non-unique value. It is 250 hits around 9 files - all were the logical table XMLs. In each case the offending value is located in the < AttrDefn > element of a column of logic and resembles this example:

    < LogicalColumn mdsid = ' m4000001b-0ab3-1580-92e1 - a 0, 0102420000 "name ="Date time"isWriteable ="false">

    "< AttrDefn mdsid = 'mError" name = "AD_3900:73941442851546" > "

    < mdsid Expr = 'm00000001-01f4-0000-cff2-f3fb00000000' name = 'Expr' >

    < ExprText > <! [CDATA ['%1']] > < / ExprText >

    < ExprTextDesc > <! [CDATA ['MDM'. » ». "' MDM '. "" "" A_DIM_VALUE_DATE '. "" DATE_TIME_END']] > < / ExprTextDesc >

    < ObjectRefList >

    "< RefId="m00000001-01f4-0000-cff2-f3fb00000000-mc0000002-ddf7-156e-806e-0a0102420000 RefObject "objectTypeId ="3003"objectRef="/oracle/bi/server/base/PhysicalTable/c0000000-ddf7-156e-806e-0a0102420000.xml#mc0000002-ddf7-156e-806e-0a0102420000"/ >

    < / ObjectRefList >

    < / Expr >

    < / AttrDefn >

    < / LogicalColumn >


    See attached the error and the XML example.

    Options

    • Raise a SR?
    • Rebuild my logical Tables - and the presumable presentation layer?
    • ?

    Thanks in advance for any guidance - Niamh

    You want to integrate with version control in the House and the script / automate patches rpds based environments onward.

    You can do this with comparerpd/patchrpd command line tools - on the binary RPD. You need not MDS XML. You can put the RPD in control source (and if you want to use XML MDS, keep a copy of it in the source code control too - but use it as your exclusive of the RPD representation)

    At the Stewart Bryson blog on RM.com with git as an example.

    Yes, Stewart and I disagree on this subject ;-)

    https://medium.com/red-pill-Analytics/concurrent-RPD-development-with-OBIEE-the-checkmate-approach-8bd8279ec1d9

    Development of simultaneous RPD in OBIEE - Consulting Rittman Mead

    But - I think that what you say about is not so much simultaneous development, such as the automated environment implementation service/deployment. And as I said, this can be done with standard command line tools, no MDS needed XML (and I think that Stewart would agree with me on this...)

  • Impossible to analyze the xml.aspx contained in the main.js.Iam get the following error"could not obtain XML document, and the connection has failed: status 500

    Impossible to analyze the xml.aspx contained in the main.js.Iam get the following error"could not obtain XML document, and the connection has failed: status 500

    My main.js resembles

    xmlDataSource var = {}
     
    URL: 'dcds. - symbianxml.aspx", etc. (sample).
     
    init: function() {}
    URL, successful reminder, the reminder of failure
    This.Connect (this.) (URL, this.responseHandler, this.failureHandler);
    },
     
    /**
    * Analyzes the XML document in an array of JS objects
    @param xmlDoc XML Document
    * @returns {table} array of objects of the device
    */
    parseResponse: {function (xmlDoc)}
        
    var chElements = xmlDoc.getElementsByTagName ("channel");
       
    channels of var = [];
      
    Console.log (chElements.Length);
      
    for (var i = 0; i)< chelements.length;="">
        
    var channel = {};
       
    for (var j = 0; j)< chelements[i].childnodes.length;="">
        
    var node = Sublst.ChildNodes(1).ChildNodes(0) chElements [i] [j];
                
    If (node.nodeType! = 1) {//not an element node}
    continue;
    }
           
    Channel [node. TagName] = node.textContent;
    }
       
    Channels.push (Channel);
    }
    Console.log (Channels.Length);
    return the strings;
    },
     
    /**
    Manages the response and displays the data from device web app
    @param xmlDoc
    */
    responseHandler: {function (xmlDoc)}
      
    var channel = this.parseResponse (xmlDoc);
    var markup = "";
       
    for (i = 0; i< channels.length;="">
       
    markup += this.generateHTMLMarkup (i, channels [i]);
    }
    document.getElementById("accordian").innerHTML = mark-up;
    },
     
    /**
    Generates HTML tags to insert in to the DOM Web App.
    * @index i, index of the device
    @param device, device object
    */
    /*
    generateHTMLMarkup: function (i, channel) {}
      
    var str ="";
    "Str += '.


    ' onclick =-"mwl.setGroupTarget ('#accordian ',' #items_" + i + "', 'ui-show ',' ui - hide');" + ".
    "mwl.setGroupTarget ('#accordian ',' item_title_ #" + i + "', 'ui-open', 'ui-farm'); Returns false; \ » > » ;
    "" Str += "" + channel ['name'] + ' ";
    "Str += '.
    ";
    "Str += '.
    ";
    "Str += '.
    "+" id: "+ channel ['id'] +" ' "
    ";
    "Str += '.
    "+" type: "+ channel ['type'] +" ' "
    ";
    "Str += '.
    "+" language: "+ channel ['language'] +" ' "
    ";
    "Str += '.
    «+ "bandwidth:" + "fast" channel + "»»
    ";
    "Str += '.
    "+" cellnapid: "+ channel ["cellnapid"] +". "
    ";
    "Str += '.
    «+ ' link: '+'start the video »»
    ";
    "Str += '.
    ";
    return str;
    },*/
    generateHTMLMarkup: function (i, channel) {}
       
    var str ="";
    "Str += '.
    ";
    str +=  "" +
    "" + channel ['name'] + ""+""
    ";
    "Str += '.
    «+ ' link: '+'start the video »»
    ";
         
    return str;

    },
     
    failureHandler: {function (reason)}
    document.getElementById("accordian").innerHTML = "could not get XML document.
    '+ reason;
    },
     
    /**
    Retrieves a resource XML in the given URL using XMLHttpRequest.
    @param url URL of the XML resource to retrieve
    @param called successCb, in the XML resourece is recovered successfully. Retrieved XML document is passed as an argument.
    @param failCb called, if something goes wrong. Reasons, in text format, is passed as an argument.
    */

    Connect: {function (url, successCb, failCb)
      
    var XMLHTTP = new XMLHttpRequest();
      
    XMLHTTP. Open ("GET", url, true);

    xmlhttp.setRequestHeader("Accept","text/xml,application/xml");
    xmlhttp.setRequestHeader ("Cache-Control", "non-cache");
    xmlhttp.setRequestHeader ("Pragma", "non-cache" "");
      
    var that = this;
    XMLHTTP.onreadystatechange = function() {}
       
    If (xmlhttp.readyState == 4) {}
        
    If (XMLHTTP. Status == 200) {}
         
    {if (!) XMLHTTP.responseXML)}
    try {}
    If server has not responded with good an XML MIME type.
    var domParser = new DOMParser();
    var xmlDoc = domParser.parseFromString(xmlhttp.responseText,"text/xml");
           
    successCb.call (that, xmlDoc);
           
    } catch (e) {}
    failCb.call (, "answer was not in an XML format.");
    }
              
    } else {}
    successCb.call (that, xmlhttp.responseXML);
    }
    } else {}
    failCb.call (this, "connection failed: status"+ xmlhttp.status ");
    }
    }
    };
    XMLHTTP. Send();
    }
    };

    Please see the content in main.js is fully analyzed.

    Forward for the solution to my request all members of the community...

  • "Error loading XML Document from saw.dll./answers/saw.selections.xml?fmapId=RRxCfQ. "The answer was: ' when you access analytic dashboards

    During these months, we were faced with an error "" error when loading XML Document saw.dll./answers/saw.selections.xml?fmapId=RRxCfQ. "The answer was: ' when you access analytical dashboards OBIEE.

    It is a global problem, and users cannot access any dashboard in OBIEE analytics.

    We used weblogicPlugin 1.1 to configure the reverse proxy for our 64-bit using IIS 7.5 weblogic server. WebLogic Server Version: 10.3.6.0. We see the error "resolveRequest: application ' / analytics/saw.dll/answers/saw.selections.xml' has not been sent." Found OR '?', or ';' in URI "in the IIS Proxy log.

    This question is regardless of the browser and get to each broser we tested. Users should click on the error message loading XML Web page pop for about 20 times to see the dashboard.


    No idea how to solve this problem?

    By Oracle Support suggestion, I installed Oracle HTTP server (OHS) and the problem is solved. For now, the problem is solved but SITEMINDER SSO and Siebel IFRAMES should be tested with OSH being the web server now.

Maybe you are looking for

  • Painting of the IPAD

    Hello I'm not sure if this question can discuss in this community. I did a painting in my iPAD pro with Apple pencil using procreate App. I really want to participate in the contest to see it on the Apple Web site. Please guide me how can I apply for

  • retrieve the mail

    Hello I changed my gmail in Thunderbird POP IMAP account, according to the article "https://support.mozilla.org/en-US/kb/sw". Old messages in local folders, disappeared. This isn't how I understood the article. Is there a way I get back them? My "Loc

  • Firefox get low performance after runing 2 years as well

    Hi allin advence, I am happy to be one of the users of mozilla firefox.really, I think it's a stable browser.After two years using mozilla firefox Charleston, it became very very low return onFacebook and youtube and a few Web sites that use a lot of

  • Not appear on the page summary of Itunes with my phone connected and synchronized to the top of the applications.

    Someone knows a problem on windows 10 with synchronization of items from their phone to Itunes? More specifically, when I plug in my Iphone and sync it to the top, my apps not will appear on the left side of the summary page. They are on my phone and

  • Problema sown

    Problema en USUARIO-PC respond to problems found: minipuerto virtual Microsoft tiene WiFi useful a problema con el driver