Bug in firefox using cdata

I seem to have a bug when attaching an xml file with cdata
tags in it, works fine in IE but not in any other browser, all i
get is undefined, yet there is a tutorial on the cs3 dvd showing
that you can use xml with cdata in it.
any ideas?

Hey Daz,
Is your XML public?
First suspicions are that there are special characters that
are not encoded in your CDATA...
Thanks,
Don

Similar Messages

  • NavigateToURL bug in FireFox?

    Hi all,
    I'm expreiencing a strange bug with FireFox... I have the
    following example application:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Script>
    <![CDATA[
    import flash.net.navigateToURL;
    private function onClick():void {
    navigateToURL(new URLRequest("abc.html"));
    ]]>
    </mx:Script>
    <mx:Button label="test" click="onClick()"/>
    </mx:Application>
    So, basically, when I click the "test" button, the browser
    should go to "abc.html".
    Now, if I run the application locally, it works perfectly as
    expected in both IE and FF. But, if I run the application off my
    webserver (Apache2), then IE still works perfectly, but FF doesn't.
    The behaviour I get in FF is as follows: when I click on the
    button, roughly half of the time it will work as expected (ie opens
    "abc.html" in a new tab), and the other half of the time FF
    displays a "FireFox prevented this site from opening a popup
    window" message.
    Now the fact that this only occurs when the application is
    served remotely is obviously due to FF's security model. But the
    weird part (bug?) is that the "blocking" occurs randomly. If I just
    click the "test" button a dozen times (slow or fast) the result
    will be around half a dozen new windows, with the other half a
    dozen blocked :(
    So, has anyone experienced this problem before? Can you spot
    anything wrong with the code in my example above? I've tried the
    example on another PC, and it has exactly the same problem - both
    PC's are running FireFox 1.5.
    Any thoughts would be really appreciated.
    Paul.

    Hi leotemp, thanks for you reply. I've had a play with the
    IFrame approach in the past, and it introduces some other problems
    for the type of app I'm writing (can't really say what that app is
    yet).
    I've done some more playing with the problem, and how's this
    for wierd mis-behaviour? ... I wrote an openNewWindow() JavaScript
    function and placed it into the HTML wrapper that loads the swf
    file. Then, if I call that function using navigateToURL, the same
    problem occurs. But if I call that function using
    ExternalInterface.call("openNewWindow","abc.html") then it *almost*
    works... you see, the ExternalInterface version works well if the
    call is made from a click handler (like the example above), but
    unfortunately, I need it to work in the result handler of a SOAP
    service call... and there, it is blocked again! Though this time
    the blocking is a lot more consistant... ie it blocks about 9 out
    of 10 tries :(
    I'm assuming that the problem is due to FF trying to
    differentiate between popups that are the direct result of user
    clicks, versus popups that result from automatic scripts - blocking
    the latter, but not the former.
    Any other ideas?!
    Paul.

  • Error when using CDATA in orm.xml

    Hi everyone!
    I am writing an application using TopLink Essentials. Something really weird is happening when I use CDATA sections in my orm.xml file to declare named queries.
    I declared a named query like this in my orm.xml file:
    &lt;/named-query&gt;
    &lt;named-query name="findLatestExchangeRate"&gt;
    SELECT a
    FROM ExchangeRate a
    WHERE
    a.code = :currency AND
    a.date = (SELECT MAX(b.date)
    FROM ExchangeRate b
    WHERE b.code = :currency AND b.date &amp;lt;= :before)
    &lt;/query&gt;
    &lt;/named-query&gt;
    This worked like a charm.
    Nonetheless, when I decided to use CDATA sections to declare the query and ovoid XML entities, somewhat like this:
    &lt;named-query name="findLatestExchangeRate"&gt;
    &lt;query&gt;
    &lt;![CDATA[
    SELECT a
    FROM ExchangeRate a
    WHERE
    a.code = :currency AND
    a.date = (SELECT MAX(b.date)
    FROM ExchangeRate b
    WHERE b.code = :currency AND b.date &lt;= :before)
    ]]&gt;
    &lt;/query&gt;
    &lt;/named-query&gt;
    Then the weirdest thing happen. I am not even able to create the EntityManagerFactory. I get an error that says:
    Exception in thread "main" Local Exception Stack:
    Exception [TOPLINK-8028] (Oracle TopLink Essentials - 2.0.1 (Build SNAPSHOT (02/01/2008))): oracle.toplink.essentials.exceptions.EJBQLException
    Exception Description: Syntax error parsing the query [findLatestExchangeRate:
              ], line 1, column 41: unexpected end of query.
    Internal Exception: line 1:41: unexpected token: null
    Does anyone has any idea of what could be going wrong here?
    Thanks in advance for any help you can give me.
    Edited by: [email protected] on Oct 13, 2008 1:10 PM

    I tried it in EclipseLink 1.0.1 and had no problems. I would recommend filing a bug against TopLink Essentials in case there is a known work-around.
    If you are using TopLink Essentials as a supported Oracle TopLink user please consider upgrading to Oracle TopLink 11g (includes EclipseLink) or if that is not possible please open a service request with Oracle support.
    Doug

  • Bug report: Firefox5 uses the wrong unicode fonts (tested on Hebrew fonts)

    Even though the css defines the fonts as
    font-family: Arial,Helvetica,sans-serif;
    Firefox5 which I have just upgraded to does not use the Hebrew Ariel font but goes for the first Hebrew font it finds installed on my system. In my case it's a font family called TheSmokerSerif, but since this is not a system font I assume this issue would be encountered by other users too.
    I recommend updating FF5 with a bugfix soon as this is bound to affect many unicode sites and would render Firefox5 unreadable (literally)

    I am also experiencing this annoying issue in FF5. On some websites (usbank.com, tweetdeck.com, for example), the primary Helvetica/Arial fonts are being replaced with the first Helvetica font it finds in my Windows fonts folder. As a result, ALL text on the screen was using some ultra wide + bold Helvetica font and near impossible to read.
    It took me a while to track it down, but after finding and manually DELETING the wrong Helvetica font being used from the Windows fonts folder, I restarted Firefox, and then the main font was replaced with some Ultra Light variant of Helvetica (the next font in line). I then deleted THAT font, restarted, and now websites are displaying correctly again.
    This is pretty annoying, as somehow the two Helvetica fonts I deleted are being automatically reinstalled on my system after a day or two. And when this happens, Firefox starts using the wrong Helvetica fonts again.
    Unfortunately I JUST fixed it again otherwise I would provide a picture or two. But I searched for "Firefox using wrong helvetica font" in Google and found this support thread.
    I hope this bug gets resolved very soon!
    (Using Windows 7 Professional on Core i5 notebook w/4gb ram)

  • FireFox used to highlight visited links...then it suddenly stopped. Is there a way to turn that feature back on?

    Firefox used to show previously visited links in a different color. That was great for browsing Craigslist ads. Now suddenly it won't highlight visited links anymore. Don't know what made it change. Is there a "preference" somewhere that will allow me to turn that feature back on?

    Hello, I am having the same problem (with Firefox 4.0.1) but with a twist.
    If i click on several links (say, from a seller on eBay), the clicked links ''will'' be highlighted and they ''will'' also be entered and remembered in the Firefox HISTORY window.
    However, if i open another ''identical'' page in a NEW tab/window, those same links will NO LONGER BE HIGHLIGHTED (i.e., one page shows the link highlighted whereas the other page does not)!!! Thus, it appears as if NEW tabs/windows are *not* checking the HISTORY and highlighting previously visited links.
    Thus, there is no way for any NEW tab/window to highlight the link since it apparently does not properly check the history. This gives the impression that the highlighting "goes away" after a certain time has elapsed, whereas, it is only due to opening a NEW tab/window and expecting to see the previous link highlighted.
    Note: I have Firefox set to "remember history" and i am not in the "private browsing" mode.
    Note: There is also some inconsistency here as ''some'' prior links ''will'' remain highlighted days after i initially clicked on the link (as they all should) whereas others will not (as described above). There does not appear to be any way to tell which links will be remembered and which ones will not.
    Thus, there is some pernicious code bug in this version of Firefox which needs to be ferreted out.

  • Seekbar bug with firefox browser on Mac

    hi.
    i found a bug in seekbar using Mac with mozilla firefox (but not with safari who works fine and also windows pc with IE and mozilla work fine).
    i tried to visit www.opensourcemediaframework.com and to drag the seekbar and with the mouse clicked i exit from the flash stage where the video is playing.
    i release the mouse but the seekbar dont't receive the mouse released event (and the stop drag) and if i try to move the mouse (not clicked) into the video area the seekbar continue to follow the mouse.
    thanks a lot.

    hi.
    only with mozilla on Mac, i have this:
    page: http://www.opensourcemediaframework.com/
    1. click whith button left of the mouse the thumb (the arrow) of the seekbar (button left clicked)
    2. the player go to pause and i start to drag (button left clicked)
    3. i move right the mouse (the thumb follow the mouse and video is paused - correct) (button left clicked)
    4. i move down the mouse outside the stage of the video (button left clicked)
    5. i release the mouse (unclick the button left): the video don't start because dont't receive the stop drag event
    6. i move the mouse on the stage area of the video and the thumb of seekbar follow the mouse (continue the drag but the button left is not clicked)
    7. so, i have to click on the thumb to stop the drag and the video go to play.
    i don't receive any error message, it's only a not so correct behavior of seekbar drag.
    With Windows IE and mozilla works fine, also with Mac Safari.
    The problem is only (i think) for Mac platform with mozilla.
    Thanks.
    flavio

  • Firefox use of resources on Windows; Linux and Mac

    Firefox uses way too much resources on windows. This includes memory and cpu. I have done extensive research online. This is not an issue of extensions or profile. It seems to be a matter of javascript. If you turn it off then things get better but too many sites rely on javascript.
    What is needed is a fix not work arounds. Firefox needs to put a leash on javascript resource usage. It should run but only in the tab that is currently open and with easily adjustable limits. I don't want my machine to be handed over to some web site to run whatever they want on it. However I do want to be able to access legitimate features that require javascript. There are many sites who do not seem to respect the difference. Therefore it fall on the browser to decide it for them. Maybe we need a sort of built in noscript.

    Unless you have a 100% reproducible test case that meets the following criteria, engineers can't fix it (Engineers need to know where to look before they can fix a problem)
    * Latest version of Firefox (the latest nightly build is best)
    * Most updated OS
    * Updated graphics drivers
    * A system free of malware
    * Update plugins (your plugins are horrible out of date FYI)
    * A fresh profile
    * A testcase and steps to reproduce so that anyone at any time can make the exact same issue happen on any similar machine
    All of these things can negatively affect resource usage, and unless you have these, there is no actionable bug to be fixed. Once you have all these, file a bug with clear Steps to reproduce.
    If you are developer you know that just someone coming and saying "Your program sucks and uses all the things!" isn't a useful bug report (unless your program is literally 200 lines of code). For something as large and complex as Firefox, we need to know where to look in order to fix something. Is it a bug that happens when a specific Javascript function is called? Then that's in one area of the code. Is it a bug when an image of X size is in a webpage? That's in another area of the code. All of this information is vital and if you really are as experienced of a software developer as you say you are you would understand that, and if you really do want to help you should have no problem providing this information.

  • When I download firefox, using recommended setting, or my own, all the sub files/folders like plugins, modules, updater end up on the desktop as well as in the file location. And when I try to put them into the file location, they don't. And when I delete

    When I download firefox, using recommended setting, or my own, all the sub files/folders like plugins, modules, updater end up on the desktop as well as in the file location. And when I try to put them into the file location, they don't. And when I delete them, FireFox won't open. I tried deleting FireFox and reinstalling it multiple times, and a message pops up sometimes that says FireFox may not have installed correctly, so I follow the steps, but all the extra icons on my desktop don't go away. This has happened every time I have downloaded FireFox. The browser itself works, but I need to know how to get rid of these icons, but still be able to use FireFox. This is on a new computer, with Windows 7.
    == I downloaded FireFox. ==
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6

    Managed to solve this myself. Just went to properties > hidden.

  • I want to ask something about firefox. why firefox use very much memory? can you develop to reduce memory comsume? this problem is very distrub in my PC with low memory.

    I want to ask something about firefox.
    why firefox use very much memory?
    can you develop to reduce memory comsume?
    this problem is very distrub in my PC with low memory.
    == This happened ==
    Every time Firefox opened

    How much memory is Firefox using right now?
    # Press '''CTRL+SHIFT+ESC''' to load the Task Manager window
    # Click the Processes tab at the top. (Click once near the top of the window if you don't see tab
    # Find firefox.exe, and see how many kilobytes of memory it's using.
    Showing around 80MB when Firefox first starts is normal. Right now, I have 75 tabs open and it's using 500MB - this varies a lot depending on what you have in the tabs.
    Other than high memory usage, what other problems are you experiencing? (Examples include slowness, high CPU usage, and failure to load certain sites)
    Many of these issues, including high memory usage, can be caused by misbehaving add-ons. To see if this is the case, try the steps at [[Troubleshooting extensions and themes]]. Outdated plugins are another cause of this issue - you can check for this at http://www.mozilla.com/plugincheck

  • When I put a website Icon on my desktop, how do I make firefox use the Icon native to that website instead of the default Firefox Icon?

    When I drag and drop a website onto my desktop, how can I make Firefox use the icon native to that website instead of the default firefox icon?
    I have even gone painstakingly (SEVERAL TIMES) to the sites with IE, dragged the site onto my desktop in order to obtain the site native icons for my desktop (and deleted the ones with the Firefox icon) .... but they all soon revert to the default Firefox icon.
    E X T R E M E L Y F R U S T R A T I N G !!!!!!!!!

    I don't want icons from the Firefox library.
    I want the icon that comes from the website I'm making the shortcut for.
    (If you go to a site in IE you will see the site generated icon at the left end of the URL in the address field.)
    If I make IE my default browser I am able to get (and keep) those icons as shortcuts on my desktop without a problem.
    I want to keep Firefox as my default browser.
    So I want to know how to make Firefox accept the icon that comes from the website like IE does.
    I have even gone to the trouble to use IE to create the shortcuts with the site specific icons.....but after I do that...... FIREFOX CONVERTS THEM TO THE FIREFOX DEFAULT ICON as soon as I re-boot or refresh my desktop.
    I generally prefer Firefox as a browser....but If there's no fix.....I'm going to dump Firefox.

  • Firefox used to work on my windows 8 machine, now it does not, even starting in safe mode and after un/reinstalling. message "firefox has stopped working".

    Firefox used to work fine, then a few days ago it just stopped. When I try to start it, it comes up with a message that "firefox has stopped working". That message comes up over the box that asks if I want to start in safe mode or reset firefox. when i try to close or cancel that message so I can try starting in safe mode, both sets of messages go away.
    if I try to start in safe mode using the shift key, the same thing occurs. The same thing occurred after I uninstalled and reinstalled.

    Do a clean reinstall and delete the Firefox program before (re)installing a fresh copy of the current Firefox release.
    *Download the full Firefox installer and save the file to the desktop<br>http://www.mozilla.org/en-US/firefox/all.html
    If possible uninstall your current Firefox version to cleanup the Windows registry and settings in security software.
    *Do NOT remove "personal data" when you uninstall your current Firefox version, because this will remove all profile folders and you lose personal data like bookmarks and passwords including data in profiles created by other Firefox versions.
    Remove the Firefox program before installing that newly downloaded copy of the Firefox installer.
    *(32 bit Windows) "C:\Program Files\Mozilla Firefox\"
    *(64 bit Windows) "C:\Program Files (x86)\Mozilla Firefox\"
    *It is important to delete the Firefox program to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other personal data are stored in the Firefox profile folder and won't be affected by an uninstall and (re)install, but make sure that "remove personal data" is NOT selected when you uninstall Firefox.
    If you keep having problems then also create a new profile.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • Make firefox use a directory other than ~/.mozilla

    I want to use several firefox versions and 'flavors' (plugin sets) simultaneously. Is there an environment variable or a command line option that tells firefox which directory to use for its data? If there's not any, where can I find it in the source?

    The profiles are what firefox uses for its data. There are command line options, also methods of creating profiles that do not display in the profile manager, as mentioned in the last article I linked to.
    *See also: https://developer.mozilla.org/en/Command_Line_Options
    Certainly I can work with multiple instances of firefox on a Windows machine.

  • [svn:bz-trunk] 17010: Bug: Watson #2652870 - use a property file to drive the custom configuration tokens as opposed to setting it in the command line

    Revision: 17010
    Revision: 17010
    Author:   [email protected]
    Date:     2010-07-22 02:52:41 -0700 (Thu, 22 Jul 2010)
    Log Message:
    Bug: Watson #2652870 - use a property file to drive the custom configuration tokens as opposed to setting it in the command line
    QA: Yes
    Doc: Yes - in custom tokens section, talk about the new token.file option
    Checkintests: Pass
    Details: Changed TokenReplacer to look for a token.file JVM option. If it's specified (eg. -Dtoken.file=/User/matamel/Desktop/token.properties), then TokenReplacer looks for a properties file where token name and values are specified. This allows someone to specify a file for custom tokens. Custom tokens can still be specified as straight JVM option and in case where a token is defined both as a JVM option and in a token properties file, JVM option takes precedence.
    Modified Paths:
        blazeds/trunk/modules/common/src/flex/messaging/config/TokenReplacer.java

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • Using CDATA tags in XML program and parsing to J2ME

    Hi,
    Can anybody tell me how to use CDATA tag in a xml file and parse it to my J2ME code. is there any sample code available for this? I want to use this CDATA tag for sending Binary data. plzzzzzzz Help....!

    I think what you want is to parse a CDATA text from a xml file and let this text to execute.
    Very innovative idea!
    If I am right, I think you might mix some concept.
    Java code need to be changed to ByteCode before pased to the JVM. Furthermore, Java ME code must be verified before downloading to your machine.
    I figure that your attempt is impossible.

  • What is the max memory Firefox uses to display pages and how to increase it ?

    Hello everyone,
    I am using the latest build of Firefox x86 on Windows 8.1 and I want to know what is the maximum memory that firefox uses to display web pages ie. What is the maximum size that a page can be ??
    Also how do I increase that limit ?? is there anything in the about:config of Firefox to that ?

    I haven't tested this, or researched in the source code, but if you do not need the file to be parsed as HTML in the browser, and instead you have Firefox treat it as a download, I imagine that would work around the limitation you've encountered.

Maybe you are looking for

  • Base class vs derived class

    We have entity classes that we use to access our database. We have subclasses derived from these entity classes that apply business rules. For instance, the base class AddressEntity has a setAddress2(string) that AddressEntity.select() uses to set a

  • I keep getting an error message re: System Extensions

    Almost every time that I run Software Update or when Norton runs its automatically scheduled scan, I keep getting an error message saying, "System extension cannot be used. The system extension "/System/Library/Extensions/IomegaSAM.kext" was installe

  • Applets foregrouded with html body background color

    In our application we are using applets while loading applets ,applets controls are foregrounded with html background color thats why we are unable see applets properly. please give us suugesion, how can we solve this problem. thanks in advance..

  • No Icon to drag and drop

    I have a PC with Windows 7.  After installing the ADE the icon to drag and drop to my Ereader did not appear in the window pane.  I re-installed the download but the Icon still does not appear.  I had to copy and paste purchased Ebooks to my Nook

  • Warning SUID file message in disk util ???

    Hi all Just got my Imac today Before I did anything I did a repair perm after doing the updates to the software and I am geting the message Warning SUID file "System/Library/Coreservices/Remotemanagement/ARDAgentapp/Contents/MacOS/ARDAge nt "has been