Problem in mapping with optional tag

Hi all,
I have to map the following messages:
Source:
<POITEM> (occurrence 0...unbounded)
   <TipoRecord></TipoRecord>
   <PO_ITEM></PO_ITEM>
   <DELETE_IND></DELETE_IND>
</POITEM>
<POITEM>
   <TipoRecord></TipoRecord>
   <PO_ITEM></PO_ITEM>
   <DELETE_IND></DELETE_IND>
</POITEM>
Target:
<POITEM_B> (occurrence 0 1)
    <item>  (occurrence 0...unbounded)
       <TipoRecord></TipoRecord>
       <PO_ITEM></PO_ITEM>
       <DELETE_IND></DELETE_IND>
    </item>
     <item>
        <TipoRecord></TipoRecord>
        <PO_ITEM></PO_ITEM>
        <DELETE_IND></DELETE_IND>
     </item>
</POITEM_B>
To do this mapping I have mapped "POITEM" of the source message with "item" of the target one and in that way the cardinality is ok.
Since POITEM_B is optional, even if there are in the source message <POITEM> elements, the tag <POITEM_B> is not created (nor its children).
So I mapped <POITEM> to <POITEM_B>:
the result is ok only for the first <POITEM> element; the second <POITEM> element generates the tag <POITEM_B> without any tag <item> below!
I have tried in several ways (like changing context, and others), but the only way I have found to get all the correct <item> tags below <POITEM>, is to map <POITEM_B> with a Constant!!!
Someone can suggest me a better solution?
ThankS!
Luciana

Hi Luciana,
when I understand you correct you just want to create the <POITEM_B> and <item> nodes of the target structure if <POITEM> exists. If not, you don't want to create <POITEM_B> and all nodes below, correct?
If so, please try the following:
<POITEM> --> NodeFunction Exists --> NodeFunction collapseContexts  --> NodeFunction createIf --> <POITEM_B>
--> This should generate exactly one <POITEM_B> if 1..n <POITEM> elements exist.
<POITEM> --> <item>
--> This should generate the same number <item> nodes you've <POITEM> nodes
Best regards
Lars

Similar Messages

  • Problem in mapping with multiple values

    Hi all,
    I am facing a problem during mapping. I am explainning the problem with a example.
    Suppose i have a source table named Employee which has two columns emp no and account no. I have a target table Emp_account which has also the same columns.
    One employee may have more than one accounts. In source table this account nos are stored in account no column in one row corresponding to emp no. The multiple values in account no are separated by comma for one record in source table.
    But in the target table Emp_account a single record will be inserted for each employee's separate account. There should not be multiple values separated by comma in account no column of target table.
    So if any employee has two accounts this will be stored as one row in source table but in target table it will divided into two different rows for each account.
    EMPLOYEE(Source)
    emp no account no
    10 101, 102
    EMP_ACCOUNT(Target)
    emp no account no
    10 101
    10 102
    Think I explained the requirement.. How can i made this in OWB mapping editor..Is it possible?...Can any operator perform this task...If any of u know about this plzz give some solution..It's very important ..
    Thanks & Regards,
    Sumanta Das

    Hi,
    With reference to your question.
    Can any operator perform this task..I don't think any single operator will help you.
    I suggest using an intermediate (staging) table by using a PL SQL procedure with output port to store the values of account number provided the number of accounts are limited. Else use an array variable for account of an employee.
    In short no simple solution because of the bad source design else the pivot/unpivot operator would have helped you.
    Cheers
    - Mohammed

  • Problem in mapping of conditional tag.

    Hi Experts,
    I have the following problem:
    Source tag:
    <A>
    <FIELD1>DATUM1</FIELD1>
    <STATUS> X</STATUS>
    </A>
    <A>
    <FIELD1>DATUM2</FIELD1>
    <STATUS> </STATUS>
    </A>
    <A>
    <FIELD1>DATUM3</FIELD1>
    <STATUS> </STATUS>
    </A>
    Target Tag:
    <C>
    <FIELD1>DATUM1</FIELD1>
    </C>
    <D>
    <FIELD1>DATUM2</FIELD1>
    </D>
    <D>
    <FIELD1>DATUM3</FIELD1>
    </D>
    So, In Source Tag A, if Status =X =>Target Tag = C
          In Source Tag A, if Status =empty =>Target Tag = D.
    My mapping is as following:
    Source Tag A->exists AND Status=X => CreateIF=>Tag C
    Source Tag A->exists AND Status=empty=> CreateIF=>Tag D.
    The problem is that I get in Target only Tag C:
    <C>
    <FIELD1>DATUM1</FIELD1>
    </C>
    <C>
    <FIELD1>DATUM2</FIELD1>
    </C>
    <C>
    <FIELD1>DATUM3</FIELD1>
    </C>.
    It looks like it does not check for each tag A.
    I have tried with UseOneAsMany but it does not work and read a lot on SDN but nothing helped!
    Please, any idea?
    Kind Regards,
    Danijela

    Hi Danijela,
    Source tag:
    <FIELD1>DATUM1</FIELD1>
    <STATUS> X</STATUS>
    <FIELD1>DATUM2</FIELD1>
    <STATUS> </STATUS>
    <FIELD1>DATUM3</FIELD1>
    <STATUS> </STATUS>
    Target Tag:
    <C>
    <FIELD1>DATUM1</FIELD1>
    </C>
    <D>
    <FIELD1>DATUM2</FIELD1>
    </D>
    <D>
    <FIELD1>DATUM3</FIELD1>
    </D>
    Follow these steps -
    you have source message type like this
    <root>
               <Field>
               </Field>
               <status>
               </status>
    </root>
    In Graphical mapping , first take Status if with else node function and check for 'X' if yes then create  target node <C></C> . if else then check for empty with if without else node function and create target node <D></D> node.
    It will solve the issue. Pls let us know if you need any further support.
    Regards,
    kishore

  • Problem in mapping with xsd:restriction and xsd:enumeration

    Hello All,
    Our BPEL process is invoked from a .net client and has a JCA adapter as target. We need to map the input schema to JCA schema and the output should look like the following:
    Listing 1:
    <callMethod name='F4211FSBeginDoc' app='XMLInterop'
    runOnError='no'>
    <params>
    <param name='mnCMJobNumber' id='1'></param>
    <param name='cCMDocAction'>A</param>
    <param name='cCMProcessEdits'>1</param>
    <param name='szCMComputerID' idref='2'></param>
    <param name='cCMUpdateWriteToWF'>2</param>
    <param name='szCMProgramID'>XMLInterop</param>
    <param name='szCMVersion'>ZJDE0001</param>
    <param name='szOrderType'>SO</param>
    <param name='szBusinessUnit'> M30</param>
    <param name='mnAddressNumber'>4242</param>
    <param name='jdOrderDate'>2000/03/29</param>
    <param name='szReference'>10261</param>
    <param name='cApplyFreightYN'>Y</param>
    <param name='szCurrencyCode'></param>
    <param name='cWKSourceOfData'></param>
    <param name='cWKProcMode'></param>
    <param name='mnWKSuppressProcess'>0</param>
    </params>
    We have our JCA schema as follows:
    Listing 2:
    <types>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="urn:iwaysoftware:jde/services/JDEJAVA_CSALES/B4200310/F4211FSBeginDoc"
    xmlns:ns="urn:iwaysoftware:jde/services/JDEJAVA_CSALES/B4200310/F4211FSBeginDoc" elementFormDefault="qualified">
    <xsd:element name="jdeRequest">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="callMethod">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="params">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="param" minOccurs="0" maxOccurs="112">
    <xsd:complexType>
    <xsd:simpleContent>
    <xsd:extension base="xsd:string">
    <xsd:attribute name="name" use="required">
    <xsd:simpleType>
    <xsd:restriction base="xsd:NMTOKEN">
    <xsd:enumeration value="mnCMJobNumber"/>
    <xsd:enumeration value="cCMDocAction"/>
    <xsd:enumeration value="cCMProcessEdits"/>
    <xsd:enumeration value="szCMComputerID"/>
    <xsd:enumeration value="cCMErrorConditions"/>
    <xsd:enumeration value="cCMUpdateWriteToWF"/>
    <xsd:enumeration value="szCMProgramID"/>
    <xsd:enumeration value="szCMVersion"/>
    <xsd:enumeration value="szOrderCo"/>
    <xsd:enumeration value="mnOrderNo"/>
    <xsd:enumeration value="szOrderType"/>
    <xsd:enumeration value="szBusinessUnit"/>
    <xsd:enumeration value="szOriginalOrderCo"/>
    <xsd:enumeration value="szOriginalOrderNo"/>
    <xsd:enumeration value="szOriginalOrderType"/>
    <xsd:enumeration value="mnAddressNumber"/>
    <xsd:enumeration value="mnShipToNo"/>
    <xsd:enumeration value="jdRequestedDate"/>
    <xsd:enumeration value="jdOrderDate"/>
    <xsd:enumeration value="jdPromisedDate"/>
    <xsd:enumeration value="jdCancelDate"/>
    <xsd:enumeration value="szReference"/>
    <xsd:enumeration value="szDeliveryInstructions1"/>
    <xsd:enumeration value="szDeliveryInstructions2"/>
    <xsd:enumeration value="szPrintMesg"/>
    <xsd:enumeration value="szPaymentTerm"/>
    <xsd:enumeration value="cPaymentInstrument"/>
    <xsd:enumeration value="szAdjustmentSchedule"/>
    <xsd:enumeration value="mnTradeDiscount"/>
    <xsd:enumeration value="szTaxExplanationCode"/>
    <xsd:enumeration value="szTaxArea"/>
    <xsd:enumeration value="szCertificate"/>
    <xsd:enumeration value="cAssociatedText"/>
    <xsd:enumeration value="szHoldOrdersCode"/>
    <xsd:enumeration value="cPricePickListYN"/>
    <xsd:enumeration value="mnInvoiceCopies"/>
    <xsd:enumeration value="mnBuyerNumber"/>
    <xsd:enumeration value="mnCarrier"/>
    We are not able to create a valid structure from the above schema. Our output variable looks like
    Listing 3:
    ns5:jdeRequest
         type
         session
         sessionidle
         ns5:callMethod()
              name
              app
              runOnError
              returnNullData
              trans
              ns5:params
                   ns5:param
                        name
    No variables are displayed under the 'name' tag.
    How can we map the input elements to Listing 2 and produce Listing 1? This is a bit urgent requirement for our client and any help will be greatly appreciated.

    Hi,
    With reference to your question.
    Can any operator perform this task..I don't think any single operator will help you.
    I suggest using an intermediate (staging) table by using a PL SQL procedure with output port to store the values of account number provided the number of accounts are limited. Else use an array variable for account of an employee.
    In short no simple solution because of the bad source design else the pivot/unpivot operator would have helped you.
    Cheers
    - Mohammed

  • Problem compling JSP with struts tags on Weblogic 8.1

    I have deployed a web application in Weblogic 8.1. However, I am facing a problem while the JSPs are getting compiled. The JSPs ahve taglib declarations referring to Struts tag library files that are present in WEB-INF folder.
    Stacktrace:
    C:\java\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_epgonline_epgonline\jsp_servlet\_approve\__approve_home.java:209: cannot resolve symbol
    probably occurred due to an error in /approve/approve_home.jsp line 53:
    <logic:notPresent name="<%=JobBean.ID%>" scope="request">
    C:\java\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_epgonline_epgonline\jsp_servlet\_approve\__approve_home.java:209: cannot resolve symbol
    symbol : variable EVAL_BODY_BUFFERED
    location: interface javax.servlet.jsp.tagext.BodyTag
    if (_int0 == BodyTag.EVAL_BODY_BUFFERED) { //[ /approve/approve_home.jsp; Line: 53]
    I believe other people have also faced this issue with Weblogic8.1 and struts. Any solutions???
    Thx
    KP

    KP,
    Does this code run in the development environment but not in production? How
    was this code compiled?
    - john
    "KP" <[email protected]> wrote in message
    news:405b9b56$[email protected]..
    I have deployed a web application in Weblogic 8.1. However, I am facing aproblem while the JSPs are getting compiled. The JSPs ahve taglib
    declarations referring to Struts tag library files that are present in
    WEB-INF folder.
    Stacktrace:
    C:\java\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\m
    yserver_epgonline_epgonline\jsp_servlet\_approve\__approve_home.java:209:
    cannot resolve symbol
    probably occurred due to an error in /approve/approve_home.jsp line 53:
    <logic:notPresent name="<%=JobBean.ID%>" scope="request">
    C:\java\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\m
    yserver_epgonline_epgonline\jsp_servlet\_approve\__approve_home.java:209:
    cannot resolve symbol
    symbol : variable EVAL_BODY_BUFFERED
    location: interface javax.servlet.jsp.tagext.BodyTag
    if (_int0 == BodyTag.EVAL_BODY_BUFFERED) { //[/approve/approve_home.jsp; Line: 53]
    >
    I believe other people have also faced this issue with Weblogic8.1 andstruts. Any solutions???
    >
    Thx
    KP

  • Problem in map with a link.

    My map:
    http://mapping.lt/ifas/map.swf
    The problem:
    The buttons does'nt work,i think i'm doing something wrong. They're in the map it self,because i don't want them to move while zooming.
    Actions of the button is:
    on (release) {
    getURL("http://mapping.lt", "_blank");
    T.y. for your help.
    The fla of the map is here http://www.wikiupload.com/download_page.php?id=131316

    Try redoing the button.  You have a button in a button which is not going to work.

  • Site Map with Adaptive Tags??

    Hi all,
    I seem to remember a session at the Developers Conference in Florida (Oct, 2005) where an example was given on how to create a site map using nothing but adaptive tags. I'm searching all over but haven't found this. Any help on how this can be archived would be greatly appreciated,
    ~Kevin.

    Iam using pt:ptdata.joincurrcommunitydata
    here is some code
    <pt:ptdata.joincurrcommunitydata pt:id="menutabsjoin" />
    <pt:logic.foreach pt:var="temp2" pt:data="menutabsjoin">
    <span class="CommunityPage">
    <pt:core.html href="$temp2.url" pt:tag="a">
    <pt:core.html pt:tag="img" src="$temp2.img" alt="$temp2.title" border="0" align="absmiddle" height="$temp2.imgheight"      width="$temp2.imgwidth" />
                        <pt:logic.value pt:value="$temp2.title" />
                             </pt:core.html>
                             </span>
                             </pt:logic.foreach>
    But the URL that is generated is not having the CommunityID, hence it errors out saying object not found.
    Any help would be appreciated?
    Thanks
    kartik

  • ABAP runtime error in sxmb_moni when SOAP message has header with some tags

    Hi!!!
    I have a problem with sxmb_moni transaction.
    If I double-click on a successfully processed
    message, then this monitor can't show me
    the message details but fails with the following error:
    <COPY_AND_PASTE_FROM_SCREEN>
    Runtime errors         OBJECTS_OBJREF_NOT_ASSIGNED_NO                              
    Exception              CX_SY_REF_IS_INITIAL                                        
    Occurred on     02.03.2005 at 16:44:21  
    Access with 'ZERO' object reference not possible.                                                
    What happened?                                                            
    Error in ABAP application program.                                                 
    The current ABAP program "CL_XMS_PROP_STRING============CP " had to be             
    terminated because one of the                                                     
    statements could not be executed.                                                  
    This is probably due to an error in the ABAP program.
    </COPY_AND_PASTE_FROM_SCREEN>
    This situation takes place only when I want
    to look at a SOAP message which was sent to XI
    from .Net platform or was sent to
    .Net platform from XI (via SOAP adapter).
    In all other cases sxmb_moni works fine.
    I know that the problem is connected with some tags from Header record of SOAP message:
          <soap:Header>
             <wsa:Action>http://aaa.bbb.ccc/MessageResponse</wsa:Action>
             <wsa:MessageID>uuid:1838f870-1688-4cfe-8c4f-afe14d98c515</wsa:MessageID>
             <wsa:RelatesTo>uuid:308b950f-8cff-4b63-9861-93b041825f9d</wsa:RelatesTo>
             <wsa:To>http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:To>
             <wsse:Security>
                <wsu:Timestamp wsu:Id="Timestamp-389847df-8760-4d57-9777-6ce159d85205">
                   <wsu:Created>2005-03-02T08:54:29Z</wsu:Created>
                   <wsu:Expires>2005-03-02T08:59:29Z</wsu:Expires>
                </wsu:Timestamp>
             </wsse:Security>
          </soap:Header>
    If I take a SOAP message I have problem with, and
    I remove all tags from this Header (or remove
    the whole Header) and send it from any XML editor
    that can send SOAP messages then sxmb_moni hasn't
    any problems with showing me details of a such message.
    Any hints how to force a .Net platform not to send
    a such header or how to force sxmb_moni transaction
    not to fail if a such header occurs?
    Regards,
    Andrzej Filusz

    Hi Santhosh
    1.Check your authorization settings in XI and R/3. Whether the user has sufficient rights to execute the Function Module etc. This is the most common reason for this error.
    2.If the XI system was brought online even before the R/3 system then re-activate the communication channels from the Integration directory.
    Cheers..
    Vasu
    <u><i><b>** Reward Points if found useful **</b></i></u>

  • SAP XI - Mapping with Contexts

    Hi Guys,
    We have a problem when mapping with contexts. Couldyou please help.
    What we are trying to achieve is if PARVW = X then map name2 to name2. We have done this all the way down the DT_Address. The context on both input values are set to IDOC.
    The problem is that when all the fields are in a particular segment occurence then it maps perfectly. But on numerous occurrences of E1EDKA1 various fields are missing i.e.name2 or pstl2 etc. What we want to happen is if the field doesn’t exist in that particular occurrence then just leave blank and don’t map. What is happening instead is XI keeps looking for this field and maps the first occurrence it can find of it. So we end up with like 6 occurrences of the same thing.
    Is their a way to specify that only map the fields if it is within the same occurrence as the qualifier. So basically Name2 follows PARVW to the same occurrence.
    Also is their a way of making it so we don’t get
    Name
    Name
    Name
    Id
    Id
    Id
    Address
    Address
    Address
    And instead get
    Name
    Id
    Address
    Name
    Id
    Address
    Name
    Id
    Address
    Thanks people

    Hi Thanks for your input.
    It was a little to do with the context but in the end I had to put another element in the target structure. So it went
    Customer 0-unbounded
            customerAddress 1-1
                       Details 0-1
                       ETC 0-1
                       ETC 0-1
    I mapped the customer to E1EDKA1
    I mapped customer address to a constant
    and the details I ampped as before but with no context.
    This seemed to work.... I have no idea why but it did work. If anybody could explain the why, I would appreciate it.

  • Issue with optional prompt

    Hello,
    We have a universe built on top of bex query and it has a couple optional prompts prebuilt with the help of variables in the bex query. My understanding is that when there is optional prompt the lov is not generated unless the user manully clicks the refresh lov button on prompt window. This is how it works in the webi report I built on the universe. But when I use the same webi report as a live office component in the xcelsisus dashboard the lov's are genrated ignoring the <optional> prompt which is causing lot of delay refreshing the dashboard. This happens only when I have the connection in the universe to use SNC( Single sign On). I dont see any issue with hardcoded username and password.
    any thoughts?
    Thanks
    Ram

    Ingo
    >> What exactly you mean here that a list of values is being generated ? a list of values doesn't show up automatically in Xcelsius for the dashboard - it needs to be created / designed as part of the Xcelsius design.
    When I have a prompt with <optional> tag in the universe the webi report or xcelsius should not request the new lov's from the database it should only use the lov's available in chache. 
    But I my case I am using SSO connection in the universe, when the SSO is turned ON the lov's from chache cann't be used, the webi report is not requesting a lov's from the database when there is no chache or when the chache off which is correct. but the live office plugin iin xcelsius s requesting new lov's from database everytime I refresh a connection.
    In xcelsius we are not using any list of values, I don't think lov's are usefull in xcelsius dashboard as we can't see the prompt window in the flash mode.
    Thanks
    Ram

  • I have an alert message in disc utility. Error: storage system verify or repair failed. Problems were found with the partitian map which might prevent booting.

    While running verify disc in disc utility on 251 GB SSD SM256c Media I came up with this message: Alert system verify or repair failed. In the descriptions box of history it said, problems were found with the partitions map which might prevent booting. This is followed by a message in red reading, Error: Storage system verify or repair failed. At the time I was down loading raw pictures off my camera through a card reader across my computer to a relatively new 2TB Western Digital portable hard drive. after about 13 to 15 pictures downloaded that drive faileded. My Mac Book Air works fine, but i get this message now everytime I run disc verify on this disc. The Macintosh HD checks out fine.

    While running verify disc in disc utility on 251 GB SSD SM256c Media I came up with this message: Alert system verify or repair failed. In the descriptions box of history it said, problems were found with the partitions map which might prevent booting. This is followed by a message in red reading, Error: Storage system verify or repair failed. At the time I was down loading raw pictures off my camera through a card reader across my computer to a relatively new 2TB Western Digital portable hard drive. after about 13 to 15 pictures downloaded that drive faileded. My Mac Book Air works fine, but i get this message now everytime I run disc verify on this disc. The Macintosh HD checks out fine.

  • Problem with display tags (not accepting inner tags)

    Hi guys ,
    I am using display tags which is fine but i had a problem with anchor tag and the jsp display tag.
    <display:column title="Row_Id" >
    ' target="-blank" onclick=""><c:out value="${row_rowNum}"/>
    </display:column>
    here i got the exception:
    The value of attribute "href" associated with an element type "a" must not contain the '<' character.
    here if jstl is not used then how to put my value in anchor tag
    please help me.

    Can you use EL directly:
    <a href="example.jsp?id=${row.id"/"></a>

  • Problems with and tags while reading the xml file

    Hi
    I am using the xml files in my project. The project uses Tomcat, JMS. The project is divided into some components which communicate with each oher thru JMS. The component for which I am responsible gets a dcoument object from the JMS which is a processed xml of the following format (the processing is done by the DBMS_XMLGEN package of oracle)
    <?xml version="1.0" encoding="UTF-8"?>
    <root>
    <filename>157_1000000001</filename>
    <querydata>
    <tabdata>
    <tabinfo>Tab-id3</tabinfo>
    <queryset>
    <query name="Fax">
    select a.ARLN_NAME,d.TICKETED_ORIGIN,d.TICKETED_DESTINATION, d.ENDORSEMENTS,to_char(d.DATE_OF_ISSUE,'DDMONYY') as DATE_OF_ISSUE ,d.EXCHANGE_DOC_TYPE,
                   d.PASSENGER_NAME,d.ORIG_ISS_AIRLINE,d.ORIG_DOC_NO,d.ORIG_PLACE_OF_ISSUE,
                   to_char(d.ORIG_DATE_OF_ISSUE,'DDMONYY'),d.ORIG_ISSUE_AGENT,d.CUR_OF_SALE,d.GROSS_FARE,d.EQUIV_CUR_OF_SALE,d.EQUIV_FARE,
                   d.PANDA_DEAL_CODE,d.ISI,d.reporting_date
                   from airline_master a,ticket_main d,ticket_conj e where d.doc_no = e.doc_no and d.iss_airline = e.iss_airline
                   and e.conj_doc_no = (select DOC_NO from TICKET_CONJ where CONJ_DOC_NO = 1000000001 and ISS_AIRLINE = 157)
                   and e.ISS_AIRLINE = 157 and d.iss_airline = a.ARLN_NUM_CODE
    </query>
    </queryset>
    </tabdata>
    </querydata>
    the function on my side is like this
    private void processMessage(ObjectMessage objmessage)
         Document XMLreqObject = (Document) objmessage.getObject();
         Element root = XMLreqObject.getRootElement();                
         String resultFilename = root.getChildText("filename");
         Element tabSet = root.getChild("querydata");//doesnt work
         ArrayList tabSetlist = new ArrayList(tabSet.getChildren ("tabdata"));//doesnt work
    The code commented with "doesnt work", is not working. What must be the problem ?
    Thanks in Advance
    Martin

    Okay. Your original example XML didn't include < or > which was rather confusing if that particular feature was supposed to be the cause of the problem. Also calling them "tags" was rather confusing since "tags" is the term for the things that come at the beginning and of an element, like this:<data>...</data>Anyway, I assume your theory is that documents that don't have < in a text element process correctly and documents that do have < in a text element get "stuck" in the parser? Well, from your original description the process appears to be:
    1. Create XML
    2. Parse it into a Document
    3. Send the Document via JMS
    4. Receive the Document via JMS
    5. Process it.
    And it's step 4 that is "stuck"? That would be my guess based on the code you posted.

  • Problem with child tag - Could not resolve x to a component implementation.

    Hello.
    I am writing some chart component and got a problem setting property via child tag. Property is a custom class.
    My directory structure:
    Makefile  oxcharts  Session.vim  stats.as  stats.mxml  stats.swf
    ./oxcharts:
    ColumnChart.as MyTest.as
    stats.mxml:
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:oxcharts="oxcharts.*">
        <oxcharts:ColumnChart id="myChart" showDataTips="true" width="600" height="310">
            <oxcharts:test x="5"></oxcharts:test>
         </oxcharts:ColumnChart>
    </mx:Application>
    ColumnChart.as:
    package oxcharts {
        public class ColumnChart extends UIComponent {
            public var test:MyTest;
    MyTest.as:
    package oxcharts {
        public class MyTest {
            public var x:Number;
    I got this error:
    Error: Could not resolve <oxcharts:test> to a component implementation.
    I guess something wrong with imports. Setting Number property via child tag works just fine.

    I'm gonna give a clerear example, I hope it'll help you better understand what I mean let's say I have a custom class named Login:
    package ec
             [Bindable]
         public class Login
              public var ID:int;
              public var Role:String;         
              public function Login()
    And I need to use this class within MyAmazingCanvas, so my main app will be like this:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:oxcharts="ec.*">
         <mx:Script>
              <![CDATA[
                   import ec.Login;
                   [Bindable]
                   private var myLoginStatus:Login=new Login();
                   private function setLoginData():void{
                        myLoginStatus.ID=myID.text
                        myLoginStatus.Role=myRole.text;
              ]]>
         </mx:Script>
         <oxcharts:MyAmazingCanvas id="myCustomComp" myPublicNumber="323" LoginStatus="{myLoginStatus}" />
         <mx:TextInput id="myID" />
         <mx:TextInput id="myRole" />
         <mx:Button id="setData" label="Set Data" click="setLoginData()" />
    </mx:Application>
    When I said at the top level I meant outside the scope of any function, altough is not a requierement, you can as well set it at a function level.

  • Performance problem in Mapping Designer using UDF with external imports

    Hello,
    we do have a big performance problem in developing (not in execution) graphical Mappings as far as we use "user defined functions" (UDF) with include-entries referencing to jar files which are imported as "imported archives".
    For example the execution of invice mapping with a little bit bigger test file in the Mapping designer:
    - after opening, not in change mod: 6 seconds
    - after switching to change mod: 37 seconds (that's clear, now everything is compiled first)
    - after adding "com.seeburger.functions.permstore.CounterFactory;" into the "import" field of one UDF, no other change: 227 seconds
    - after saving and submiting the changlist (no longer in change mode): 6 seconds
    - after switching to change mode: 227 seconds
    So execution speed of testing (and also when watching queues) only increases in changemod more then three minutes when using UDF with imports, referencing to external JAR files. It doesn't depend on Seeburger functions (we are using XI also for EDIFACT, so we also use some Seeburger functions), I can reproduce it with any other JAR file which is used from a UDF.
    Using java included functions like "java.text.NumberFormat;" in "Import" doesn't slow down the testing.
    Can anybody reproduce this? We are using XI 3.0 SP19 on a AIX machine, so we also have to use the Java version from IBM.
    cu
    Manfred

    Problem was fixed by a upgrad of the JDK.

Maybe you are looking for

  • Error on the reports with drill-through links on SSRS 2012 SP2 -- Invalid URI: The Uri string is too long

    Hi, We are migrating SSRS 2008 R2 reports to SSRS 2012 SP2. (PS. SSRS 2012 SP2 has been applied.) Everything went smooth expect some reports which were using reporting services. These reports have some drilin-through actions and was passing in a huge

  • F110 - Exclude / Include vendors based on payment Amount in payment run

    I have a requirement to make a vendor to appear in the exception list if the payment amount for the vendor (invoices are grouped together for payment) exceeds a certain limit. Can anyone explain me how can achieve this? Eg: Vendor A has 2 invoices of

  • Cannot select language in Powerpoint

    I would like to change all text on all slides on a powerpoint 2011 presentation to English. So, I found this Applescript (see below) that basically does what I would have to do manually in an automated way. It almost works, except after it finished r

  • Forum (+ features?) for TextEdit?

    Howdy all - a) I'm looking for the appropriate forum for asking questions about TextEdit. I used the community serach box for identifying the appropriate community, but it gave no results in response to "TextEdit" or "Text Edit". b) Is it possible to

  • Switching Sources.

    Hi, We have a situation in our project. We have lots of mapping in a schema called 'STAGING' . Our souce till noe are the tables on another schema named 'BAT_STAGING'. Everything is running fine. Now Client want to Switch souce schema. i.e from BAT_S