Buggy handling of 'InputFlags' in XML browser

Hi,
The spa50x phones appear to ignore the 'InputFlags' on 'InputItem's in the XML browser. For example:
<CiscoIPPhoneInput>
     <Title>Contact Edit</Title>
     <URL>http://172.16.0.25/xml/directory/editsave.php?bugs=&amp;mac=&amp;contactid=</URL>
     <InputItem>
          <DisplayName>Name</DisplayName>
          <QueryStringParam>name</QueryStringParam>
          <InputFlags>U</InputFlags>
          <DefaultValue></DefaultValue>
     </InputItem>
     <InputItem>
          <DisplayName>Business</DisplayName>
          <QueryStringParam>Business</QueryStringParam>
          <InputFlags>T</InputFlags>
          <DefaultValue></DefaultValue>
     </InputItem>
tValue></DefaultValue>
     </InputItem>
</CiscoIPPhoneInput>
That should allow letters in the first field, and 'telephone digits' (0-9,#,*) in the bottom one. Infact, the SPA504G I have on 7.4.7 lets me enter anything in either. This makes it lengthy to type a phone number as i have to press each digit several times..
The same code works fine on a 7970. Is this a known defect?
S

Hi, this has been verified as a bug and will be addressed.
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman","serif";}
Entered as bug, CSCtn32482

Similar Messages

  • How do we handle User exits in XML Publisher

    Hi,
    Can anyone tell me how do we handle user exits in XML Publisher ?
    Thanks,
    Kiran.

    Do tyou mean the original Oracle Reports user exits ?
    If so then the flexfield ones are handled in the data template, check the user guide. Format currency should be called in the template layer. You do not need srw.init with data templates.
    Regards, Tim

  • How to handle include tag in xml schema

    My XML schema makes reference to other schema, something like:
    <xsd:include schemaLocation="../LOCCommon/LOCCommon.xsd"/>
    How do I handle this when using XML DB?

    XDB does currently understand relative URLs. We are looking at this since thier use is becoming more common. You will need to register both schemas under absolute URLs and then adjust the URL of the include or import statement to reflect this...
    The following code sample may help...
    procedure fixRelativeURLs(xmlschema in out xmltype, schemaLocationHint varchar2)
    as
      cursor getImports is
        select SCHEMA_LOCATION
          from xmlTable
                 xmlnamespaces
                   default 'http://www.w3.org/2001/XMLSchema'
                 '/schema/import'
                 passing xmlSchema
                 columns
                 SCHEMA_LOCATION varchar2(700) path '@schemaLocation'
      cursor getIncludes is
        select SCHEMA_LOCATION
          from xmlTable
                 xmlnamespaces
                   default 'http://www.w3.org/2001/XMLSchema'
                 '/schema/include'
                 passing xmlSchema
                 columns
                 SCHEMA_LOCATION varchar2(700) path '@schemaLocation'
      baseURL        varchar2(700);
      schemaLocation varchar2(700);
      targetURL      varchar2(700);
    begin
      if instr(schemaLocationHint,'/',-1) > 0 then
        baseURL := substr(schemaLocationHint,1,instr(schemaLocationHint,'/',-1)-1);
      else
        baseURL := '/';
      end if;
      for import in getImports loop
        targetURL := baseURL;
        schemaLocation := import.SCHEMA_LOCATION;
        -- The following are treated as relative URLs
        -- URLs with no '/' character
        -- URLs which do not start with '/' and which do not contain '://'
        if ((instr(schemaLocation,'://') = 0) and (instr(schemaLocation,'/') <> 1)) then
          if (instr(schemaLocation,'..')  = 1 ) then
            while instr(schemaLocation,'..') = 1 loop
              schemaLocation := substr(schemaLocation,4);
              targetURL := substr(targetURL,1,instr(targetURL,'/',-1)-1);
            end loop;
          end if;
          schemaLocation := targetURL || '/' || schemaLocation;
          -- dbms_output.put_line('Import : re-mapping "' || import.SCHEMA_LOCATION || '" to "' || schemaLocation || '".');
          select updateXML
                   xmlSchema,
                   '/xsd:schema/xsd:import[@schemaLocation="' || import.SCHEMA_LOCATION || '"]/@schemaLocation',
                   schemaLocation,
                  NAMESPACES
          into xmlSchema
          from dual;
        else
          dbms_output.put_line('Import : skipping "' || import.SCHEMA_LOCATION || '".');
        end if;
      end loop;
      for include in getIncludes loop
        targetURL := baseURL;
        schemaLocation := include.SCHEMA_LOCATION;
        -- The following are treated as relative URLs
        -- URLs with no '/' character
        -- URLs which do not start with '/' and which do not contain '://'
        if ((instr(schemaLocation,'://') = 0) and (instr(schemaLocation,'/') <> 1)) then
          if (instr(schemaLocation,'..')  = 1 ) then
            while instr(schemaLocation,'..') = 1 loop
              schemaLocation := substr(schemaLocation,4);
              targetURL := substr(targetURL,1,instr(targetURL,'/',-1)-1);
            end loop;
          end if;
          schemaLocation := targetURL || '/' || schemaLocation;
          -- dbms_output.put_line('Include : re-mapping "' || include.SCHEMA_LOCATION || '" to "' || schemaLocation || '".');
          select updateXML
                   xmlSchema,
                   '/xsd:schema/xsd:include[@schemaLocation="' || include.SCHEMA_LOCATION || '"]/@schemaLocation',
                   schemaLocation,
                   NAMESPACES
            into xmlSchema
            from dual;
        else
          dbms_output.put_line('Inlcude : skipping "' || include.SCHEMA_LOCATION || '".');
        end if;
      end loop;
    end;
    --

  • Handling special characters in XML

    Hi,
    I am using Oracle 10g 'XMLType' datatype to store XML files. Before storing I parse the XML document using Java Xerces Parser. If it parses successfuly, then I perform some business rule execution based on XML file which was parsed. So till this stage there is no problems. But when XML file contains some special characters like copy-paste of some description from MS-Word document into XML tags, then Xerces parser will parse such characters with out any exceptions, but while inserting XML document, Oracle database just throws exception saying unable to handle special characters.. So how to avoid such exceptions or silent such exceptions with any specific settings respect to XMLType datatype in 10g DB.
    Please advice!
    Arvind Patil - IN

    Monica--
    In XI 2.0, we've noticed a number of issues processing special characters, primarily caused by the version of JCO that we're running.  It sounds like SAP has spent some time in the past few months focusing on these errors, so make sure you're on the most recent patchlevels of all your middleware components, including any of the middleware libraries that BC uses. In XI, we had to update the 3 files that make up the RFC library and JCO library.  SDM couldn't update the libraries for us -- we had to manually move the files to the right place.
    Escaped XML characters like "&amp;" "&#34;" "&quot;" were fixed as of JCO 2.0.10 (the current patchlevel on AIX/UNIX), the special character "&apos;" is fixed in the next release, JCO 2.0.11, due out in a few weeks (hotfixes are available).  I don't know the equivalent versions on other platforms.  By default, XI 2.0 appears to have shipped with JCO 2.0.5.  I would expect many XI 3.0 users to also be affected.
    This may or may not apply to BC, because I don't know what BC uses to talk to SAP under the covers.
    --Dan King
    Capgemini

  • Adapter Engine handling for CDATA in XML

    Gurus:
    I had a question on the Dapter Engines behavious, specifically the SOAP Sender.
    The Source is sending something like:
               <Data><![CDATA[<?xml version="1.0" encoding="ISO-8859-1" ?><response><forms><form ObjectId="4070" Form_Name="P40 Action"><EMP_NAME>Howard Roark</EMP_NAME><PERNR>P1111111</PERNR><WORKAUTH></WORKAUTH><HR_NAME>Scott Manager</HR_NAME><HR_PNUM>P1234567</HR_PNUM><ESIG>Scott Manager</ESIG><ELECTRONIC_SIGNATURE>Scott Manager (electronically signed)</ELECTRONIC_SIGNATURE><ESIG_VERIFICATION>Scott.Manager [Tue Jun 2 12:03:56 EDT 2009]</ESIG_VERIFICATION><ESIG_DATE>06/02/2009</ESIG_DATE></form></forms></response>]]></Data>
             </GetFormXMLResult>
    What the Integration Engine sees is the Data elelment with the CDATA section trimmed, i.e., it sees:
    <Data> <?xml version="1.0" encoding="ISO-8859-1" ?><response><forms><form ObjectId="4070" Form_Name="P40 Action"><EMP_NAME>Howard Roark</EMP_NAME><PERNR>P1111111</PERNR><WORKAUTH></WORKAUTH><HR_NAME>Scott Manager</HR_NAME><HR_PNUM>P1234567</HR_PNUM><ESIG>Scott Manager</ESIG><ELECTRONIC_SIGNATURE>Scott Manager (electronically signed)</ELECTRONIC_SIGNATURE><ESIG_VERIFICATION>Scott.Manager [Tue Jun 2 12:03:56 EDT 2009]</ESIG_VERIFICATION><ESIG_DATE>06/02/2009</ESIG_DATE></form></forms></response> </Data>
    Is this an issue with the Aapter Engine, or has anyone come accross this before? This is on PI7.0 SPS 13.
    Thanks
    Feroz

    Hi,
    the CDATA section should not be a problem. It's mostly used to include information / XML in one tag and to include special characters that should not be changed or ignored by the system. All informaiton within a CDATA element is ignored by PI and handled as "blackbox" string. PI just receives it and passes it out without really looking what's inside the tag.
    If you want to extract what's inside the CDATA element, you need to use an XSLT in your mapping (see: Handling CDATA in PI)
    Regards,
    Kai

  • Query regarding Handling Unicode characters in XML

    All,
    My application reads a flat file in series of bytes, I
    create a XMl document out of the data. The data contains Unicode characters.
    I use a XSLT to create XML file. While creating it I don't face any issues
    but later if I try to parse the constructed XMl file, i get a sax parsing exception
    (Caused by: org.xml.sax.SAXParseException: Character reference _"<not visible clearly in Browser>"_ is an invalid XML character.)
    Can some one advice on how to tackle this.
    regards,
    D
    Edited by: user9165249 on 07-Jan-2011 08:10

    How to tackle it? Don't allow your transformation to produce characters which are invalid in XML. The XML Recommendation specifies what characters are allowed and what characters aren't, in section 2.2: http://www.w3.org/TR/REC-xml/#charsets. The invalid characters can't come from the XML which you are transforming so they must be coming from code in your transformation.
    And if you can't tell what the invalid characters are by using your browser, then send the result of the transformation to a file and use a hex editor to examine it.
    By the way, this isn't a question about Unicode characters in XML, since all characters in Java are Unicode and XML is defined in terms of Unicode. So saying that your data contains Unicode characters is a tautology. It couldn't do anything else. If your personal definition of Unicode is "weird stuff that I don't understand" then do yourself a favour, take a couple of days out and learn what Unicode is.

  • Handle special characters in xml

    Hi,
      Our end users tend to copy the description text from Word documents to pdf form and submits it.
    If that text contains any special characters, its getting carried to the extracted xml. In the next step, when I try to assign a task to user with template and this xml, Managers cannot able to open the form and showing the error. When I assign the xml without special characters, its running fine.
    Please assist on how to handle this?
    My expectation is that user should be prompted in the form when he pastes any special characters or they should be auto-corrected to null values. if that is not possible, atleast we should able to filter the xml and eliminate special characters before the form go to next stage.
    Appreciate your help.
    Thanks,
    Krishna

    In first instance, I would have followed this way:
    http://www.dvteclipse.com/documentation/svlinter/How_to_use_special_characters_in_XML.3F.h tml
    so, I would have parsed the submitted text in a Validate event and changed any special chars to UTF-8 numeric reference.
    However, I found this:
    http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html
    which seems to state that not all UTF-8 characters are possible in XML.
    In fact, those allowed are listed here:
    http://www.w3.org/TR/2000/REC-xml-20001006#NT-Char
    so, I would still use a Validate event script but based on the XML specs' Character Range. Exactly as Mark McLaren did in Java.
    This will permit to keep those special chars that are allowed. Your Managers will thank you.
    Hope it helps.

  • Novice; xml browser for text terminals?

    please, tell me how can
    i view and print xml documents
    (database generated or standalone)
    on a text terminal connected to
    a hp 9000 server running hp-ux 10.2
    and oracle 8.0.3 server software?
    i'm new to this and i badly need an
    answer soo.
    thank you very much!
    bogdan oncica
    p.s. send answer to [email protected], too, please.
    null

    Thanks for the reply Ravi -Ravi
    I defined the RTF template and getting the PDF/ EXCEL/HTML/FO AND XML output for the report as I mentioned
    'Well this will get you 'Excel' and 'RTF' reports by changing completion 'Fromat' option at SRS'.
    We can achieve EXCEL / RTF FORMAT output by setting 'VIEWER: TEXT'T to 'BROWSER'. This will make all other reports ( non XML) to be viewed in browser, which we want to avoid. We still want to Non-XML reports in the same request group to be viewed in default report viewer where it displays the output by page by page.
    Ravi

  • How to handle tables data in XML schema based adobe form

    Hi all,
    I am working on the CRM business partner creation by using Interactive adobe form with following steps:
    1) Uploaded the offline Interactive adobe form  to online interactive adobe form via WebDynpro ABAP;
    2) Capture XML data into corresponding BAPI structures;
    3) Save all the changes to database via BAPI.
    The adobe form contains customer information as well as several table views which are bind with the context created in WebDynpro: Node NEW_BP_NODE cardinality 1:1 with single attributes and table type attributes (1:n): COLOUR_COMP, MEN_COMP etc.
    While converting the xml format data to SAP context format, It is fine to use following routine to find the single attribute and map to the BAPI structure to do the database update.
    NODE = DOCUMENT->FIND_FROM_NAME( NAME = 'XYZu2019).
    XYZ = NODE->GET_VALUE( ).
    Question: how to convert the xml table data to SAP context format in WebDynpro ABAP?
    The XML table data looks like below.
    <?xml version="1.0" encoding="UTF-8" ?>
    <NEW_BP_NODE>
    <COLOUR_COMP>
    <DATA>
    <ZZTFLD0W2AQW />
    <ZZTFLDRZ2AQX>000</ZZTFLDRZ2AQX>
    <ZZTFLDVD2TQW />
    <ZZTFLDQK2HQX />
    <ZZTFLDEL2XQX />
    <ZZTFLDTC2DQX>000</ZZTFLDTC2DQX>
    <ZZTFLDOR2UQX />
    </DATA>
    <DATA>
    <ZZTFLD0W2AQW />
    <ZZTFLDRZ2AQX />
    <ZZTFLDVD2TQW />
    <ZZTFLDQK2HQX />
    <ZZTFLDEL2XQX />
    <ZZTFLDTC2DQX />
    <ZZTFLDOR2UQX />
    </DATA>
    <DATA>
    <ZZTFLD0W2AQW />
    <ZZTFLDRZ2AQX />
    <ZZTFLDVD2TQW />
    <ZZTFLDQK2HQX />
    <ZZTFLDEL2XQX />
    <ZZTFLDTC2DQX />
    <ZZTFLDOR2UQX />
    </DATA>
    </COLOUR_COMP>
    <MEN_COMP>
    <DATA>
    <ZZTFLD4V2V7V />
    <ZZTFLDYD2N7W>000</ZZTFLDYD2N7W>
    <ZZTFLDX32I7W />
    <ZZTFLD2D2W7W />
    <ZZTFLDGD2A7W />
    </DATA>
    <DATA>
    <ZZTFLD4V2V7V />
    <ZZTFLDYD2N7W>000</ZZTFLDYD2N7W>
    <ZZTFLDX32I7W />
    <ZZTFLD2D2W7W />
    <ZZTFLDGD2A7W />
    </DATA>
    </MEN_COMP>
    Thanks in advance for your help.
    Michelle

    Hi,
    Just follow these steps:
    1. Create interactive form UI element in your view.
    2. Now provide Datasource and PDFSOURCE to it in form properties.
    3. Now give a template name prefix with 'Z' or 'Y'.
    4. Double click on it. It will prompt for interface name.
    5. Provide interface name prefixed with 'Z' or 'Y'.
    6. Click on Context button in the Pop up window and provide the node you have selected as DATASOURCE.
    7. Click ok and it will open the form designer.
    8. In this way you can create a XML Schema based Form.
    9. Activate the interface and design the form providing layout type and other details.
    Hope it will help.
    Regards,
    Vaibhav

  • Handling empty values during xml validation

    Hello experts,
    I have a file to file scenario in PI 7.1.  I am using xml validation to validate the incoming source file. There are various types of fields in the incoming file including int, decimal and string. They can have a certain enumeration of values but can also have a blank value.
    For example field 'Num' of type int can have values 1,2,3 or a blank value.
    But I am not able to define a blank value for the field in the enumeration during definition. Therefore a blank value in the input file fails during the validation stage.
    Is there any workaround for this?
    Thanks!
    RR

    This is a basic problem. When you define a field as integer you cannot declare blank space which represents String type.
    So for your case make the value 'zero' instead of blank, if you want do declare the field as integer and as below...
    <xs:element name="Num">
      <xs:simpleType>
        <xs:restriction base="xs:integer">
          <xs:pattern value="[0-3]"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
    Also refer this page for further reference.
    http://www.w3schools.com/schema/schema_facets.asp

  • Buggy handling of APPLET tags in Netscape 6.1 ?

    I have run into an irritating problem - apparently a bug in the Netscape 6.1 browser...
    Consider the following code...
    <HTML>
    <script Language=JavaScript>
    function Test1()
    alert("The applet's current width is:" + document.applets[0].width);
    document.applets[0].width=500;
    alert("The applet should have been resized to 500 pixels width");
    </script>
    <BODY onClick="Test1()">
    <applet code="Test2.class" width="100" height="100" MAYSCRIPT name="app1" >
    </applet>
    </BODY>
    </HTML>
    The applet is a dummy applet
    Now I load this page in IE 6...I click the document body, and IE correctly reports the applet width as 100, and resizes the applet width to 500 pixels...
    Now I load the page in NS 6.1...The page loads correctly...But when I click the page, there is a slight delay, and then, the applet width is returned as "undefined" by JavaScript no matter how I refer to the applet, or where I place the script...
    Also, if I select VIEW >> PREFERENCES >> UNCheck ENABLE JAVA and then reload the Netscape browser, and then reload the page, the applet obviously does not load, but the size is reported correctly as 100...Then without closing the browser I reenable JAVA and then reload the page,the applet loads, the applet's width is reported correctly as 100, and even resizes...But if I close the browser, and then reload the page with JAVA "Pre-enabled" the "undefined" problem crops up again...
    I think this may be a serious bug in NS 6.1
    I would like to know other opinions on this matter
    Sincerely
    Srideep Prasad

    Netscape 7.02 works fine

  • What is the best way to handle duplicate in an XML document?

    I have an XML document that may contain duplicated nodes. I want to insert it to the DBXML database, so that the duplicated nodes are eliminated.
    What would be the best way (in term of performance) to do it?
    I thought of enforcing the uniqueness constraint and then insert the nodes one by one, so that I will get an exception from the database if the node is duplicated, but I may have more than 50000 nodes in the worst case, so I'm not sure if this is still a good way to do it.
    Can someone give me some suggestion on this?
    Thanks!

    Hi,
    I would suggest to reconsider building of your document so that it doesn't contain duplicates if you don't need them. And it doesn't have much to do with DB XML then.
    Also you could insert your document with duplicates and use XQuery Update facilities to delete undesirable nodes.
    Vyacheslav

  • Best Practices for Handling queries for searching XML content

    Experts: We have a requirement to get the count of 4 M rows from a specific XML tag with value begins with, I have a text index created but the query is extremely slow when I use the contains operator.
    select count(1) from employee
    where
    contains ( doc, 'scott% INPATH ( /root/element1/element2/element3/element4/element5)') >0
    what is oracle's best practices recommendation to query / index such searches?
    Thanks

    Can you provide a test case that shows the structure of the data and how you've generated the index? Otherwise, the generic advice is going to be "use prefix indexing".

  • How to handle multiple xmls(schemas) using java

    Can anyone give me solution for the below issue.
    We are handling five types of xmls(five different xsds) in our application.We have the XML and its XSD in database. Currently we are using JAXB to create and update the xmls.
    In future there is a chance to add new schema. In that case our current code will not work (because the JAXB is tightly coupled with the xsds) for new schema. Is there any technology or method to handle this situvation?
    I am looking for early respons.
    Thanks
    Dhans

    You have no idea? Then look in your JavaMail download and you will find several sample programs that you can use to get started. It would also help to read the JavaMail FAQ (Google will find it easily for you).

  • Javascript to handle browser closure

    Hi,
    my application needs to handle all the events of browser closure. The differents events are
    1) close the browser using the "X" button
    2)Close the browser window using ALT+F4 key
    3)Close the window when its in fully minimised state and using the close option from the pop up window that comes when right clicked using mouse.
    I have written javascript to handle the above two events.
    Can any body tell how to handle the last event using java script?

    I assume the OP has tried onunload and onbeforeunload since, AFIK, these are the only ways of responding to the first two kinds of closure.
    I can't say I've tried them for the 3rd case.

Maybe you are looking for

  • Delivery schedule line number in make to order

    Hi all, i am doing make to order scenario with 20 strategy group. In sales order we r defining the different delivery schedule lines.when i run the MRP and getting the plan orders for all the FG material and semifinished material, the sale order numb

  • Oracle sql*plus encountered a problem and needs to be closed

    hello all, actually many times on internet i red that this is classic windows error, while looking for resolution to this error.....but there are many reasons specified......some says virus, some says multiple oracle homes, some says PATH environment

  • I want to cancel

    please help me cancel my subscription. I used it for a month last year....I don't need it now.

  • Calculating values across multiple years

    Hi, I have a stored procedure that has 10 rows for each of the last 10 years and about 25 columns for various different values for each given year. I need to create a report that shows all the values (columns) for only year 3, year 7, and year 10.  M

  • File Adapter Exception

    Hi Group, We are having File to Proxy scenario,which working fine in development,after transporting in quality we are getting the below error in runtime work bench. Could not process due to error: java.lang.NullPointerException: Also in ID test confi