Data display, security and xml vs. e4x

Win XP, Mac OS.
Flash Player 9.x
Create an HttpService object with resultFormat ="e4x".
The service accesses a url in an external domain, so create a
crossdomain.xml file with all domains wide open for the moment.
In result handler, assign data to a list, text box, whatever.
Deploy the swf to my http server.
Access my swf with web-browsers on Mac and Win.
Expected:
Properly displayed data on all platforms.
Actual:
On Mac OS the data display works perfectly well, but on Win
XP no data is displayed: according to the browser's status bar, the
http request is made, and data is returned over the wire, but the
components are left without content.
Attempts to fix:
Though no security dialogs popped up, the symptoms seemed to
map to a sandbox issue. Double-checked crossdomain.xml file, making
sure I could see it at the swf-domain's root. I tried several
different settings in the crossdomain file, and had it deployed in
several different locations to be sure I had covered the search
path. No change in the results: it worked on the mac but not on Win
XP.
Workaround:
Change resultFormat ="e4x" to resultFormat ="xml". The data
displayed as expected in the Win XP player. The mac display
continues to work properly.
When should I use xml and when shoudl I use e4x? I don't
notice a performance difference between the 2, and I don't have to
change my result hanlder code to switch from one to the other. The
only (important!) difference I've observed is that on Win I can
reliably display my data with xml whereas I cannot with e4x. Can
someone please explaiini this?
Text
Text

Thanks. I'll look into that, but I will have to use xml at
least temporarily as it is the only workaround.
Any idea of why e4x would work on the mac but not windows? My
assumption was that the data did indeed get to the client since it
works on the mac. However, you seem to be saying that there still
might be an issue with some other aspect of the data transport. Is
it possible that Windows is doing something to the e4x data that's
implemented differently on the mac?

Similar Messages

  • Problems with Captivate Redirects, possibly Flash Security and XML

    Hello fellow Captivarians,
    First a little backstory, earlier in the year we developed a course that heavily used external image files, which were gathered and organised through an XML file, then placed into Captivate 4 through a widget. This was all developed in Actionscript 3 and was designed to be accessed locally, on the user's computer from a CD Drive.
    We had a whole deal of issues with Captivate and Flash security issues, finding that we could not get the importing to work correctly in Internet Explorer as it outright refused to import the XML file (Presumably because of security issues). However, Firefox would work fine. Eventually we got it working via a bandaid solution by prepackaging the course with a firefox portable install.
    Now many months later, we have discovered our previous solution still works, but it now outright denies any redirects from HTML page to HTML page, regardless if the content is on the CD or if it's on the harddrive. Buttons that link to external sources will not work, (even if it's just a local page in the same directory).Flash player simply refuses to redirect between HTML pages. We tried some older projects that were developed in AS2 - and this wasn't an issue.
    The odd thing is however, on my computer it still works fine. However, on everyone elses in our office, it will not redirect at all. We are all running the same version of Flash Player, and the same version of Firefox...
    Any ideas? Could it have been a recent update with the Flash Player that prevents this sort of interaction?
    Cheers.

    Hi there
    Have you tried configuring the Flash Security Settings? That's my guess.
    Click here for a tutorial on how to configure
    If this will be on CD-ROM or DVD, you may need to consider adding a light version of a Web Server to the media and launching via that.
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Jdeveloper Data Source control and xml file

    Hi
    I was wundering if Jdeveloper can parse a xml file and and show the results in a grid for a xml file just like the webservice control.
    like here
    http://www.oracle.com/technology/obe/obe11jdev/11/wsdc/wsdc.htm
    regards

    If I'm understanding what you are aiming for then the URL Data Control can do this for XML files if you provide the XML Schema for them.
    See this sample:
    http://www.oracle.com/technology/products/jdev/howtos/urldatacontrol/urldatacontrol.html

  • WS-Security and xml.xsd schema

    Hi,
    I am using standard schema that use schemaLocation="http://www.w3.org/2001/03/xml.xsd"
    but my Oracle BPEL PM cannot access internet.
    How can I use those schemas ?? Do i have to get all schemas and include them is the BPEL process??
    What are the best practices for that??
    Thanx
    JO

    Hi, Reply myself ..
    I put all w3c schemas in the bpel/system/xmllib to be accessed as system bpel schemas.
    http://.../orabpel/xmllib/xml.xsd
    Hope it could help someone esle.
    JO

  • Crystal and xml data

    I am building a report using xml data set from 3E database (elite software)
    i have data displaying in my xml output, but when i pull field into the report and run it through the viewer it doesnt display anything. i have tried the table (dataaset) alone or joined to the main table.
    any ideas????

    None of the bundled versions of CR have the driver. Reason is that the driver responsible for these connections requires the Java framework and I suspect MS would not be too pleased if we installed the Java framework. The stand alone versions, since they are not part of any bundle can and do install the Java framework and the driver. Note that even the latest release of CR - CRVS2010 does not have the driver as it essentially becomes a bundle or a VS2010 plug-in.
    So, the short of it is; you have to obtain a stand-alone version of CR. I'd recommend CR 2008 (12.x) as CRXI R2 will run out of support in June of this year.
    - Ludek

  • Data mapping between sybase and xml

    I want to make a data mapping between sybase relational data result set and xml.
    I am using the function ForXmlTree for this purpose, I have the entire documentation about the synatx and usage of it, but i need to know what support does JAVA have for it.
    What files need to be installed .
    This is an example of using the function
    java jcs.xmlutil.ForXmlTree �i forxmltree-spec [-o output-script-file] \
    [-x output-document-file  -S server-name]
    does anyone know where can i find the jcs.xmlutil package. If so let me know.
    Thanks in advance
    Sandeep

    PRPS-PSPNR = AFVU-PROJN.
    also you can use this fm.
    BAPI_PROJECT_GETINFO

  • Newbie Q about Frame 8 and XML

    I am an experienced Frame user but have never used structure in Frame. We're all on 7.2 where I work but soon to upgrade to Frame 8.
    In the marketing poop on Adobe's site they say you can use XSLT or DTD to open XML files in Frame, but I know that in the past you had to muck with something called EDDs as well.
    What is the truth?
    Here is one anticipated use of this ... we can get all the command line commands from developers as XML. We could also get them to give us the appropriate schema. To open and use that in Frame such that it would import and format the commands in a table, or headings with text, what is required in general? And also, where is this process documented?

    Steve,
    A structured document consists of a hierarchy elements, each consisting of other elements, text, or special FrameMaker formatting objects such as markers, cross-references, and anchored frames. Since an XML document also consists of a hierarchy of elements, consisting of other elements and text, it is possible to move data between FrameMaker and XML. However, nothing in XML indicates how the different elements are formatted, or even which are entire paragraphs and which are text ranges within a paragraph. If you want to produce formatted FrameMaker content, you need to configure FrameMaker to apply formatting automatically to different elements based on the context in which they occur
    Document type definitions (DTDs) and schemas are XML constructs for defining the elements that are going to be used in a class of documents and the rules for which elements occur in which contexts. Element definition documents (EDDs) are the FrameMaker equivalent of a DTD along with a stylesheet. An EDD not only defines the element types to be used, but associates formatting with them as well. FrameMaker can generate an EDD from a DTD or schema and such an EDD will define the same element types as the XML definition, but will not have any formatting information.
    XSLT is a transformation language that is used to generate HTML, text languages such as MIF or RTF, or other XML documents from an XML document. FrameMaker can run XSLT automatically when you move material between it and XML. XSLT is useful when you want to use a slightly different structure within FrameMaker and XML.
    EDDs and moving material between FrameMaker and XML is documented in the online Structure Application Developer's Guide.
    --Lynne

  • Dats Level Security @Dashboard

    Hi ,
    I want some clarifications for below
    1) Can we Implement Data Level Security in Dashboard? If yes How to do this in Dashboard.
    2) I want to divide dashboard into 4 equal parts? Pls give some iDea
    3) In want situations we will use 2 LTS under one Dimension table?
    If Any one knows pls give some idea.

    Hi RamOBI,
    Just as an FYI, it makes it easier for others to help you if you keep one question to each thread. Right now you've got three questions. Here's my response to the one stated in your thread subject.
    1. You implement data level security in the Repository file (RPD). You'll build out a subject area with the data level security and use that subject area to build out your dashboard with data level security. Here is a website that walks you through the data level security. http://www.rittmanmead.com/2007/05/13/obiee-and-row-level-security/
    If you post the other questions in their own threads, I'll be more than willing to give you feedback.
    Let me know if this helps.
    Best regards,
    -Joe

  • In SAPUI5, Passing Table Row Data  Selected in one xml view to another xml view and display in the second View

    Dear Friends,
    Please provide the solution for the following scenario:
    In the first view(xml)  I have a table with the fields QuotationNo,plant name, material no...etc, where I am displaying the data fetched using Odata model. The table is enable with Single line selection mode. My requirement is to Carry the selected row data to another view(xml) and display there.
    Please give your valuable inputs.

    Hi Rinku,
    depending on how you do the navigation, you might find the information here: OpenUI5 SDK - Demo Kit helpful.
    Regards Frank

  • How to extract data from an arbitrary xml file and export in a nice csv file?

    Hallo,
    I'm facing big problems in the use of XML files. I have an
    application which generates XML files with clusters containing arrays
    and scalars like in the example pasted below. My task is to
    read it and export the data in a human-friendly CSV document.
    Since I don't know the actual content of the cluster, I need some kind
    of intelligent vi which goes through the XML file looking for arrays
    and other data structures in order to export them properly in the CSV
    format (columns with headers).
    Thank you
    <Cluster>
    <Name></Name>
    <NumElts>3</NumElts>
    <Array>
    <Name></Name>
    <Dimsize>6</Dimsize>
    <I32>
    <Name></Name>
    <Val>0</Val>
    </I32>
    <I32>
    <Name></Name>
    <Val>1</Val>
    </I32>
    <I32>
    <Name></Name>
    <Val>2</Val>
    </I32>
    <I32>
    <Name></Name>
    <Val>3</Val>
    </I32>
    <I32>
    <Name></Name>
    <Val>4</Val>
    </I32>
    <I32>
    <Name></Name>
    <Val>5</Val>
    </I32>
    </Array>
    <DBL>
    <Name></Name>
    <Val>3.14159265358979</Val>
    </DBL>
    <String>
    <Name></Name>
    <Val>ciao</Val>
    </String>
    </Cluster>
    Solved!
    Go to Solution.

    Thank you again,
    I'm forwarding my vi draft with many comments and an xml file sample.
    Data in cluster is stored according to the LabVIEW schema, infact it is generated by LabVIEW.
    What I'm trying to do is to access the element of the cluster and read their content using the Invoke node and Property node functions. Could you give it a look, there may be something wrong, I'm not able to access cluster children.
    Which funcions should I use? Could you give me an example? You may use the draft I enclosed...
    Then write these data in a csv file
    should be the easier part.
    BODY{font:x-small 'Verdana';margin-right:1.5em}
    .c{cursor:hand}
    .b{color:red;font-family:'Courier New';font-weight:bold;text-decoration:none}
    .e{margin-left:1em;text-indent:-1em;margin-right:1em}
    .k{margin-left:1em;text-indent:-1em;margin-right:1em}
    .t{color:#990000}
    .xt{color:#990099}
    .ns{color:red}
    .dt{color:green}
    .m{color:blue}
    .tx{font-weight:bold}
    .db{text-indent:0px;margin-left:1em;margin-top:0px;margin-bottom:0px;padding-left:.3em;border-left:1px solid #CCCCCC;font:small Courier}
    .di{font:small Courier}
    .d{color:blue}
    .pi{color:blue}
    .cb{text-indent:0px;margin-left:1em;margin-top:0px;margin-bottom:0px;padding-left:.3em;font:small Courier;color:#888888}
    .ci{font:small Courier;color:#888888}
    PRE{margin:0px;display:inline}
      <?xml
    version="1.0" encoding="iso-8859-1" ?>
     <Contents type="Data"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="XMLSection.xsd">
     <section name="beta"
    date="7/31/2009" time="3:43:03 PM" version="1.0">
     <Cluster>
      <Name />
      <NumElts>1</NumElts>
     <Array>
      <Name />
      <Dimsize>4</Dimsize>
     <DBL>
      <Name>number: 0 to 1</Name>
      <Val>0.93317638164326</Val>
      </DBL>
     <DBL>
      <Name>number: 0 to 1</Name>
      <Val>0.79233924020314</Val>
      </DBL>
     <DBL>
      <Name>number: 0 to 1</Name>
      <Val>0.39199947274518</Val>
      </DBL>
     <DBL>
      <Name>number: 0 to 1</Name>
      <Val>0.74817197429441</Val>
      </DBL>
      </Array>
      </Cluster>
      </section>
      </Contents>
    Attachments:
    read_array.vi ‏12 KB

  • Tidy xml: clean xml data source form and characters

    Hi,
    the xml data set that I'd like to display with spry includes many special characters such as < and >, which are also used by xml to separate the individual data elements.
    How can I replace those when the data are read, so that the data display correctly on my webpage. Currently any data set that has < or > characters is truncated.
    I tried a replace function, but that did not work
    function TidyXML(region, lookupFunc)
    return TidyXML("{abstract}").replace(/\>/, "&gt;");
    return TidyXML("{abstract}").replace(/\</, "&lt;");
    Thanks for any help,
    thorsten

    Hi Phil
    thanks for your fast reply.
    The xml dataset is generated by Endnote, which is a database program 
    to organize scientific citations and which has unfortunately only very 
    limited xml functionality.
    Thanks for the CDATA tipp, I will try that.
    t.
    Am 12.05.2009 um 21:34 schrieb Phil_W:
    Hi,
    >
    You'll need to tidy up the XML file directly as I'd imagine browsers 
    such as Firefox and IE will not correctly read the XML dataset let 
    alone Spry Data XML.
    >
    Do you have the ability to edit the XML dataset / is it generated 
    from a database in the background?
    >
    Is the XML dataset online for us to see? Normal routine is to encode 
    the < > and other special characters when the XML file is generated 
    or to wrap the data within the XML tags in CDATA tags as below
    >
    <T_MESSAGE><![CDATA[Hi, <br />    <br />   Just a brief update on 
    Forum version 2 - currently in progress. <br />    <br />   It can 
    be seen here <br />    <br />  <a href="http://www.thehmc.co.uk/
    forum2" target="_blank" title="http://www.thehmc.co.uk/forum2" 
    >Link1</a> <br />    <br />   It has some new features. <br />    
    <br />   1. The default page allows you to navigate to all topics in 
    the forum. New posts / replies since your last visit are 
    highlighted. You can sort the posts / topics by clicking on the 
    headers, you can search topic subjects. It will automatically check 
    for new posts and update it's view every 30 seconds. No need to 
    click on refresh etc. <br />    <br />   2. The topic pages show if 
    the person is online via a little green / red dot next to their 
    name. Layout changed to take full advantage of the website width. It 
    enables easier (and faster) navigation between the replies to a 
    post. <br />    <br />   3. The new forum will natively recognise 
    youtube, google maps (new), images and links inserted into posts. No 
    need to put tags round them. <br />    <br />   For some good 
    examples of where the features are nifty see <br />    <br />   
    Google Maps <br />    <br />  <a href="http://www.thehmc.co.uk/forum2/topic.asp?ID=293&title=Chiltern%20Classic%20is
    " target="_blank" title="http://www.thehmc.co.uk/forum2/topic.asp?ID=293&title=Chiltern%20Classic%20is
    " >Link2</a>  <br />    <br />   Topic Navigation <br />    <br />  
    <a href="http://www.thehmc.co.uk/forum2/topic.asp?ID=296&title=Weekend%204/5%20April
    " target="_blank" title="http://www.thehmc.co.uk/forum2/topic.asp?ID=296&title=Weekend%204/5%20April
    " >Link3</a> <br />    <br />   Let me know your thoughts on the new 
    look / features. <br />    <br />   Cheers <br />    <br />   
    Phil]]></T_MESSAGE>
    >
    Cheers
    >
    Phil
    >

  • XML data connection and XML submit button

    Hi Guys,
    another one that 'should' be straight forward.  I have an xml data connection that is used ot pull in event details (name, location, cost etc) that allows you to select various events, then fill in your contact details and then submit the form.  I need to have the form submit with the data that the user entered into the form as well as their selection of event.  When I set up the email submit button, the XML file attached to the email is actually the XML file that the form pulls the event details from not the data that the user has entered into the form.  Again I reckon this one should be straight forwad to fix, seems like a fairly normal way to operate, but I just cant find a solution.  please help

    >We are letting user know that u have thrown email to someone and we also let user know how is going to contact them.
    This is good, but you cannot stop the email from opening and the user
    needing to send it. This is, as I said, fundamental to security and
    cannot be switched off.
    >I tried using HTTP request but it still opening email option to send mail.
    This suggests you did not do it right, because when you use http, no
    mail is sent locally. Can you describe what you do?
    >
    >I want to do the way we do in the html page using javascript to set action event at click event and send data to specified email id.
    HTML cannot silently send an email either.
    Perhaps you could outline what sort of HTML JavaScript you use, so
    that we can suggest an equivalent if there is one.
    Aandi Inston

  • Loading new xml data into a already xml populated image display

    Hi everybody,
    I have a question about loading new xml data into a already xml populated image gallery.
    So I have my gallery set up so it calls some xml when it first loads. What I would now like to do is load different sets of images via a different xml sheet via the click of a button.
    So for example the loaded gallery already has all thumbs loaded and user can click on them to view the full size image. So next instead of the user having to close this gallery to allow a new gallery to open with a different set of pictures I would just like to have a button. This button will unload the existing thumbs from the gallery and load in new ones from a different xml file.
    If anybody can help me with this it would be great as I am still on a steep learning curve with AS3.
    Here is my AS3
    var xmlPath:String = "pictures.xml";
    var xml:XML;
    var loader = new URLLoader();
    loader.load(new URLRequest(xmlPath));
    loader.addEventListener(Event.COMPLETE, xmlLoaded);
    function xmlLoaded(e:Event):void
         if ((e.target as URLLoader) != null )
              xml = new XML(loader.data);
              createMenu();
    var numberOfItems:uint = 0;
    var menuItems:Array = new Array();
    function createMenu():void
              numberOfItems = xml.items.item.length();
         var count:uint = 0;
              for each (var item:XML in xml.items.item)
              var imageLoader=new Loader();
              var menuItem:MenuItem = new MenuItem();
              menuItem.addChild(imageLoader);
              imageLoader.load(new URLRequest(item.url));
              menuItem.linkTo = item.linkTo;
              menuItem.mouseChildren = false;
              menuItem.addEventListener(MouseEvent.CLICK, itemClicked);
              menuItems.push(menuItem);
              addChild(menuItem);
              count++;
    function ***():void
         //menuItems.sortOn("zpos3D", Array.NUMERIC | Array.DESCENDING);
         for (var i:uint = 0; i < menuItems.length; i++)
              setChildIndex(menuItems[i], i);

    Thanks so much for the reply Andrei1
    I think maybe my lack of knowledge when it comes to AS3 is not helping me at the moment because I thought I understood the code you supplied but there is something not going quite right.
    So I messed around with the code and added the new_loaded_thumbs_btn to load in the "new_pictures.xml" but I am def doing something wrong.
    import flash.ui.ContextMenuItem;
    var xmlPath:String = "pictures.xml";
    var xml:XML;
    var numberOfItems:uint = 0;
    var menuItems:Array = new Array();
    var loader = new URLLoader();
    loader.addEventListener(Event.COMPLETE, xmlLoaded);
    loadXML("pictures.xml");
    new_loaded_thumbs_btn.addEventListener(MouseEvent.CLICK, loadXML);
    function loadXML(path:String):void {
         loader.load(new URLRequest("new_pictures.xml"));
    function loadXML(path:String):void {
         loader.load(new URLRequest(path));
    function xmlLoaded(e:Event):void
         xml = new XML(loader.data);
         createMenu();
    function createMenu():void
         clearMenu();
         numberOfItems = xml.items.item.length();
         var count:uint = 0;
         var imageLoader;
         var menuItem:MenuItem;
         for each (var item:XML in xml.items.item)
              imageLoader = Loader();
              menuItem = new MenuItem();
              menuItem.addChild(imageLoader);
              imageLoader.load(new URLRequest(item.url));
              menuItem.linkTo = item.linkTo;
              menuItem.mouseChildren = false;
              menuItem.addEventListener(MouseEvent.CLICK, itemClicked);
              menuItems.push(menuItem);
              addChild(menuItem);
              count++;
         sortChildren();
    // removes previously placed objects
    function clearMenu():void {
         var menuItem:MenuItem;
         while (menuItems.length > 0) {
              menuItem = menuItems[0];
              removeChildAt(getChildIndex(menuItem));
              menuItem.shift();
    function sortChildren():void
         //menuItems.sortOn("zpos3D", Array.NUMERIC | Array.DESCENDING);
         for (var i:uint = 0; i < menuItems.length; i++)
              setChildIndex(menuItems[i], i);
    When the image display 1st loads it displays the new_pictures.xml thumbs which I thought would load through my new button when clicked.
    And there was me thinking I was getting the hang of AS3.
    Could you please point me in the right direction in what I am doing wrong,
    Thanks for your time and effort in advance

  • Best way to data transfer between Database & XML & Display to end user

    Hi,
    What is the best mothod to insert the data into tables from XML and viceversa. Also I need to display the data to the end user, with the provision to edit the data.
    Thanks in advance

    If you want to edit and store the data completely in XML then you could do the following:
    1) Register the XML schema and specify a default table.
    2) Connect to the XDB repository and store your documents using FTP or WebDAV. Make sure they reference the registered schema in the instance header. This should load the underlying XMLTYPE table you specified as the default table.
    3) Connect to the repository with a WebDAV-aware XML editor.
    And if you want to take this a little further, then you could also do the following:
    4) Create a relational view on top of your XML table using code similar to below.
    CREATE OR REPLACE VIEW "ACT_LIST" ("NAME", "CITE", "SORT", "JURISDICTION", "LOCATION") AS
    SELECT
    ExtractValue(OBJECT_VALUE, '/act/act_version/name[1]') Name
    , ExtractValue(OBJECT_VALUE, '/act/act_version/cite[1]') Cite
    , ExtractValue(OBJECT_VALUE, '/act/act_version/name[1]/@sort') Sort
    , ExtractValue(OBJECT_VALUE, '/act/@juris') Jurisdiction
    , b.ANY_PATH Location
    FROM
    ACTS a
    , RESOURCE_VIEW b
    WHERE
    Ref(a) = ExtractValue(b.RES, '/Resource/XMLRef')
    5) Put that into an application (e.g. APEX) as a report.
    6) Link from the report to the XML editor and pass the location of the document in the repository. Or you can use an embedded WYSIWYG XML editor so that they edit the document inside the application and the whole thing is fairly seamless for the user.
    Hope this helps.

  • Security and/or filtering error in data form creation

    Hi,
    I am getting this error when I am trying to preview my data form.
    This is the first time I am creating an application and data form in Hyperion.
    The data form is multicurrency and plan type is Plan1.
    Row:
    Account members: Descendants(Account)
    Column:
    Year:Descendants(FY10)
    Period:Descendants(YearTotal)
    Page Dimension(s)
    Entity:Descendants(Entity)
    Scenario:Current
    Version:BU Version_1
    POV:
    Currency:USD
    Disabled all options in "Other options" and Not selected any business rukes.
    When selecting preview data form I am getting below error:
    Security and/or filtering has resulted in a required dimension not being represented on this data form
    I have not selected any security/filter settings as of now. Please suggest whats causing this.
    Thanks,

    Hi Jake,
    I did what you suggested,but I am still getting same error.
    Here I would like to point out that. I have selected my application to support multicurrency, but 'HSP_RATES' does not come in Dimension selection drop down. I can see 'HSP_RATES' in Performance settings tab, but I cant see it in Dimensions tab or Evaluation order tab.
    Is this causing problem? Should I add it manually?
    Thanks,
    Rajni.

Maybe you are looking for