Oracle 10.2.0.3 apparent XML bug

A very simply query using 'string-join' fails but works with 'concat'. The error we get is: ORA-19112: error raised during evaluation: java.lang.OutOfMemoryError
The basic query is (its attempting to join "_A" to about 5000 rows - see the query below) :
xquery for $x in ora:view("USER_A","TABLE_A")/ROW
where $x/ITEM_ID/text() ne 999
return
<a>{string-join(($x/ITEM_ID/text(),"A"),"_")}</a>
Is this a bug and will it be fixed when 10.2.0.4 comes out?
Thankyou for your assistance

I think you compare apples with oranges. string-join and concat behave very differently and are not interchangeable:
michaels>  CREATE TABLE table_a
AS SELECT '999' item_id FROM DUAL UNION ALL
SELECT '997' item_id FROM DUAL UNION ALL
SELECT '998' item_id FROM DUAL UNION ALL
SELECT '999' item_id FROM DUAL
Table created.
michaels>  select * from XMLTable('for $x in ora:view("TABLE_A")/ROW
                        where $x/ITEM_ID/text() ne "999"
                         return <i>{string-join(($x/ITEM_ID/text(),"A"),"_")}</i>')
COLUMN_VALUE   
<i>997_A</i>   
<i>998_A</i>   
2 rows selected.
michaels>  select * from XMLTable('for $x in ora:view("TABLE_A")/ROW
                        where $x/ITEM_ID/text() ne "999"
                         return <i>{concat(($x/ITEM_ID/text(),"A"),"_")}</i>')
Error at line 1
ORA-19279: XQuery dynamic type mismatch: expected singleton sequence - got multi-item sequence
michaels>  select * from XMLTable('for $x in ora:view("TABLE_A")/ROW
                        where $x/ITEM_ID/text() ne "999"
                         return <i>{concat($x/ITEM_ID/text(),"A","_")}</i>')
COLUMN_VALUE   
<i>997A_</i>   
<i>998A_</i>   
2 rows selected.

Similar Messages

  • Oracle reports problem in distribution with xml file

    Hi ,
    I am having problem while I am trying to distribute the file with specifing the destination details in the xml. If I am giving the destination details in url then it is working.
    Ex.
    This is Working
    http://bryxh91:8889/reports/rwservlet?report=devlopersuit/reports/test.jsp&userid=anju/[email protected]&desformat=pdf&destype=file&desname=devlopersuit/reports/output_file.pdf
    Not working :
    http://bryxh91:8889/reports/rwservlet?report=devlopersuit/reports/test.jsp&userid=anju/[email protected]&DISTRIBUTE=YES&destination=devlopersuit/reports/dis_test.xml
    xml file
    <destinations>
    <file id="test" name="output_file.pdf" format="pdf">
    <include scr="mainSection"/>
    </file>
    </destinations>
    Error : REP-34304: Distribution failed to complete; review the distribution lists
    Its been week I tried many things , but not working.
    Right now I am trying to distribute to single file but my goal is to burst and distribute on basis of account number.
    This is the first stage of the project.
    Thanks a lot for the help
    Anju

    Hello
    see answer in Oracle reports problem in distribution with xml file
    Regards

  • Error: Extension ID oracle.psr.extensions.putsetup in extension.xml does no

    Hi I get the following error , when i start my jdev in Oracle fusion application developer role
    Error: Extension ID oracle.psr.extensions.putsetup in extension.xml does not match jar filename oracle.psr.junit.psrjunit
    could anyone please help me?

    Hi Sandeesh,
    From the error
    com.sapportals.wcm.repository.InvalidUriException: Invalid RID: collaboration/room/extensions/cm/stores/Uplink_Documents/workspaces
    it looks like your store is not configured correctly.
    Please check that the store is configured properly. Navigate to System Administration -> System Configuration -> Knowledge Management -> Collaboration -> Room -> Stores and check that the "Documents" store is configured properly.
    Hope this helps.
    Akhilesh

  • Oracle EPM 11.1.2.2 installer bug

    Hello,
    Anyone found a problem with the installer for EPM 11.1.2.2 where if you go back into installtool.cmd after an install and try to add another product. The new product gets installed but the inventory and Comps.xml files get corrupted and some already installed products seem to be removed.
    We have hit this several times and are wondering if there is a patch.
    Thanks.

    If you can reproduce it then it is probably worth raising with Oracle, I have not seen any patches related to it.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Apparent kompare bug(s)

    I apologise in advance for the length of this 1st-Arch-post-in-years. I value context more than brevity, I guess. Hopefully this is the longest post I'll throw at Arch for a long, long time.
    I looked around (quite) a bit before filing this post.  I've used Arch off-n-on since 0.4, know the Arch site, the basics about Arch, and most of the "gotcha's" farly well - but I'm no sysop, either.
    I have a project I've been needing and meaning to work on for years (and which continues to compound itself while I don't); a huge set of backups on CD/DVD of all my data (my *life*, really) for well over a decade - letters, graphics, email, the first 40 pages of my book, you name it. Over the years this 'little' library has grown to over 10 GB compressed (30,000 files, *most* of them ARCHIVES). My guess is that 2-4 GB (compressed) of the data is important, some very much so.
    My archive collection consists of many recursed archives themselves, and they're in about 8 or 10 different formats, to boot (even *.ice, LMAO). Many are further embedded several levels into the main archives (yes, I know that's a bad idea, but I didn't know that when I created them...). I BADLY need to unpack all this stuff, find and toss the duplicates, and truly organise (and efficiently backup) the remainder. This effort will obviously require a lot of automation (or else my heirs will either do it, or not).
    I'd found a couple of useful tools in the Windows world years ago, but I don't buy software and the key piece of my suite was shareware that disabled itself after 30 days - not nearly enough time to plow through this boatload of bits.
    A few months back I built a system with an Athlon XP 3500+ on an Asus A8N-E mobo w/512MB and 120 GB and 250 GB HD's. I'm hoping to go the RAID route soon - Linux software RAID, in fact. The 250 GB HD is running off an add-in PCI ATA card; both HD's have a UDMA channel all to themselves. The machine's got 4 extra fans, a nicely oversized 485W P/S, and the on-board sensors consistently show it running cool. I'm quite sure this isn't a H/W problem (I'm having no others; I built it myself...). This machine has been absolutely rock-solid in every other regard. I LOVE the system; now if I can simply use it for this one basically administrative project.
    I finally have both the speed and the space required to tackle this now-monster project. When I "came home" to Arch a few months ago, I wanted to try several WMs/DMs; GNOME, KDE, E17, fluxbox and ratpoison (at least) are all loaded on my system, and I've booted most at least once. I'd assumed I'd have a LOT of options as to the tools to use.
    I've been man-paging and googling and pacman -Q'ing (followed by more googling) for a couple of weeks through the course of my testing thus far, while trying various wrappers in various WMs. My concluson: Houston, we have a problem! <S>Maybe</S> Several.
    In the past I've been partial to KDE (that's quickly changing), and it's what I started with this time around. As such, kompare seemed the obvious route to go, and had MOST (NOT all) of the functionality I needed (I also very much like it's GUI). Of course, kompare is simply a wrapper for diff (several diff variants, in fact, potentially). It's possible that diff is the problem. Hopefully further testing (and/or comments here) will make that determination more clearly.
    Subsequent googling has revealed that the diff version shipped with Arch likely hasn't been completely functional at all levels in almost *5 YEARS* now. Diff's codefile timestamp is Sept. 3, *2002*! Version 2.8.1 (3.4 is current - just like *kompare*'s current version is 3.4). Additionally, directly below diff in that listing is diff3. Diff's codefile size is about 60K; diff3's is about 20K. *However*, they both have the same timestamp AND version # !!!
    A *completely cosmetic* bug (http://bugs.kde.org/show_bug.cgi?id=138347) is fairly clearly the same bug as (https://bugs.launchpad.net/ubuntu/+source/kdesdk/+bug/45466 - 3-1/2 *YEARS* earlier!), and seemingly a trivial patch for a competent maintainer to create, at that. I've verified (w/o even trying) that this bug is resident in my system as we speak. Of course it is - the version of diff Arch is currently shipping was compiled almost a YEAR before the FIRST of the 2 bug reports above were filed! My Arch desktop O/S was installed less than a month ago using the 0.7.2 base ISO (kompare's timestamp is Jan. 20, 2007; version 3.4 - and it's a wrapper for a piece of code last compiled in 2002? What, the 2.0 kernel?). I've aggressively maintained my system current since my very recent install. See how well kompare/diff work on YOUR system...
    Indeed, from the kompare bug page, it's hard to believe it's EVER been stable - or even used (see http://bugs.kde.org/simple_search.cgi?i … &offset=20 and just keep on clicking "View More Results" - or get yourself an energiser bunny to do it for you, maybe).
    I copied the backups from CD's/DVD's to a clean, freshly-showered 64 GB (62.8, actually) ext3 partition (4K blocksize, defaults otherwise, journal included). I set up a top-level directory in this partition with 15 directories beneath it, one for each of my backup discs (whose contents range in size from 50 MB to 4.36 GB). I copied one archive to each directory, then unpacked them one at a time from the command line, removing the archive copy as I went. I ended up with about 15 GB of active data (25%).
    I first configured kompare to use diff (w/no C/L options) running under KDE. As kdiff3 is kompare's preference, however, why is kdiff3 not already in the repos?
    I'd not used it before, so I wasn't familiar with kompare's UI. I started out working with a few smaller subsets of the data I knew were near-perfect copies of each other and that wouldn't overload the filesystem. It seemed to act strangely; while I expected it to be well-optimised, both HD activity and CPU utilisation seemed extremely low for extended periods (and note my setup doesn't allow for a HDD LED for the HD on the controller card, where ALL the disk activity is going on).
    After 3 runs in a row w/o a single errant file being found, I made a 2-byte mod to a small, non-critical text file that was part of the archive I was currently komparing, rebooting to make DAMNED sure cache was cleared, and reran kompare; identical results. The change STILL wasn't detected (the changed file still showed as being an exact copy of the original). The output I was getting was quite weird: usually, the 'kompare' would run at what seemed a rational speed; after a while a response screen would then open, *completely* devoid of data or messages. Immediately after that an odd dialogue box popped up; the title bar said "Error!", but the *message* was, basically, "No Duplicates Encountered." (or some such), or, more commonly, the same one I encountered repeatedly while searching the internet: "Could not parse diff output." (presumably because kompare still wasn't passing the proper parameters to diff). The program crashed about 1/2 the time (actually, give it a big enough block of data, and it'll crash every time). I was stunned 4 days later when ONE run (an exact duplicate of one I'd already attempted several times) resulted in "proper" output - *PERFECT*, with a complete and correct analysis - and completely unreproduceable, even after rebooting. It's ("It's" = proper analysis/output has) happened 3 times since, twice while working with data sets I would term 'trivial'.
    So, in 2 weeks I got 3 runs w/o errors. I assure you I was trying at least 2 runs most days; a 1/2-dozen some days. By then, I also knew that kompare under KDE wasn't my only option - and I knew a bit more.
    I use the "usual" repositories. When I finally checked diff's compile date, my jaw dropped: Sept. 3, *2002* !!!  It's version 2.8.1; the current stable release is 3.4, and 3.5 is currently available for D/L (albeit not released). V. 2.8.1 works with the 2.6 kernel about as well as the original GWBasic compiler ('interpreter') does in WinXP...and may have been this way for a long time.
    More research (difficult, given the age of what little kompare documentation is available on the web). The primary maintainer apparently got removed from maintaining the package in 2003 (and, I presume, other packages, as well) for what appeared to be 'apathy' (MY words). He 'forgot' to include an update after saying he would do so (a patch to pass the appropriate parameters to diff, hopefully fixing the "Could not parse diff output." message, and maybe even straighten out my anomolies, as well).
    Kompare hasn't been updated since. Diff3 IS currently being maintained. Actually, even though diff3 has apparently replaced diff, *kompare* prefers kdiff3. For that matter, from my reading thus far, diff, diff3, vimdiff and cmp ALL may possibly be useable (the latter would require some scripting). Further, ALL the following may possibly be made able to work as wrappers (in decreasing order of likelihood, IMNSHO): kompare, krusader, meld, and emelFM2.
    So, diff is broken, and it doesn't appear that it's going to be fixed...I personally was a bit consternated when I realised just how off-the-rails kompare was. I see a function such as that provided by kompare as both *critical* AND as a 'black box' function - it HAS to work. Just like the ALU MUST compute 2+2 = 4, or the 'computer' becomes a boat anchor...
    So, I D/L'ed meld (for GNOME; it runs under KDE but no help is avalable), then emelFM2 (written for E17, I believe). I've spent the past week trying various combinations of (a) kompare, krusader, meld and emelFM2 as wrappers for diff under (b) KDE, GNOME, and E17. The results have been SO inconsistent it's scary. This includes both giving apparently proper results with a big job on rare occasion (but not consistently reproduceable), and VERY bizarrely, on one occasion, wiping a brand new, 64 *GB* ext3 partition CLEAN. I assure you the remainder of my testing will be on a dedicated partition! This HD is almost braad-new and has given me ZERO other trouble.
    Meld was the most consistently performing diff setup I used (on any WM; it worked on them all).
    I plan to spend the next 1-2 weeks doing some detailed and structured testing of all possible combos of wrapper/driver/WM, rather than just diff. I also plan to see if it's possible to pass command-line parameters to diff from kompare (if I have the time to spend ANY more w/kompare; kompare clearly isn't what I need - even though it had the . Yes, I *do* know how many combos of 4 wrappers, 4 drivers, and 3 WM's there are (48); my college major was statistics, LOL. And 48 test runs is adequate to test each combo, ONCE...
    To me, this task is like big sort jobs were on mainframes a (human, not computer!) generation ago: potentially very large, critical tasks, the results of which aren't always easy to manually double-check. Surely many, if not most, users have a manner of doing this. Diff has apparently been broken for maybe 5 years and THAT wouldn't have gone unnoticed - am I one of the VERY few to even try to use kompare? What do the rest of you use?
    Note that after locating and reading as much kompare documentation as possible (I read more BUG reports than anything), I made several important discoveries:
    (a) kompare isn't really set up for binary files; it's intended for use with text files. You can specify an option to force a text-mode search, but you apparently canNOT do the reverse.
    (b) It err'ed out comparing two M$ 'Word' files, stating they "were binary"...
    (c) Worst of all, for me: These files have been archived to CD or DVD, usually repeatedly, and then copied back to disk (I've lost 3 good-sized archives this way - which does serve to somewhat justify my apparently obsessive need to backup files). Kompare does do individual file comparisons (ie, if you specify both files on the command line) byte-by-byte (block-by-block, whatever), but if you request that it compare *directories*, filename and size are all it considers (it appears from the sparse documentation I've seen that this is corrected in the *current* version, . The duplicate-file tool suite I used in Windows did an MD5 hash on *every* file, no matter the size; I *knew* when a bit error had creeped in, and usually knew fairly quickly. Not finding out you have a bad backup until it's the only copy of your data you have left is no good!
    Anyone have any suggestions on doing this task efficiently and reliably in Arch?
    Again, I believe this to be an upstream problem in a way, but my guess is that if we were using the *current* diffutils to match the KDE version (and a maintainer had done his job in a timely fashion) this bug would NOT exist. My advice, at least until Arch can get diff3 (or, preferably, kdiff3) packaged, STAY AWAY FROM kompare !!!  At least with anything critical, at least until this issue is better understood.
    Kompare (and diffutils, as well, IMO) needs to be removed from the 'public' repo's until it's close to fixed, at least. Just pkgbuild'ing the current diffutils version (or kdiff3!) is likely the easiest way out. Who knows, MAYBE I'll take a stab at that myself. No promises.
    For ANYONE still reading, WOW! TIA. Really. Sorry for the tome.
    Blue Skies...g
    "It's a lot easier to throw grenades than it is to catch them!"  -- Tim Russert

    [intro, backups, bla...]I BADLY need to unpack all this stuff, find and toss the duplicates, and truly organise (and efficiently backup) the remainder.
    Ok, that's what it's all about.
    I'd found a couple of useful tools in the Windows world years ago, but I don't buy software and the key piece of my suite was shareware that disabled itself after 30 days - not nearly enough time to plow through this boatload of bits.
    Total Commander rocks.
    [killed half a dozen paragrahps or so] It's possible that diff is the problem.
    Contratulations. You managed to post 3K of text but still failed to mention what the problem is.
    Subsequent googling has revealed that the diff version shipped with Arch likely hasn't been completely functional at all levels in almost *5 YEARS* now. Diff's codefile timestamp is Sept. 3, *2002*! Version 2.8.1 (3.4 is current - just like *kompare*'s current version is 3.4).
    http://www.archlinux.org/packages/search/?q=diffutils
    You will notice that package isn't flagged out-of-date. That's because the (still current) upstream version is (tadaa!) 2.8.1. Please tell us where you found that 3.4 version.
    Additionally, directly below diff in that listing is diff3. Diff's codefile size is about 60K; diff3's is about 20K. *However*, they both have the same timestamp AND version # !!!
    WTF??? What listing? You know that diff and diff3 are different programs but still part of the same upstream sources, don't you?
    [non-relevant nonsense...] See how well kompare/diff work on YOUR system...
    They work fine.
    [kompare bashing]
    Take a look at the URL, bugs.kde.org, not bugs.archlinux.org. Got it?
    I copied the backups from CD's/DVD's to a clean, freshly-showered 64 GB (62.8, actually) ext3 partition (4K blocksize, defaults otherwise, journal included). I set up a top-level directory in this partition with 15 directories beneath it, one for each of my backup discs (whose contents range in size from 50 MB to 4.36 GB). I copied one archive to each directory, then unpacked them one at a time from the command line, removing the archive copy as I went. I ended up with about 15 GB of active data (25%).
    I think I could rest my case already at this point.
    I first configured kompare to use diff (w/no C/L options) running under KDE. As kdiff3 is kompare's preference, however, why is kdiff3 not already in the repos?
    It is: community/kdiff3 0.9.91-1
    (I will skip some paragraphs about the actual kompare usage and come back to that at the very end.)
    I use the "usual" repositories. When I finally checked diff's compile date, my jaw dropped: Sept. 3, *2002* !!!  It's version 2.8.1; the current stable release is 3.4, and 3.5 is currently available for D/L (albeit not released). V. 2.8.1 works with the 2.6 kernel about as well as the original GWBasic compiler ('interpreter') does in WinXP...and may have been this way for a long time.
    Please quit that bullshit and show us version 3.4 of the GNU diffutils.
    Kompare hasn't been updated since. Diff3 IS currently being maintained. Actually, even though diff3 has apparently replaced diff, *kompare* prefers kdiff3. For that matter, from my reading thus far, diff, diff3, vimdiff and cmp ALL may possibly be useable (the latter would require some scripting). Further, ALL the following may possibly be made able to work as wrappers (in decreasing order of likelihood, IMNSHO): kompare, krusader, meld, and emelFM2.
    Check http://websvn.kde.org/ to follow the development progress of kompare, it's part of kdesdk. diff3 is from diffutils 2.8.1 and I wouldn't call that "maintained", but you already know that. It is obviously not a replacement for diff, did you ever read the manpages? And wow, a KDE program prefers to use another KDE program!
    [killed quite a bit]Diff has apparently been broken for maybe 5 years and THAT wouldn't have gone unnoticed - am I one of the VERY few to even try to use kompare? What do the rest of you use?
    Again, diff is fine and I'm using kompare (or kdiff3?) almost daily, in krusader.
    (a) kompare isn't really set up for binary files; it's intended for use with text files. You can specify an option to force a text-mode search, but you apparently canNOT do the reverse.
    (b) It err'ed out comparing two M$ 'Word' files, stating they "were binary"...
    Genius. Comparing binary files is useless. If you used MS Office you're hosed, that simple. More useful advice at the end.
    Anyone have any suggestions on doing this task efficiently and reliably in Arch?
    Yep.
    Again, I believe this to be an upstream problem in a way, but my guess is that if we were using the *current* diffutils to match the KDE version (and a maintainer had done his job in a timely fashion) this bug would NOT exist. My advice, at least until Arch can get diff3 (or, preferably, kdiff3) packaged, STAY AWAY FROM kompare !!!  At least with anything critical, at least until this issue is better understood.
    Upstream, right... diffutils have nothing to do with KDE at all... Arch has diff3 and kdiff3 packaged ... it's no 'issue' at all.
    Okay, I apologize for that 'tone' of mine but I get pissed easily when wasting so much time on something as this.
    I know your problem very well as I'm constantly backing up stuff, comparing directories and hunting duplicates.
    After unpacking everything the first step to take is to run a comprehensive check for binary duplicates. My tool of choice for that task is Total Commander (Win32 shareware, no timeout, just a minor nag screen on start, works fine with Wine). Just a few random keyboard shortcuts you might find handy (see the help file for explanations): ctrl-b, ctrl-f1(-f6), ctrl-c,y, alt-f7
    After killing them, go on to compare ("synchronize") similar directories, either with Total Commander, Krusader, rsync, diff -R, whatever.
    If you encounter similar named files, check the dates and kill the older ones, or compare them if they're not binary.
    And so on... you know best what kind of data you got and how to split it up.
    Throwing plain diff on a set of thousands of files, possibly gigabytes is a huge waste of time and computing/power resources. Adding a frontend will make it crash most of the time, especially with binary files. I think using kdiff3 to compare the Arch Linux 0.8 base beta1 iso to the beta2 one alone should suffice. A few more gigabytes of RAM might help though.

  • WINDOWS TERMINAL SERVICES AND ORACLE CLIENT 9,10.1,10.2 BUG

    PROBLEM:NON-ADMINISTRATOR USER UNABLE TO USE CLIENT SQLPLUS INSTALL
    FIX: NONE... REFER TO Bug No.     4684738     
    Filed     18-OCT-2005     Updated     06-DEC-2005     
    Product     SQL*Plus     Product Version      10.2.0.1     
    Platform     Microsoft Windows Server 2003     Platform Version
    HOW I FIXED:
    copied instant client basic, instant SqlPlus, instant ODBC (i need ODBC connection)
    step1:
    login to terminal server as administrator, unzip basic, SqlPlus, ODBC into a new directory on the server, make sure users have basic file rights read,view to new directory.
    step2:
    copy a working copy of tnsnames.ora (the databases you want to connect to) into the directory where all your instant client files are.
    step3:
    create SYSTEM ENVIRONMENT variables > click my computer, properties,advanced. create variable SQLPATH set value to path of your instant clent files. create variable TNS_ADMIN set value to path of your instant client files.
    step4:
    edit the PATH statement listed in SYSTEM ENVIRONMENT variables and add the path to your instant client files at the beginning of the PATH statement.
    step5:
    logout, login as administrator test instant sqlplus open command prompt enter > sqlplus username?/password?@mydatabase
    you should get connected to your database. Repeat step5 only login as a normal user. the normal user should be able to connect to the database.
    Issue: it appears instant ODBC not ready for prime time I get error 126, reading forums it appears there are files missing from the install package. The Microsoft ODBC connector for Oracle does work with my MSACCESS applications that connect to Oracle 10G using the afore mentioned process. I will continue to troubleshoot instant ODBC issue and post findings. Oracle has already wasted 12 hours of my time trying to get their junky software working might as well waste another day before throwing in the towel.

    You can download the latest JDBC drivers from http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
    You just need to place the jar somewhere and add the location to your classpath.
    Kuassi

  • Oracle SQL Developer Data Modeler 3.0 Bugs, Resolution and workarounds

    The purpose of this thread is to list bugs discovered while using ORACLE SQL Developer Data Modeler 3.0
    Mainly with SQL SERVER 2005 and ORACLE 10g models.

    SQL Server Physical model doesn't save table identity column.
    here are the steps to get this bug:
    1. create a table in relational model with a column as an integer to be used as an identity.
    2. create or open a physical model for SQL-SERVER 2005
    3. open the table in the physical model
    4. edit the integer column property dialog
    5. tick the identity check box and close the property dialog
    6. save the model and close it
    7. open it again, you will find the identity check is removed! (probably not saved from the start)

  • Dreamweaver, php-xml bug

    I have a simple php file that generates an xml file. When I
    save this file and close it, dreamweaver changes some of the
    formatting when I reopen the file. Specifically, dreamweaver
    de-capitalizes some of the text in the document.
    Example:
    The code:
    $this->xml_request = '
    <PickupType>
    <Code>01</Code>
    </PickupType>';
    is converted to
    $this->xml_request = '
    <PickupType>
    <code>01</code>
    </PickupType>';
    after the file is saved, closed, and reopened. Note the Code
    tag has been chanced to code, which breaks the API I'm working
    with. This xml is always within php code as above as I've been
    using it..
    This happens on several fields, Code and Address so far, and
    happens to the same fields every time, no matter the document, or
    how many times they appear in the document. No other tag names are
    affected as far as I've found. I've tried completely uninstalling,
    removing all configuration files, and re-installing Dreamweaver and
    get the exact same affect every time.
    I really need to get this bug / mis-configuration fixed. Any
    suggestions would be greatly appreciated.
    This is CS3 (DW9) running on XP Pro.

    jestep,
    In Preferences > Code Format, make sure that the "Override
    case of"
    settings for "Tags" is turned off.
    HTH,
    Randy
    > I have a simple php file that generates an xml file.
    When I save this file and
    > close it, dreamweaver changes some of the formatting
    when I reopen the file.
    > Specifically, dreamweaver de-capitalizes some of the
    text in the document.
    >
    > Example:
    >
    > The code:
    > $this->xml_request = '
    > <PickupType>
    > <Code>01</Code>
    > </PickupType>';
    >
    > is converted to
    >
    > $this->xml_request = '
    > <PickupType>
    > <code>01</code>
    > </PickupType>';
    >
    > after the file is saved, closed, and reopened. Note the
    Code tag has been
    > chanced to code, which breaks the API I'm working with.
    This xml is always
    > within php code as above as I've been using it..
    >
    > This happens on several fields, Code and Address so far,
    and happens to the
    > same fields every time, no matter the document, or how
    many times they appear
    > in the document. No other tag names are affected as far
    as I've found. I've
    > tried completely uninstalling, removing all
    configuration files, and
    > re-installing Dreamweaver and get the exact same effect
    every time.
    >
    > I really need to get this bug / mis-configuration fixed.
    Any suggestions would
    > be greatly appreciated.
    >

  • Using FGA in Oracle 9i on tables that store XML data

    Hello,
    Our company wishes to use FGA policies to log transaction data for updates that take place in our software (Web based software using Oracle 9i Enterprise Edition (9.2.0.6.0))
    This is working just great for logging transaction information on all of our tables except for those that hold XML data. It seems that the XML code is causing an error as it attempts to write in to an audit entry. I have requested information on the specific errors that are being generated, and do not have the exact messages to post yet - but I was hoping that someone out here could comment on FGA and XML data logging, if this is even possible in 9i, or if particular add-ons or updates may need to be made to the database before this can be expected to function as desired.
    Thank you in advance,
    Sabrina Goodpaster
    Database / Configuration Management Specialist
    ENVISAGE Technologies, Corp.
    1441 S. Fenbrook Lane
    Bloomington, IN 47401

    Is the intent to audit tables containing XML or to audit changes to the XML? There is a huge difference.
    Also, working in software as older than my car isn't helping you. How about applying a few patches or upgrading to something supported?

  • Sax parse xml bug , I can't figure it out!

    (1) orginal xml file as followings:
    <row>
    <field name="productBundleId">22456</field>
    <field name="localPath">/products/01092008/RealArcade/STD_StonesOfKhufu_NOK6030_EN_v1_0_12.jar</field>
    <field name="description">/products/01092008/RealArcade/STD_StonesOfKhufu_NOK6030_EN_v1_0_12.jad</field>
    </row>
    (2) task parsing the above and and retrieve the value and set it to a javabean:
    (3) Using the SAX as the xml file is very big , about 1M
    * @author mertef
    public class XerseHandlerImp extends DefaultHandler implements MF_CONSTANTS
         List                              m_data               = new ArrayList();
         private CompareSimpleBean     m_csb               = null;
         private String                    m_tmpVal          = "";
         private boolean                    m_id               = false;
         private boolean                    m_jar               = false;
         private boolean                    m_jad               = false;
         private String                    m_whitespace     = "";
         private boolean                    m_character          = false;
         @Override
         public void characters(char[] ch, int start, int length) throws SAXException
    *          // System.out.println(new String(ch,start,length));*
              m_tmpVal = new String(ch, start, length);*
    if (jad) System.out.println(tmpVal);*
         @Override
         public void endElement(String uri, String localName, String name) throws SAXException
              m_character = false;
              if (name.equals(MOVAYA_ROW))
                   m_data.add(m_csb);
              if (name.equals(MOVAYA_FIELD))
                   if (m_id)
                        m_csb.setId(m_tmpVal);
                        m_id = false;
                        m_jar = false;
                        m_jad = false;
                   else if (m_jar)
                        m_csb.setJarPath(m_tmpVal);
                        m_id = false;
                        m_jar = false;
                        m_jad = false;
                   else if (m_jad)
                        m_csb.setJadPath(m_tmpVal);
                        m_id = false;
                        m_jar = false;
                        m_jad = false;
         @Override
         public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException
              m_whitespace = new String(ch, start, length);
    (4) please pay attention to the bold area , the method:
    character()
    I declare a variable "m_character" to decide if the parser don't read content of
    an item in above xml file ,such as
    /products/01092008/RealArcade/STD_StonesOfKhufu_NOK6030_EN_v1_0_12.jar
    (5)error:
    but some time it only reads part of the character contents:
    eg:
    /products/01092008/RealAr
    cade/STD_StonesOfKhufu_UnitedStates_LGCU515_EN_v1_0_12.jad
    It means that they parser comes across some character when parsing,
    but in fact it doesn't.
    You can use println() to monitor the outputs.
    So I need to declare some boolean variable to decide whether all the content of one item has read fully.
    (6)
    May be its a bug, my xml file don't include any special charactor.

    The problem is that the character data might be delivered in multiple chunks, this means that the characters method might be called more than once for the same element.
    One way around this is to create a StringBuilder or something similar in the startElement() method, and fill it with the characters in the characters() method and read it in the endElement() method.
    For more information: http://forum.java.sun.com/thread.jspa?threadID=5255925

  • Oracle JDBC 8.1.7 XA prepare bug

    Both Oracle JDBC 8.1.7 XA thin and oci drivers have a bug related to
    the prepare fase of 2PC.
    In some circunstances when loosing connection, the prepare fase cannot
    be completed
    but Oracle driver returns a successfull status, so WLS issues second
    phase of commit
    when it shouldn't. This is a known bug on Oracle.
    Josep Blazquez.

    http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
    Btw: the Oracle homepage does have a search function which will find that page using "download jdbc driver" as the search criteria.

  • Using Oracle Transport Agent to get the XML File

    Hi,
    This is Vishal and I have setup XML Gateway to make my Supplier's specific site XML Enabled. When I am approving the PO, the PO Communication method is XML and once the PO is approved, through "Workflow administrator Web Application" responsibility, I am able to view my XML File.
    Our requirement is: we are currently using NuBridges and I want to transfer this XML file to the pre-defined location. But as per Oracle User guide, I understood that this is Blob message and I can't download it. To download it, I need to configure Transport Agent.
    Can anyone throw more light on this? I am new to Transport Agenet configuration. Please guide me, how to get the XML file generated?

    Hi Siva
    Just to clarify, rather than the short name of the conc program there is a shipped data definition that just uses the product short name? What is the data def so I can check it.
    Regards, Tim

  • Issue Connecting from Oracle Business Component Browser - adf-config.xml

    There are similar posts in the forum to this, but I wasn't able to glean from them what I should do.
    Essentially, I tried Connecting by:
    right clicking on a node under a Model project, and selected TEST.
    When the Oracle Business Component Browser - Connect Dialog window opened, I clicked CONNECT.The Oracle Business Component Browser (Local) seems to have opened fine, but in the message log I see this:
    "jar:file:/C:/JDeveloper/jdev/doc/studio_doc/ohj/bc4j_f1.jar!/bc4j_f1.hs"
    Feb 10, 2007 10:16:30 AM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
    INFO: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
    I'm not experienced enough to know whether this is significant or not, nor if so what I need to do about this.
    Thank you to anyone who can help a newer person out with this.
    Matt
    Studio Edition Version 10.1.3.1.0.3984
    Build JDEVADF_10.1.3.1.0_NT_061009.1404.3984
    ADF Business     Components 10.1.3.39.84
    BPEL Designer     10.1.3.1.0 (Build 061009.0802)
    Java™ Platform     1.5.0_06
    CVS Version     Internal to Oracle JDeveloper (client-only)
    I found this release note, which mentions both adf-client.xml and JClient; I'm still too new to know whether this helps with this or not, but I'm hoping it does for someone out there.
    Thanks again.
    ON: http://www.oracle.com/technology/products/jdev/htdocs/10.1.3.0.3/readme.html
    JClient Security Still Requires AM Property Setting (4889913)
    JClient applications should continue to use application module configuration property jbo.security.enforce for enabling authentication and authorization.
    The authorizationEnforce property in adf-config.xml new in 10.1.3 is not yet supported for JClient
    Message was edited by: Matt
    matt.tech

    Hi,
    the adf-config.xaml file is not created by default and not needed by default. you need this to define custom skins or ADF Security.
    For an example of adfs-config.xml doe skins see SRDemo sample app
    Frank

  • Updating an oracle table with data from an xml string

    Hi - I need help with the following problem:
    We have a table in the database with a field of xml type. We are going to take each string that gets inserted into the xml type field in the 'xml table' and parse the data into another oracle table with corresponding fields for every element.
    once the record gets inserted into the 'real table' the user might want to update this record they will then insert another record into the 'xml table' indicating an update(with a flag) and then we need to update the 'real table' with the updated values that have been sent in.
    The problem that I am having is that I do not know how to create this update statement that will tell me which fields of the table need to be updated.(only the fields that need to be updated will be in the xml string in the 'xml table').
    Please help me with this - ASAP!

    Are you wanting to upload the file through an Oracle Form or just upload a file? If it isn't via forms, then you should probably post your question here: {forum:id=732}
    You also should post the version of Forms, Database, etc...
    As far as uploading files via a text file, I personally like to use Oracle External Tables even in Forms. You can Google that and there is plenty of information. If you search this forum, then you will see lots of people use UTL_FILE in forms, but you can Google that also for more information.

  • Updating Oracle 8.1.6 database with XML file

    Hi All,
    I need your help for the following scenario.
    I'll transfer data from 13 tables of SQL Server 6.5, into a XML
    file. That file might contain around 70 Lakhs records(rows).
    This 70 lakh records will be shared by 11 tables in Oracle 8.1.6
    database. So each table would approximately have around 6.5 lakh
    record each. How to transfer this XML file data into those 11
    tables? Is any tool available to do so?
    And before inserting that 6.5 lakh rows into a table, i need to
    clear up that table (means delete all the existing data). In
    this case, if the XML data tranfser fails, i need to rollback
    the deleted old data. I want to know about rolling back
    volumness deleted rows.
    Need your solutions on this.
    Thanx in advance.
    Rgds
    Elav.

    Hi All,
    I need your help for the following scenario.
    I'll transfer data from 13 tables of SQL Server 6.5, into a XML
    file. That file might contain around 70 Lakhs records(rows).
    This 70 lakh records will be shared by 11 tables in Oracle 8.1.6
    database. So each table would approximately have around 6.5 lakh
    record each. How to transfer this XML file data into those 11
    tables? Is any tool available to do so? SQL*Loader or XSU. Question: Why you are trying to use XML file
    instead of using plain data file?
    >
    And before inserting that 6.5 lakh rows into a table, i need to
    clear up that table (means delete all the existing data). In
    this case, if the XML data tranfser fails, i need to rollback
    the deleted old data. I want to know about rolling back
    volumness deleted rows.
    Using SQL*Loader you can specify to clean up the old data before
    insertion, but not sure about the rolling back to the deleted
    rows after insertion failure.
    You can write a small application based on XSU to finish this
    task. But note about the commit size. If you data volumn is
    large, you need to set the commit size > data. Also you probably
    need to divide the data into small pieces so as to avoid running
    out of redo log.
    Need your solutions on this.
    Thanx in advance.
    Rgds
    Elav.

Maybe you are looking for