Help! I think I've found a very obvious bug?

Hi all

I had a:

XmlParse (myitem)

I can't access any node using the following notation. The problem
seems to be the "-" in the name of the node. The error says that it cannot find todo, todo-list.

#myxmldoc.todo - list.complete.XmlText #.

If I try with it written as todolist, it works. So I think that the bug is that you can't access xml notes with a "-" in the name?

Problem is that I can't change the source xml. Any ideas?

Thank you very much

Brett

It is not a bug: it's an incorrect syntax on your part.

There are explicit rules on the variable naming in the CF when using
dot notation. We get around this by using array notation.



foo


. complete.xmlText # #myxmldoc ['todo list']

--
Adam

Tags: ColdFusion

Similar Questions

  • broadcasting live does not appear, and I think that its connected to the "firefox" bug, please help, new mac user!

    so far, your main problem is flash player, you must include the updates Flash Player with all the updates of firefox, oh and updated player get. It's your bug I 'think '. If it is not part of the territory firefox let me know. However, will not be broadcast live, I asked them, they had little info. including, you update your browser recently - with no answer to this question, so here I am. I don't know if the flashplayer or everything that has nothing to do with live stream or not, BUT quicktime play or help live streaming right? have no idea and the new mac user. GL

    Adobe Systems, Inc. (owner of Adobe Flash) is not related to Mozilla Org in any way. Mozilla has nothing to do with updates to the software they do not create or owned by another company.

    You have a very old version of Flash installed - Shockwave Flash 9.0 r47 - you must upgrade to the latest version available for Mac OSX 10.4.

    http://www.Apple.com/downloads/macosx/internet_utilities/adobeflashplayer.html

  • NEED HELP FOR MY ACER E1-570 GOING VERY SLOW

    CAN YOU PLEASE HELP ME I HAVE AN ACER ASPIRE LAPTOP E1-570 SOUND TURNS VERY SLOWLY I HAVE A LOT OF FILES THAT I DON, T WANT TO LOSE I THOUGHT AGAIN THE SETTINGS BACK TO THE FACTORY SETTING WOULD BE HELPING TO SPEED UP MY LAPTOP AND I'LL LOSE EVERYTHING I PUT ON IT FOR EXAMPLE FILES

    Thank you

    In my opinion, your first course of action should be to protect your files. Use what you have - maybe the stick USB memory or network to NAS etc. If your data is valuable to you, take as long as it takes to get saved.

    I've never needed to use restore but I think that you will lose your data if you use it. I could be wrong, but you should not assume that it will be secure. At this point, I would use only there as a last resort.

    Try:

    Check your HARD drive. What is full or almost full? If so, this could well be the cause of your problem and you will need to reclaim space.

    Restart, and then check your event logs - problems can appear there.

    Update and run your anti-virus program and check the results. Ensure, as far as you can, you are virus-free.

    Check your device manager for devices with problems which may affect the operation.

  • After the last update of Firefox, icons for favorites have disappeared. I have a long list of bookmarks and found it very useful identification icons. Where they go and how can I get back them?

    I don't know how I could make this any clearer... When the icons used to be, now is either nothing or a square shaped dotted lines.

    Hi lskinner,

    You should take a look at this article which discusses some of the problems with the latest version of Firefox.

    There is some information here that should help you solve your problem. Fortunately, this is a very easy solution.

    Hope this helps!

  • help please, acer aspire R7 - 572 to very short range of wifi.

    I have my 2 month old acer aspire R7 - 572, my wifi speed is ok, but you must close to the router. Wifi problem is very short range, any suggustion to help me.

    You can search for "Aspire R7-572 Wifi card Issues" of this forum and see if this helps. There are some good suggestions.

  • Help! Explorer.exe not found entry point

    I restored my computer to an earlier state to undo changes I had made, and after the computer has restarted and I get my password I get a message box with the header "explorer.exe Entry Point not found". Theres a lot of coding blurred any in the message and down I click ok. The message disappears and I end up with a black screen and the arrow of the mouse. I need help BADLY! What should I do?

    Standard hardware troubleshooting
     
     
    First to test we can the material. Material defects can appear as many software defects, that's why we need to test the material first...
     

    Follow these steps in order. Defects of memory can cause disk corruption, disk failures can cause corruption of the disk. Damaged disc causes corrupted files (which SFC may be able to fix). If you get a stop error and after return. Do not run chkdsk with faulty memory.

     
    Diagnosis of memory
    If you have not run a diagnosis of memory, please do. Click on Start - Control Panel - choose Classic view in the left pane - choose Administrative Tools - then memory diagnostic tool.
     

    S.M.A.R.T
    Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
     
    Disk in Windows drives monitor for impending failure. The function is called S.M.A.R.T. It detects an imminent failure, 30% of the time. In a type elevated command prompt (it's a single line)
     
    WMIC PATH MSStorageDriver_FailurePredictStatus /namespace:\\root\wmi get active, predictfailure, reason List
     
    If it is on will be true, otherwise on enable in the BIOS of the computer.
     
    Predict the failure must be False if everything is ok.
     
    In Vista and later if SMART failure predicted Windows prompts the user to run the backup.
     
    Run chkdsk
    In computer all your drives right click and choose Properties, then the Tools tab, and then click check now. Check the TWO boxes and then start. Reset. This will take from one day to the next.

     
    SFC
    Check the alteration of the file by clicking on Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
     
    sfc/scannow
     
    Heat
    Heat can lead to problems of this kind, and sudden restarts without crashing. Make sure that your fans are not clogged with dust.
     
    For memory diagnostic results
    Click on Start - Control Panel (and select Classic view in the left pane), select Administrative Tools and then Event Viewer , and then look in the event (Local) - Applications and Services - Microsoft - Windows - MemoryDiagnostic-results Viewer entered.
     
    Look for EventID is 1201 or 1101 and Source is MemoryDiagnostic-results

     
    Double-click the entry for more details on this entry.

    For results of Chkdsk

    Click on Start - Control Panel (and select Classic view in the left pane) choose Administrative Tools and then Event Viewer , and then look at the Application and the System will connect (under Windows logs) for entries.
     
    Look for EventID is 7 and Source disk
    Look for EventID is 11 and the Source disk
    Look for EventID is 50 , and the Source is disk
    Look for EventID is 51 and Source disk
    Look for EventID is 52 and Source disk
    Look for EventID 55 and Source is NTFS
    Look for EventID is 130 and Source is NTFS

    Look for EventID is 134 and Source is NTFS
    Look for EventID is 137 and Source is NTFS
    Look for EventID 1001 and Source is Autochk
    Look for EventID 1001 and Source is Winlogon
    Look for EventID 1001 and Source is WinInit
    Look for EventID 1001 and Source is Chkdsk
    Look for EventID is 26212 and Source is Chkdsk
    Look for EventID 26213 and Source is Chkdsk
    Look for EventID 26214 and Source is Chkdsk
    Double-click the entry for more details on this entry.
     
    PS 7 and 55 are auto repair codes where windows repair disk errors silently on the fly. 52 is the SMART warning.

     
    For the results of the SFC
    Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
     
    findstr/c: "[SR] cannot" %windir%\logs\cbs\cbs.log|more "
     
    It will be able to see which files are corrupted.
     
    To see if there
     
    findstr/c: "[SR] repair" %windir%\logs\cbs\cbs.log|more

     
    There are often false positives for small text files that Windows uses like settings.ini and desktop.ini. Ignore these.
  • All of the help files in ACR don't look VERY bad

    The best way I can explain it is look like a GIF file of my RAW file. Mostly in tones more dark/shodows of files. I ran a few tests of "process of elimination" to try to isolate source of challenge.

    1 raw files are stll good, I run it on another computer, and the picture is large.

    2 Moniter and graphics card are beautiful, I open the RAW file in Picasa 3.0 and images appear fin on my P.C.

    I am currently trying to ruin Vista 64

    I use

    Photoshop 11.0.1

    Bridge 3.0.0.464

    Lightroom 2.5

    ACR 5.5

    Anyone out there ever run in this challenge?

    Help, please.

    I can't mine look bad like yours.  With the default settings, except recovery = 100 and contrast = 100, I still don't see the Posterization, nor the Greens you see, even though the colors are a bit strong with the contrast parameter.  If you have changed more things than recovery and perhaps contrast, maybe post these parameters.

    Is it allowed in ACR and then just bad in Photoshop or it's bad in the same way ACR?

    I wonder if you have a monitor profile only bad Photoshop is fully using and problems with?  If you are on a balanced system, you could temporarily set your monitor profile sRGB (or maybe AdobeRGB if on a Mac) and see if the changes of the Photoshop image.

    I have attached a yours/mine of screen showing what I see when I max on recovery and contrast in an attempt to replicate what yours looks like.  I used LR to better document conversion settings, but I also tried in ACR 5.5 and Photoshop and really don't see much of a difference if it... where the two should be using the ACR 5.5 engine.

  • Variable help, I think?

    I want to create a button that, when click on unloading according to currently loaded SWF are loaded (on level 1). I have a total of 8 possible of the SWF file that could be loaded. The button is a "Home" button that directs the user to the home screen. On this screen, the user can choose which of the 8 SWF to load. Anyone have any suggestions how to unload the SWF file with a variable or a function. I studied 'Action Script Bible 8' and become aware of variable and functions all the time. Any help is greatly appreciated.

    If you load into _level1, simply use the following to unload everything that is been loaded:

  • I need help for the creation of rules - the very high values!

    Hello

    I have some troubleshooting by creating rules to HFM 11.1.1.3. I declarate a table where an account data are stored. There should be a stored digital data in another account of HFM (e.g. "EB_MITTEL"). The stored data are much higher than the value in the logfile ('write2File") showed. If I divide this value by 100000000000000 so good value.

    Example: The value in the log file: 16492,8691588785 (',' = the decimal delimiter)
    Value in the data grid: 164.928.691.588.785 ("'. ' separator = of thousands")

    Part of the rule file:

    Void

    Dim lMittelWert, lMaxWert, lMinWert

    lMittelWert = 0
    lMaxWert = 0
    lMinWert = 0
    a = 0
    For x = 1 to 13

    If arListe (x) <>0 then
    lMittelWert = lMittelWert + arListe (x)
    a = a + 1
    End if

    If lMaxWert < arListe (x) then
    lMaxWert = arListe (x)
    End If

    If x = 1 then
    lMinWert = arListe (x)
    End if

    Next

    lMinWert = lMaxWert

    For x = 1 to 13

    If lMinWert > arListe (x) and arListe (x) <>0 then
    lMinWert = arListe (x)
    End If
    write2file arListe (x)
    Next
    If <>0 then
    lMittelWert = lMittelWert / a
    End if
    KSM Exp ' a #EB_MITTEL.» ' C1 # "& C1Item &"="& lMittelWert
    KSM Exp ' a #EB_MIN. C1 # "& C1Item &"="& lMinWert
    KSM Exp ' a #EB_MAX. C1 # "& C1Item &"="& lMaxWert
    End Sub



    I hope someone can help me, thanks in advance. (and I'm so sorry for my bad English)

    Jürgen

    VB script using string to convert numbers in some languages require special attention during the handling of numbers. (French, German and other who use commas as the decimal separator).

    Internally, HFM VB Scripts use periods (.) as the decimal separator. One solution is to force the use of decimals and force the script engine to use decimal numbers by declaring the local to be English in the United States with:

    b = setLocale("en-us")

  • With Firefox 4, I lost the bookmark all facilities page. Is there a way to do this? I found it very useful.

    With the previous levels of Firefox, I could to bookmark all tabs in a window in a single operation and then retrieve all, or just selected ones.
    I don't seem to have this in Firefox 4 and I find it a shame.

    Is it possible to do the same at level 4?

    You can right-click on a tab and select Bookmark all tabs... or use Ctrl-Shift-D.

  • WOW a card... appropriate graphic help is nowhere to be found!

    I'm launching WOW. said has been unable to find suitable graphincs card. How can I update?

    WOW system requirements. (Base and recommended)

    http://EzineArticles.com/?world-of-Warcraft-system-requirements---the-difference-between-playing-and-gaming&ID=998290

  • Need help for "think to replace your battery error.

    I recently installed windows 7 on my laptop and it was working fine until I noticed an x on the battery icon and he said I should change my battery. This is new since I have been using windows 7 during about 2 months now. I know there is a problem with my battery when I have my laptop connected to the adapter, it works fine but when I unplug it it will only last about 30 minutes and then turn off when used to last about 1 and a hald to two hours. How can I solve the problem.

    You can fix this by replacing the battery with a new one.

  • Help I think my treo is watered

    so I'm a treo 700 p for verizon and I'm trying to get it activated on the network (canada i) bells now pleasure is when I go to the phone info it shows that there is no esn number programmed in or phone number

    When I try and turn the phone radio on it crashes and restarts

    no idea on how to fix this problem

    If the phone is branded to verizon you do updates from verizon to the phone, if the phone is branded Bell, then that's a different story. What is brand your phone to.

    You can also go and check the version of the software and it will tell you what version of the software is currently on the device. If you tell me I can tell you what to use the version.

    Message relates to: Centro (Sprint)

  • Hello! I need help for menu vertical Adobe Muse! very urgent!

    Hello!

    How to make a menu like this one in adobe Muse: http://www.bryanschutmaat.com/

    -vertical menu with submenu vertical

    Thank you!!

    To do this, you can use an Accordion widget with a custum style.

    IF you are looking for Terry White, Muse, accordion, you will find video tutorials on YouTube.

  • Very strange bug with AIR and native process (Windows 7, EXE)

    Hi all!

    The situation is:

    I did an Application AIR, inside which a native process - running EXE file.

    I use Flash CC as IDE and tried to use the compilation as EXE with AIR 2.6 and 3.6 - results are the same.

    So I insert inside a control if the nativeprocess is supported or not and the native process is supported all the time.

    When I come to install the application and run it - the first attempt is good - everything works as a must: internal EXE is called by my Application with the necessary parameters so long I need.

    However if I close the application, then if it run not new - internal EXE is not starting at all, depends on number of attempts to restart the application.

    Then only is to uninstall, install back and then you'll be a session more successful EXE-internal requests, until the forthcoming resumption of the application.

    That's all.

    I tried to "google it" but without success. The bug is probably very rare.

    Help me please?

    Update: compiling with the Flash IDE of CC, he works all the time with no problems.

    Update-2: when I run EXE installator, there will be a notification "same version is installed, etc.', then choose 'Run Now' - he also works without any problem.

    Well, I found the solution and the answer by myself and it is here please:

    In the case with the same situation above, you will need to add a single line in your AS3 code

    nativeProcessStartupInfo.workingDirectory = File.applicationDirectory;

    And you will be so happy

Maybe you are looking for

  • How to change / add the URL of the custom search engine provider?

    are there controls own FF or external plugin that would allow me * full *, comfortable (through the panels of the dialog box), interactive control of the suppliers of the bar looking like, say, Opera browser (and has always been)? for some reason, th

  • the app is only available in the app store from another country?

    Hello I am a Belgian citizen working and living in London (UK) and I used to make photos with a Belgian/Dutch company (HEMA) albums, they have now totally new software that must be downloaded through the app store, but it is not available in the app

  • WPF GaugeDouble RangeFill

    Hello I'm trying GaugeDouble wpf control. There is a RangeFills of the winforms control property. Is there a similar property to the wpf GaugeDouble control? Kind regards / Axel

  • Brightness screen Flexview T42p

    I just received my T42p (2373-C96) of IBM refurbed the other day. (To experience FlexView!) The machine is a refurb, no doubt about that. Small scratch cover, used battery, DVD player which took the region reset several times already. But the screen

  • SCOM volume space alert

    I have installed SCOM 2012 R2 and one of the servers with the agent installed was a full Volume.  There was no alert generated and I'm looking for a way to alert when Volumes are full as logical disks.  On Server 2008 R2 Enterprise, in this case to a