Replacing Xml Code Blocks

Hi, Fellas
I have a problem regarding an Xml document, where I need to remove
blocks of xml code, if there are control characters found in a block. (you know those squares that sometimes appear). Of course i need to manipulate the code using
Java API's
What i want to do is when i find a control character (which could come
anywhere inside a client node), I want to remove the entire client block from the document and return it as a string in a java class. In the example code below Two <client> blocks contain control characters, so those blocks has to be removed.
I really cant think of an efficient way to do this. an Xml document may
contain several hundreds of such client node blocks.
Please, if any of u guys can think of mechanism it would be of great
help
Example Xml code
<...>
<client>
<name>Charles Darwin������</name>
<address>32, Vincent Av, London</address>
<info>Bill Lawry</info>
</client>
<client>
<name>Richie Benaud</name>
<address>32, Vincent Av, London</address>
<info>Some information goes here</info>
</client>
<client>
<name>Bill Lawry����</name>
<address>32, Vincent Av, London</address>
<info>Some information goes here</info>
</client>
<client>
<name>Mark Waugh</name>
<address>32, Vincent Av, London</address>
<info>Some information goes here</info>
</client>
<...>
Appreciate your time
Thanks
Shiran.

- load your XML file into a Document instance
- Iterate thru the children Node instances, starting from the root
- for each Node instance, call a checking method: if the method returns false, remove the Node instance from its parent
- the checking method simply converts the Node instance into a String instance (using the toString() method), then checks the string contents (or seeks well
known special characters into the string, if the special characters list is short enough). Of course, the use of regular expressions can be another way.
Hope this helped,
Regards.

Similar Messages

  • Replace xml code when used as a xmltype converted from clob.

    I am still new at all this so I will try to make sense.
    I have the "sys_xmlgen" where it takes my clob_content which is a clob and converts it into the v_xml which is xmltype.
    ****code to show change of clob to xmltype.
    SELECT sys_xmlgen(clob_content) INTO v_xml FROM xmltest2 WHERE item_id = v_item_id;
    update xmltest2 set xml = v_xml where item_id = v_item_id;
    **end of code
    When you use sys_xmlgen it changes the xml into this example:
    <?xml version="1.0"?>
    <CLOB_CONTENT>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
    &lt;!DOCTYPE metadata SYSTEM &quot;csdgm2.dtd&quot;&gt;
    &lt;?xml-stylesheet href=&quot;FGDC_V2.xsl&quot; type=&quot;text/xsl&quot;?&gt;
    &lt;metadata&gt;
    &lt;idinfo&gt;
    </CLOB_CONTENT>
    I need to remove the <CLOB_CONTENT> tag and change some things such as the "&lt;" to a "<" and so on. But when I do a replace statement
    select replace(clob_content, '&lt;', '<') into v_xml from xmltest2;
    It says I can not do a clob into number.
    Just to make myself clear, the clob_content is clob and v_xml is xmltype. SOOO I think that is where my problem is. Does anyone know the syntax to replace the code in my xml so that it looks like the original clob xml??
    Any help would be appreciated.

    I am still new at all this so I will try to make sense.
    I have the "sys_xmlgen" where it takes my clob_content which is a clob and converts it into the v_xml which is xmltype.
    ****code to show change of clob to xmltype.
    SELECT sys_xmlgen(clob_content) INTO v_xml FROM xmltest2 WHERE item_id = v_item_id;
    update xmltest2 set xml = v_xml where item_id = v_item_id;
    **end of code
    When you use sys_xmlgen it changes the xml into this example:
    ?xml version="1.0"?>
    <CLOB_CONTENT>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
    &lt;!DOCTYPE metadata SYSTEM &quot;csdgm2.dtd&quot;&gt;
    &lt;?xml-stylesheet href=&quot;FGDC_V2.xsl&quot; type=&quot;text/xsl&quot;?&gt;
    &lt;metadata&gt;
    &lt;idinfo&gt;
    &lt;citation&gt;
    &lt;citeinfo&gt;</CLOB_CONTENT>
    I need to remove the <CLOB_CONTENT> tag and change some things such as the "<" to a "<" and so on. But when I do a replace statement
    select replace(clob_content, '<', '<') into v_xml from xmltest2;
    It says I can not do a clob into number.
    Just to make myself clear, the clob_content is clob and v_xml is xmltype. SOOO I think that is where my problem is. Does anyone know the syntax to replace the code in my xml so that it looks like the original clob xml??
    Any help would be appreciated.

  • Code::Blocks and gdb's Debug Attach to process; crash

    Hello!
    I've just started using Code::Blocks and very happy with it, but there is one problem: say I have a binary file with debugging symbols, then I try to attach to it using Code::Blocks (Debug>Attach to process); when I enter the PID and press "OK" button - IDE crashes.
    Here is the stacktrace of codeblocks itself from gdb:
    [user@host ~]$ gdb codeblocks
    GNU gdb (GDB) 7.4
    Copyright (C) 2012 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "i686-pc-linux-gnu".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /usr/bin/codeblocks...(no debugging symbols found)...done.
    (gdb) run
    Starting program: /usr/bin/codeblocks
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/libthread_db.so.1".
    [New Thread 0xb1881b40 (LWP 8035)]
    Initialize EditColourSet .....
    [New Thread 0xae6c4b40 (LWP 8036)]
    [New Thread 0xadec3b40 (LWP 8037)]
    [New Thread 0xad6c2b40 (LWP 8038)]
    [New Thread 0xacec1b40 (LWP 8039)]
    Initialize EditColourSet: done.
    Loading toolbar...
    OpenFilesList: loaded
    ThreadSearch: loaded
    lib_finder: loaded
    EnvVars: loaded
    CodeStat: loaded
    ClassWizard: loaded
    HeaderFixup: loaded
    BYOGames: loaded
    CodeSnippets: loaded
    cbDragScroll: loaded
    SymTab: loaded
    CB_Koders: loaded
    HelpPlugin: loaded
    Compiler: loaded
    Debugger: loaded
    wxSmithAui: loaded
    Autosave: loaded
    wxSmith: loaded
    wxSmithMime: loaded
    Profiler: loaded
    ScriptedWizard: loaded
    Valgrind: loaded
    RegExTestbed: loaded
    wxSmithContribItems: loaded
    CppCheck: loaded
    ToDoList: loaded
    [New Thread 0xab9b8b40 (LWP 8040)]
    CodeCompletion: loaded
    FilesExtensionHandler: loaded
    Cccc: loaded
    Exporter: loaded
    AStylePlugin: loaded
    AutoVersioning: loaded
    IncrementalSearch: loaded
    ProjectsImporter: loaded
    cbKeyBinder: loaded
    MouseSap: loaded
    BrowseTracker: loaded
    HexEditor: loaded
    copystrings: loaded
    Open files list plugin activated
    ThreadSearch plugin activated
    Library finder plugin activated
    Environment variables plugin activated
    Code statistics plugin activated
    Class wizard plugin activated
    Header Fixup plugin activated
    BYO Games plugin activated
    Code snippets plugin activated
    DragScroll plugin activated
    Symbol Table Plugin plugin activated
    Koders query plugin activated
    Help plugin plugin activated
    Added compiler "GNU GCC Compiler"
    Added compiler "Intel C/C++ Compiler"
    Added compiler "SDCC Compiler"
    Added compiler "Tiny C Compiler"
    Added compiler "GDC D Compiler"
    Added compiler "Digital Mars D Compiler"
    Added compiler "GNU ARM GCC Compiler"
    Added compiler "GNU AVR GCC Compiler"
    Added compiler "GNU GCC Compiler for PowerPC"
    Added compiler "GNU GCC Compiler for TriCore"
    Compiler plugin activated
    Debugger plugin activated
    wxSmith - Aui plugin activated
    Autosave plugin activated
    wxSmith plugin activated
    wxSmith - MIME plugin plugin activated
    Code profiler plugin activated
    Project wizard added for 'Empty project'
    Project wizard added for 'Console application'
    Project wizard added for 'D application'
    Project wizard added for 'FLTK project'
    Project wizard added for 'GLFW project'
    Project wizard added for 'GLUT project'
    Project wizard added for 'GTK+ project'
    Project wizard added for 'Irrlicht project'
    Project wizard added for 'Lightfeather project'
    Project wizard added for 'OpenGL project'
    Project wizard added for 'Ogre project'
    Project wizard added for 'Code::Blocks plugin'
    Project wizard added for 'QT4 project'
    Project wizard added for 'SDL project'
    Project wizard added for 'SFML project'
    Project wizard added for 'Static library'
    Project wizard added for 'Shared library'
    Project wizard added for 'wxWidgets project'
    Build-target wizard added for 'Console'
    Build-target wizard added for 'Static library'
    Build-target wizard added for 'wxWidgets'
    Project wizard added for 'ARM Project'
    Project wizard added for 'AVR Project'
    Project wizard added for 'TriCore Project'
    Project wizard added for 'PowerPC Project'
    File(s) wizard added for 'Empty file'
    File(s) wizard added for 'C/C++ source'
    File(s) wizard added for 'C/C++ header'
    Scripted wizard plugin activated
    Valgrind plugin activated
    Regular expressions testbed plugin activated
    wxSmith - Contrib Items plugin activated
    CppCheck plugin activated
    Todo List plugin activated
    Code completion plugin activated
    Files extension handler plugin activated
    Cccc plugin activated
    Source Exporter plugin activated
    Source code formatter (AStyle) plugin activated
    AutoVersioning plugin activated
    IncrementalSearch plugin activated
    Foreign projects importer plugin activated
    Keyboard shortcuts plugin activated
    MouseSap plugin activated
    BrowseTracker plugin activated
    HexEditor plugin activated
    Copy Strings to clipboard plugin activated
    Initializing plugins...
    [New Thread 0xaaddcb40 (LWP 8047)]
    Program received signal SIGSEGV, Segmentation fault.
    0xb75237aa in wxStringBase::operator=(wxStringBase const&) () from /usr/lib/libwx_baseu-2.8.so.0
    (gdb) backtrace
    #0 0xb75237aa in wxStringBase::operator=(wxStringBase const&) () from /usr/lib/libwx_baseu-2.8.so.0
    #1 0xabee2133 in DebuggerGDB::Debug() () from /usr/lib/codeblocks/plugins/libdebugger.so
    #2 0xabed197b in DebuggerGDB::OnAttachToProcess(wxCommandEvent&) () from /usr/lib/codeblocks/plugins/libdebugger.so
    #3 0xb74ce9f8 in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const () from /usr/lib/libwx_baseu-2.8.so.0
    #4 0xb755e59a in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #5 0xb755e71b in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-2.8.so.0
    #6 0xb755ead1 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #7 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #8 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #9 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #10 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #11 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #12 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #13 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #14 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #15 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #16 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #17 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #18 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #19 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #20 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #21 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #22 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #23 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #24 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #25 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #26 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #27 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #28 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #29 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #30 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #31 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #32 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #33 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #34 0xb755ea61 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #35 0xb778cfb7 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
    #36 0xb6a2016c in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
    #37 0xb6a1ec5c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
    #38 0xb6a31a10 in ?? () from /usr/lib/libgobject-2.0.so.0
    #39 0xb6a3a7a7 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
    #40 0xb6a3a913 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
    #41 0xb6d7d6c5 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
    #42 0xb6c5b3c7 in gtk_menu_shell_activate_item () from /usr/lib/libgtk-x11-2.0.so.0
    #43 0xb6c5b7d1 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
    #44 0xb6c4fb2d in ?? () from /usr/lib/libgtk-x11-2.0.so.0
    #45 0xb6c46762 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
    #46 0xb6a1d6ad in ?? () from /usr/lib/libgobject-2.0.so.0
    #47 0xb6a1ec5c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
    #48 0xb6a31858 in ?? () from /usr/lib/libgobject-2.0.so.0
    #49 0xb6a3a5b9 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
    #50 0xb6a3a913 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
    #51 0xb6d7e743 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
    #52 0xb6c4492e in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
    #53 0xb6c44cc0 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
    #54 0xb6ab9078 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
    #55 0xb693907f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
    #56 0xb69397b0 in ?? () from /usr/lib/libglib-2.0.so.0
    #57 0xb6939dbb in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
    #58 0xb6c43a5f in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
    #59 0xb772ad8a in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
    #60 0xb77a6c1f in wxAppBase::MainLoop() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
    #61 0xb77a64af in wxAppBase::OnRun() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
    #62 0x08074566 in ?? ()
    #63 0xb7504ac6 in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
    #64 0xb7504b66 in wxEntry(int&, char**) () from /usr/lib/libwx_baseu-2.8.so.0
    #65 0x0806c597 in ?? ()
    #66 0xb71db3d5 in __libc_start_main () from /lib/libc.so.6
    #67 0x08073d3d in ?? ()
    (gdb)
    Here is the XML file (debug report) that CodeBlocks gave to me after crash:
    <?xml version="1.0" encoding="utf-8"?>
    <report version="1.0" kind="exception">
    <system description="Linux 3.3.2-1-ARCH i686"/>
    <modules>
    <module path="/usr/bin/codeblocks" address="08048000" size="0008f000"/>
    <module path="/usr/bin/codeblocks" address="080dc000" size="00003000"/>
    <module path="[heap]" address="087ef000" size="0138e000"/>
    <module path="/usr/share/fonts/TTF/DejaVuSansMono-Bold.ttf" address="aa53f000" size="0004d000"/>
    <module path="/usr/lib/codeblocks/plugins/libHexEditor.so" address="aa5f7000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libHexEditor.so" address="aa5fb000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libBrowseTracker.so" address="aa631000" size="00002000"/>
    <module path="/usr/lib/codeblocks/plugins/libMouseSap.so" address="aa634000" size="0000a000"/>
    <module path="/usr/lib/codeblocks/plugins/libMouseSap.so" address="aa63f000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libkeybinder.so" address="aa676000" size="00002000"/>
    <module path="/usr/lib/codeblocks/plugins/libprojectsimporter.so" address="aa679000" size="0002a000"/>
    <module path="/usr/lib/codeblocks/plugins/libprojectsimporter.so" address="aa6a4000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libAutoVersioning.so" address="aa6de000" size="00002000"/>
    <module path="/usr/lib/codeblocks/plugins/libastyle.so" address="aa6e1000" size="0003c000"/>
    <module path="/usr/lib/codeblocks/plugins/libastyle.so" address="aa71e000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libexporter.so" address="aa7df000" size="00003000"/>
    <module path="/usr/lib/codeblocks/plugins/libdefaultmimehandler.so" address="aa7e8000" size="00015000"/>
    <module path="/usr/lib/codeblocks/plugins/libdefaultmimehandler.so" address="aa7ff000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libIncrementalSearch.so" address="aa902000" size="00013000"/>
    <module path="/usr/lib/codeblocks/plugins/libIncrementalSearch.so" address="aa916000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libcodecompletion.so" address="ab118000" size="000a7000"/>
    <module path="/usr/lib/codeblocks/plugins/libcodecompletion.so" address="ab1c2000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libtodo.so" address="ab1c4000" size="00023000"/>
    <module path="/usr/lib/codeblocks/plugins/libtodo.so" address="ab1e8000" size="00002000"/>
    <module path="/usr/lib/codeblocks/plugins/libCppCheck.so" address="ab1eb000" size="0000c000"/>
    <module path="/usr/lib/codeblocks/plugins/libCppCheck.so" address="ab1f8000" size="00001000"/>
    <module path="/usr/lib/wxSmithContribItems/libwxchartctrl.so.0.0.1" address="ab220000" size="00001000" version="0.0.1"/>
    <module path="/usr/lib/wxSmithContribItems/libwxchartctrl.so.0.0.1" address="ab223000" size="00001000" version="0.0.1"/>
    <module path="/usr/lib/codeblocks/plugins/libwxsmithcontribitems.so" address="ab24b000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libRegExTestbed.so" address="ab24e000" size="0000d000"/>
    <module path="/usr/lib/codeblocks/plugins/libRegExTestbed.so" address="ab25c000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libscriptedwizard.so" address="ab2a9000" size="00004000"/>
    <module path="/usr/lib/codeblocks/plugins/libProfiler.so" address="ab2ae000" size="0001a000"/>
    <module path="/usr/lib/codeblocks/plugins/libProfiler.so" address="ab2c9000" size="00001000"/>
    <module path="/usr/lib/libwxsmithlib.so.0.0.1" address="ab554000" size="00015000" version="0.0.1"/>
    <module path="/usr/lib/codeblocks/plugins/libValgrind.so" address="ab581000" size="0000d000"/>
    <module path="/usr/lib/codeblocks/plugins/libValgrind.so" address="ab58f000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libautosave.so" address="ab59d000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libwxSmithAui.so" address="ab59f000" size="00049000"/>
    <module path="/usr/lib/codeblocks/plugins/libwxSmithAui.so" address="ab5e9000" size="00003000"/>
    <module path="/usr/lib/codeblocks/plugins/libdebugger.so" address="ab5ef000" size="00097000"/>
    <module path="/usr/lib/codeblocks/plugins/libdebugger.so" address="ab68c000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libcompiler.so" address="ab68e000" size="0011c000"/>
    <module path="/usr/lib/codeblocks/plugins/libcompiler.so" address="ab7ad000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libhelp_plugin.so" address="ab7b0000" size="0010d000"/>
    <module path="/usr/lib/codeblocks/plugins/libhelp_plugin.so" address="ab8be000" size="00004000"/>
    <module path="/usr/lib/codeblocks/plugins/libcb_koders.so" address="ab8c8000" size="00012000"/>
    <module path="/usr/lib/codeblocks/plugins/libcb_koders.so" address="ab8db000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libSymTab.so" address="ab8f6000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libdragscroll.so" address="ab8f8000" size="0001c000"/>
    <module path="/usr/lib/codeblocks/plugins/libdragscroll.so" address="ab916000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libcodesnippets.so" address="aba1a000" size="00007000"/>
    <module path="/usr/lib/codeblocks/plugins/libbyogames.so" address="aba25000" size="00027000"/>
    <module path="/usr/lib/codeblocks/plugins/libbyogames.so" address="aba4f000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libheaderfixup.so" address="abb0b000" size="00002000"/>
    <module path="/usr/lib/codeblocks/plugins/libclasswizard.so" address="abb0e000" size="00018000"/>
    <module path="/usr/lib/codeblocks/plugins/libclasswizard.so" address="abb27000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libcodestat.so" address="abb3c000" size="00001000"/>
    <module path="/usr/lib/wxSmithContribItems/libwxflatnotebook.so.0.0.1" address="abb3e000" size="0003e000" version="0.0.1"/>
    <module path="/usr/lib/wxSmithContribItems/libwxflatnotebook.so.0.0.1" address="abb7e000" size="00002000" version="0.0.1"/>
    <module path="/usr/lib/codeblocks/plugins/liblib_finder.so" address="abbf0000" size="00003000"/>
    <module path="/usr/lib/codeblocks/plugins/libThreadSearch.so" address="abbf4000" size="0004a000"/>
    <module path="/usr/lib/codeblocks/plugins/libThreadSearch.so" address="abc41000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libopenfileslist.so" address="abc43000" size="00009000"/>
    <module path="/usr/lib/codeblocks/plugins/libopenfileslist.so" address="abc4d000" size="00001000"/>
    <module path="/usr/share/fonts/TTF/DejaVuSansMono.ttf" address="abcae000" size="00052000"/>
    <module path="/usr/lib/codeblocks/plugins/libcopystrings.so" address="abe00000" size="00007000"/>
    <module path="/usr/lib/codeblocks/plugins/libcopystrings.so" address="abe08000" size="00001000"/>
    <module path="/usr/lib/codeblocks/plugins/libenvvars.so" address="abe23000" size="00001000"/>
    <module path="/usr/lib/wxSmithContribItems/libwxcustombutton.so.0.0.1" address="abe25000" size="0000a000" version="0.0.1"/>
    <module path="/usr/lib/wxSmithContribItems/libwxcustombutton.so.0.0.1" address="abe30000" size="00001000" version="0.0.1"/>
    <module path="/usr/share/mime/mime.cache" address="ade35000" size="0001f000"/>
    <module path="/usr/lib/libgvfscommon.so.0.0.0" address="ade6a000" size="00001000" version="0.0.0"/>
    <module path="/usr/lib/codeblocks/plugins/libCccc.so" address="ade6c000" size="00007000"/>
    <module path="/usr/lib/codeblocks/plugins/libCccc.so" address="ade74000" size="00001000"/>
    <module path="/usr/share/mime/mime.cache" address="ade76000" size="0001f000"/>
    <module path="/usr/lib/gio/modules/libgvfsdbus.so" address="adebf000" size="00001000"/>
    <module path="/usr/local/share/icons/hicolor/icon-theme.cache" address="adec1000" size="00091000"/>
    <module path="/usr/share/icons/hicolor/icon-theme.cache" address="af2a9000" size="01357000"/>
    <module path="/usr/lib/codeblocks/plugins/libwxsmith.so" address="b0701000" size="00002000"/>
    <module path="/usr/lib/codeblocks/plugins/libwxsmith.so" address="b0704000" size="00001000"/>
    <module path="/usr/share/fonts/TTF/DejaVuSans.ttf" address="b0721000" size="000b0000"/>
    <module path="/usr/share/locale/ru/LC_MESSAGES/gdk-pixbuf.mo" address="b07d4000" size="00008000"/>
    <module path="/dev/shm/pulse-shm-3776743730" address="b0fdd000" size="04001000"/>
    <module path="/lib/libnsl-2.15.so" address="b4ff3000" size="00001000" version="2.15"/>
    <module path="/usr/lib/libvorbisenc.so.2.0.9" address="b4ff7000" size="00166000" version="2.0.9"/>
    <module path="/usr/lib/libvorbisenc.so.2.0.9" address="b516e000" size="00001000" version="2.0.9"/>
    <module path="/usr/lib/libFLAC.so.8.2.0" address="b51be000" size="00001000" version="8.2.0"/>
    <module path="/usr/lib/libasyncns.so.0.3.1" address="b51c4000" size="00001000" version="0.3.1"/>
    <module path="/usr/lib/libsndfile.so.1.0.25" address="b51c6000" size="0006c000" version="1.0.25"/>
    <module path="/usr/lib/libsndfile.so.1.0.25" address="b5233000" size="00001000" version="1.0.25"/>
    <module path="/usr/lib/libdbus-1.so.3.5.9" address="b5238000" size="00048000" version="3.5.9"/>
    <module path="/usr/lib/libdbus-1.so.3.5.9" address="b5281000" size="00001000" version="3.5.9"/>
    <module path="/usr/lib/libpulsecommon-1.1.so" address="b52e7000" size="00001000" version="1.1"/>
    <module path="/usr/lib/libpulse.so.0.13.5" address="b52e9000" size="0004c000" version="0.13.5"/>
    <module path="/usr/lib/libpulse.so.0.13.5" address="b5336000" size="00001000" version="0.13.5"/>
    <module path="/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so" address="b533f000" size="00001000" version="xpm"/>
    <module path="/usr/lib/libudev.so.0.13.1" address="b5341000" size="0000e000" version="0.13.1"/>
    <module path="/usr/lib/libudev.so.0.13.1" address="b5350000" size="00001000" version="0.13.1"/>
    <module path="/usr/lib/libcanberra-0.28/libcanberra-pulse.so" address="b5360000" size="00006000" version="pulse"/>
    <module path="/usr/lib/libcanberra-0.28/libcanberra-pulse.so" address="b5367000" size="00001000" version="pulse"/>
    <module path="/var/cache/fontconfig/f6b893a7224233d96cb72fd88691c0b4-le32d4.cache-3" address="b540d000" size="0002a000"/>
    <module path="/var/cache/fontconfig/df311e82a1a24c41a75c2c930223552e-le32d4.cache-3" address="b5478000" size="00041000"/>
    <module path="/usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so" address="b5519000" size="0002f000" version="2.0/2.10.0/engines/libclearlooks"/>
    <module path="/usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so" address="b5549000" size="00001000" version="2.0/2.10.0/engines/libclearlooks"/>
    <module path="/usr/lib/libltdl.so.7.3.0" address="b5553000" size="00001000" version="7.3.0"/>
    <module path="/usr/lib/libtdb.so.1.2.9" address="b5555000" size="00011000" version="1.2.9"/>
    <module path="/usr/lib/libtdb.so.1.2.9" address="b5567000" size="00001000" version="1.2.9"/>
    <module path="/usr/lib/libogg.so.0.8.0" address="b556e000" size="00001000" version="0.8.0"/>
    <module path="/usr/lib/libvorbis.so.0.4.6" address="b5599000" size="00001000" version="0.4.6"/>
    <module path="/usr/lib/libvorbisfile.so.3.3.5" address="b559b000" size="00008000" version="3.3.5"/>
    <module path="/usr/lib/libvorbisfile.so.3.3.5" address="b55a4000" size="00001000" version="3.3.5"/>
    <module path="/usr/lib/libcanberra.so.0.2.5" address="b55b5000" size="00001000" version="0.2.5"/>
    <module path="/usr/lib/libcanberra-gtk.so.0.1.8" address="b55b7000" size="00004000" version="0.1.8"/>
    <module path="/usr/lib/libcanberra-gtk.so.0.1.8" address="b55bc000" size="00001000" version="0.1.8"/>
    <module path="/lib/libnss_files-2.15.so" address="b55f3000" size="0000b000" version="2.15"/>
    <module path="/lib/libnss_files-2.15.so" address="b55ff000" size="00001000" version="2.15"/>
    <module path="/usr/lib/libjson.so.0.0.1" address="b5603000" size="00007000" version="0.0.1"/>
    <module path="/usr/lib/libjson.so.0.0.1" address="b560b000" size="00001000" version="0.0.1"/>
    <module path="/var/cache/fontconfig/a98d8961fa319a64d3cfd8640c79e62d-le32d4.cache-3" address="b561c000" size="00007000"/>
    <module path="/usr/share/locale/ru/LC_MESSAGES/libc.mo" address="b5629000" size="0002e000"/>
    <module path="/usr/lib/locale/locale-archive" address="b5788000" size="00200000"/>
    <module path="/lib/libbz2.so.1.0.6" address="b598e000" size="0000f000" version="1.0.6"/>
    <module path="/lib/libresolv-2.15.so" address="b599e000" size="00013000" version="2.15"/>
    <module path="/lib/libresolv-2.15.so" address="b59b2000" size="00001000" version="2.15"/>
    <module path="/usr/lib/libpixman-1.so.0.24.4" address="b59b5000" size="00093000" version="0.24.4"/>
    <module path="/usr/lib/libpixman-1.so.0.24.4" address="b5a4c000" size="00001000" version="0.24.4"/>
    <module path="/usr/lib/libfreetype.so.6.8.1" address="b5ae4000" size="00004000" version="6.8.1"/>
    <module path="/usr/lib/libXdmcp.so.6.0.0" address="b5ae9000" size="00005000" version="6.0.0"/>
    <module path="/usr/lib/libXdmcp.so.6.0.0" address="b5aef000" size="00001000" version="6.0.0"/>
    <module path="/usr/lib/libXau.so.6.0.0" address="b5af1000" size="00002000" version="6.0.0"/>
    <module path="/usr/lib/libXau.so.6.0.0" address="b5af4000" size="00001000" version="6.0.0"/>
    <module path="/usr/lib/liblzma.so.5.0.3" address="b5b1a000" size="00001000" version="5.0.3"/>
    <module path="/usr/lib/libuuid.so.1.3.0" address="b5b1c000" size="00004000" version="1.3.0"/>
    <module path="/usr/lib/libuuid.so.1.3.0" address="b5b21000" size="00001000" version="1.3.0"/>
    <module path="/usr/lib/libICE.so.6.3.0" address="b5b38000" size="00001000" version="6.3.0"/>
    <module path="/usr/lib/libffi.so.5.0.10" address="b5b3c000" size="00005000" version="5.0.10"/>
    <module path="/usr/lib/libffi.so.5.0.10" address="b5b42000" size="00001000" version="5.0.10"/>
    <module path="/lib/librt-2.15.so" address="b5b44000" size="00007000" version="2.15"/>
    <module path="/lib/librt-2.15.so" address="b5b4c000" size="00001000" version="2.15"/>
    <module path="/usr/lib/libpcre.so.1.0.0" address="b5ba7000" size="00001000" version="1.0.0"/>
    <module path="/usr/lib/libpcre.so.1.0.0" address="b5ba9000" size="00001000" version="1.0.0"/>
    <module path="/usr/lib/libXdamage.so.1.1.0" address="b5bac000" size="00001000" version="1.1.0"/>
    <module path="/usr/lib/libXcomposite.so.1.0.0" address="b5bae000" size="00002000" version="1.0.0"/>
    <module path="/usr/lib/libXcomposite.so.1.0.0" address="b5bb1000" size="00001000" version="1.0.0"/>
    <module path="/usr/lib/libXcursor.so.1.0.2" address="b5bbb000" size="00001000" version="1.0.2"/>
    <module path="/usr/lib/libXrandr.so.2.2.0" address="b5bbe000" size="00007000" version="2.2.0"/>
    <module path="/usr/lib/libXrandr.so.2.2.0" address="b5bc6000" size="00001000" version="2.2.0"/>
    <module path="/usr/lib/libXi.so.6.1.0" address="b5bd5000" size="00001000" version="6.1.0"/>
    <module path="/usr/lib/libXrender.so.1.3.0" address="b5bd7000" size="00009000" version="1.3.0"/>
    <module path="/usr/lib/libXrender.so.1.3.0" address="b5be1000" size="00001000" version="1.3.0"/>
    <module path="/usr/lib/libXext.so.6.4.0" address="b5bf3000" size="00001000" version="6.4.0"/>
    <module path="/usr/lib/libgmodule-2.0.so.0.3000.2" address="b5bf5000" size="00003000" version="0.3000.2"/>
    <module path="/usr/lib/libgmodule-2.0.so.0.3000.2" address="b5bf9000" size="00001000" version="0.3000.2"/>
    <module path="/usr/lib/libfontconfig.so.1.4.4" address="b5bfb000" size="00033000" version="1.4.4"/>
    <module path="/usr/lib/libfontconfig.so.1.4.4" address="b5c2f000" size="00001000" version="1.4.4"/>
    <module path="/usr/lib/libpangoft2-1.0.so.0.2904.0" address="b5c5c000" size="00001000" version="0.2904.0"/>
    <module path="/usr/lib/libgio-2.0.so.0.3000.2" address="b5c5e000" size="00140000" version="0.3000.2"/>
    <module path="/usr/lib/libgio-2.0.so.0.3000.2" address="b5da0000" size="00001000" version="0.3000.2"/>
    <module path="/usr/lib/libcairo.so.2.11000.2" address="b5da2000" size="000b4000" version="2.11000.2"/>
    <module path="/usr/lib/libcairo.so.2.11000.2" address="b5e57000" size="00001000" version="2.11000.2"/>
    <module path="/usr/lib/libatk-1.0.so.0.20209.1" address="b5e5a000" size="0001e000" version="0.20209.1"/>
    <module path="/usr/lib/libatk-1.0.so.0.20209.1" address="b5e7a000" size="00001000" version="0.20209.1"/>
    <module path="/usr/lib/libXfixes.so.3.1.0" address="b5e7c000" size="00004000" version="3.1.0"/>
    <module path="/usr/lib/libXfixes.so.3.1.0" address="b5e81000" size="00001000" version="3.1.0"/>
    <module path="/usr/lib/libpangocairo-1.0.so.0.2904.0" address="b5e8d000" size="00001000" version="0.2904.0"/>
    <module path="/usr/lib/libxcb.so.1.1.0" address="b5e8f000" size="00020000" version="1.1.0"/>
    <module path="/usr/lib/libxcb.so.1.1.0" address="b5eb0000" size="00001000" version="1.1.0"/>
    <module path="/usr/lib/libexpat.so.1.6.0" address="b5ed7000" size="00001000" version="1.6.0"/>
    <module path="/usr/lib/libexpat.so.1.6.0" address="b5eda000" size="00001000" version="1.6.0"/>
    <module path="/usr/lib/libz.so.1.2.6" address="b5ef0000" size="00001000" version="1.2.6"/>
    <module path="/usr/lib/libtiff.so.5.0.6" address="b5ef3000" size="0006f000" version="5.0.6"/>
    <module path="/usr/lib/libtiff.so.5.0.6" address="b5f63000" size="00002000" version="5.0.6"/>
    <module path="/usr/lib/libjpeg.so.8.0.2" address="b5f66000" size="00045000" version="8.0.2"/>
    <module path="/usr/lib/libjpeg.so.8.0.2" address="b5fac000" size="00001000" version="8.0.2"/>
    <module path="/usr/lib/libpng15.so.15.10.0" address="b5fbd000" size="0002e000" version="15.10.0"/>
    <module path="/usr/lib/libpng15.so.15.10.0" address="b5fec000" size="00001000" version="15.10.0"/>
    <module path="/usr/lib/libSM.so.6.0.1" address="b5ff4000" size="00001000" version="6.0.1"/>
    <module path="/usr/lib/libXxf86vm.so.1.0.0" address="b5ff6000" size="00004000" version="1.0.0"/>
    <module path="/usr/lib/libXxf86vm.so.1.0.0" address="b5ffb000" size="00001000" version="1.0.0"/>
    <module path="/usr/lib/libXinerama.so.1.0.0" address="b5ffe000" size="00001000" version="1.0.0"/>
    <module path="/usr/lib/libgthread-2.0.so.0.3000.2" address="b6001000" size="00004000" version="0.3000.2"/>
    <module path="/usr/lib/libgthread-2.0.so.0.3000.2" address="b6006000" size="00001000" version="0.3000.2"/>
    <module path="/usr/lib/libpango-1.0.so.0.2904.0" address="b604f000" size="00001000" version="0.2904.0"/>
    <module path="/usr/lib/libglib-2.0.so.0.3000.2" address="b6051000" size="000f6000" version="0.3000.2"/>
    <module path="/usr/lib/libglib-2.0.so.0.3000.2" address="b6148000" size="00001000" version="0.3000.2"/>
    <module path="/usr/lib/libgdk_pixbuf-2.0.so.0.2400.1" address="b616b000" size="00001000" version="0.2400.1"/>
    <module path="/usr/lib/libgobject-2.0.so.0.3000.2" address="b616d000" size="0004c000" version="0.3000.2"/>
    <module path="/usr/lib/libgobject-2.0.so.0.3000.2" address="b61ba000" size="00001000" version="0.3000.2"/>
    <module path="/usr/lib/libgdk-x11-2.0.so.0.2400.10" address="b61bc000" size="000ab000" version="0.2400.10"/>
    <module path="/usr/lib/libgdk-x11-2.0.so.0.2400.10" address="b6269000" size="00001000" version="0.2400.10"/>
    <module path="/usr/lib/libgtk-x11-2.0.so.0.2400.10" address="b66be000" size="00001000" version="0.2400.10"/>
    <module path="/usr/lib/libgtk-x11-2.0.so.0.2400.10" address="b66c3000" size="00002000" version="0.2400.10"/>
    <module path="/lib/libm-2.15.so" address="b66c7000" size="0002a000" version="2.15"/>
    <module path="/lib/libm-2.15.so" address="b66f2000" size="00001000" version="2.15"/>
    <module path="/lib/libdl-2.15.so" address="b66f6000" size="00001000" version="2.15"/>
    <module path="/usr/lib/libX11.so.6.3.0" address="b66f8000" size="00132000" version="6.3.0"/>
    <module path="/usr/lib/libX11.so.6.3.0" address="b682b000" size="00001000" version="6.3.0"/>
    <module path="/usr/lib/libwx_baseu_xml-2.8.so.0.8.0" address="b682f000" size="00008000" version="0.8.0"/>
    <module path="/usr/lib/libwx_baseu_xml-2.8.so.0.8.0" address="b6838000" size="00001000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_richtext-2.8.so.0.8.0" address="b683a000" size="000da000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_richtext-2.8.so.0.8.0" address="b691a000" size="00001000" version="0.8.0"/>
    <module path="/lib/libc-2.15.so" address="b691d000" size="0019b000" version="2.15"/>
    <module path="/lib/libc-2.15.so" address="b6ab9000" size="00002000" version="2.15"/>
    <module path="/usr/lib/libgcc_s.so.1" address="b6abf000" size="0001c000" version="1"/>
    <module path="/usr/lib/libstdc++.so.6.0.17" address="b6adc000" size="000dc000" version="6.0.17"/>
    <module path="/usr/lib/libstdc++.so.6.0.17" address="b6bbc000" size="00001000" version="6.0.17"/>
    <module path="/lib/libpthread-2.15.so" address="b6bc4000" size="00017000" version="2.15"/>
    <module path="/lib/libpthread-2.15.so" address="b6bdc000" size="00001000" version="2.15"/>
    <module path="/usr/lib/libwx_baseu-2.8.so.0.8.0" address="b6be0000" size="00136000" version="0.8.0"/>
    <module path="/usr/lib/libwx_baseu-2.8.so.0.8.0" address="b6d17000" size="00004000" version="0.8.0"/>
    <module path="/usr/lib/libwx_baseu_net-2.8.so.0.8.0" address="b6d26000" size="00029000" version="0.8.0"/>
    <module path="/usr/lib/libwx_baseu_net-2.8.so.0.8.0" address="b6d50000" size="00001000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_core-2.8.so.0.8.0" address="b6d52000" size="002f7000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_core-2.8.so.0.8.0" address="b704a000" size="00026000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_adv-2.8.so.0.8.0" address="b707d000" size="000ab000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_adv-2.8.so.0.8.0" address="b7130000" size="00001000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_html-2.8.so.0.8.0" address="b7133000" size="00089000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_html-2.8.so.0.8.0" address="b71c1000" size="00002000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_qa-2.8.so.0.8.0" address="b71c4000" size="00019000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_qa-2.8.so.0.8.0" address="b71de000" size="00001000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_xrc-2.8.so.0.8.0" address="b71e0000" size="0007a000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_xrc-2.8.so.0.8.0" address="b725d000" size="00001000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_aui-2.8.so.0.8.0" address="b725f000" size="0005d000" version="0.8.0"/>
    <module path="/usr/lib/libwx_gtk2u_aui-2.8.so.0.8.0" address="b72bf000" size="00001000" version="0.8.0"/>
    <module path="/usr/lib/libcodeblocks.so.0.0.1" address="b72c1000" size="00431000" version="0.0.1"/>
    <module path="/usr/lib/libcodeblocks.so.0.0.1" address="b7703000" size="00005000" version="0.0.1"/>
    <module path="/usr/local/share/mime/mime.cache" address="b770e000" size="00001000"/>
    <module path="/lib/libutil-2.15.so" address="b7711000" size="00001000" version="2.15"/>
    <module path="/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so" address="b7713000" size="00005000" version="module"/>
    <module path="/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so" address="b7719000" size="00001000" version="module"/>
    <module path="/usr/lib/gconv/UTF-32.so" address="b7733000" size="00002000" version="32"/>
    <module path="/usr/lib/gconv/UTF-32.so" address="b7736000" size="00001000" version="32"/>
    <module path="[vdso]" address="b7738000" size="00001000"/>
    <module path="/lib/ld-2.15.so" address="b7759000" size="00001000" version="2.15"/>
    </modules>
    <stack>
    <frame level="0" function="wxFatalSignalHandler" offset="00000023"/>
    <frame level="1"/>
    <frame level="2" function="wxStringBase::operator=(wxStringBase const&amp;)" offset="0000001a"/>
    <frame level="3" function="DebuggerGDB::Debug()" offset="000001f3"/>
    <frame level="4" function="DebuggerGDB::OnAttachToProcess(wxCommandEvent&amp;)" offset="0000014b"/>
    <frame level="5" function="wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&amp;), wxEvent&amp;) const" offset="00000028"/>
    <frame level="6" function="wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&amp;, wxEvtHandler*, wxEvent&amp;)" offset="0000007a"/>
    <frame level="7" function="wxEventHashTable::HandleEvent(wxEvent&amp;, wxEvtHandler*)" offset="000000ab"/>
    <frame level="8" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="000000e1"/>
    <frame level="9" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="10" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="11" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="12" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="13" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="14" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="15" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="16" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="17" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="18" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="19" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="20" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="21" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="22" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="23" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="24" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="25" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="26" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="27" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="28" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="29" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="30" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="31" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="32" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="33" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="34" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="35" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="36" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000071"/>
    <frame level="37"/>
    <frame level="38" function="g_cclosure_marshal_VOID__VOID" offset="0000008c"/>
    <frame level="39" function="g_closure_invoke" offset="000001ac"/>
    <frame level="40"/>
    <frame level="41" function="g_signal_emit_valist" offset="00000777"/>
    <frame level="42" function="g_signal_emit" offset="00000033"/>
    <frame level="43" function="gtk_widget_activate" offset="00000095"/>
    <frame level="44" function="gtk_menu_shell_activate_item" offset="00000117"/>
    <frame level="45"/>
    <frame level="46"/>
    <frame level="47"/>
    <frame level="48"/>
    <frame level="49" function="g_closure_invoke" offset="000001ac"/>
    <frame level="50"/>
    <frame level="51" function="g_signal_emit_valist" offset="00000589"/>
    <frame level="52" function="g_signal_emit" offset="00000033"/>
    <frame level="53"/>
    <frame level="54" function="gtk_propagate_event" offset="000000ce"/>
    <frame level="55" function="gtk_main_do_event" offset="000002c0"/>
    <frame level="56"/>
    <frame level="57" function="g_main_context_dispatch" offset="000001df"/>
    <frame level="58"/>
    <frame level="59" function="g_main_loop_run" offset="0000014b"/>
    <frame level="60" function="gtk_main" offset="000000af"/>
    <frame level="61" function="wxEventLoop::Run()" offset="0000004a"/>
    <frame level="62" function="wxAppBase::MainLoop()" offset="0000004f"/>
    <frame level="63" function="wxAppBase::OnRun()" offset="0000001f"/>
    <frame level="64"/>
    </stack>
    </report>
    I've just wrote a simple helloworld in C, added getchar() to wait, compiled it with "-g" flag and tried to attach to it with this IDE. Tried on 2 machines, different binaries: same result - IDE crashes. Am I doing something wrong, or this is a problem with WxWidgets/Code::Blocks?
    My packages are: wxgtk 2.8.12.1-3, codeblocks 10.05-2 and gdb 7.4-1.
    Last edited by dontbugme (2012-04-24 02:19:16)

    Are you running on an x86_64 architecture?  If so I have a pacman Code::Blocks package which is the current SVN I could upload somewhere for you..
    If not, check: Here to download and make the latest SVN version.  There is a patch you have to apply on that page and also you need to make the build using the makepkg "-fpermissive" option.
    Why do you want this SVN version (version 7932)?  Well, it's current as of April 14 this month.  The C::B 10.05 version is 2010, 5th month.  So way out of date.  There have been no official builds since then so you want to be using SVN until there is.
    I don't know if using the SVN version would fix your issue but even if not: it has a host of other enhancements and fixes.

  • WIKI Editor Bug with Code Blocks!

    This is a reminder of a problem that was talked lot of time and still an issue!
    For example this thread:
    http://social.technet.microsoft.com/Forums/en-US/8645bd04-474a-468f-8c0f-0f8678689437/code-block-edit-bug?forum=reportabug
    and Here is a new image to show the problem again:
    >> In the left you can see there is a code block without style formatting! The format messed up.
    looking at the HTML code we can notice the problem!
    All the style properties in regarding the code blocks disappeared
    1. the main div should be like this:
    <div class="reCodeBlock" style="border:1px solid #7f9db9;width:97%;overflow-y:auto;">
    but it become like this:
    <div class="reCodeBlock">
    each line in the code in in DIV and should be:
    <div style="background-color:#ffffff;">
    but it become:
    <div>
    >> I took a screenshot of the bug and I will take another screenshot in moment after I will fix it
    [Personal Site] [Blog] [Facebook]

    Is this the color problem, where all colors (not just in code) that are specified in the HTML with RGB values (decimal or hex) are lost when the article is saved in certain browsers? If so, we have found that even after the article is "fixed", if it
    is later saved in certain browers it will be broken again.
    I thought the fix was to replace all RGB values with standard color names. However, when the article is later saved, the standard color names can get converted back to RGB values, which get lost after another save (in the wrong browser). If this is the issue,
    it has been known for some time, but gets complicated and difficult to understand fully. It is believed that using Firefox or Chrome avoids the problem, but if someone later edits the article in IE, no matter how minor the edit, the colors can still be
    lost.
    Richard Mueller - MVP Directory Services

  • [Development] Code::Blocks C/C++ IDE

    heres an incomplete pkgbuild for code::blocks.
    the trouble is it uses a non-standard build script, once it compiles, the files are all over the place, i have no idea where the files are, or where to put them!! (hence the return 1 in the pkgbuild)
    any help packaging this would be good since im after a replacement for Anjuta (its code completion is basically non-existant, its auto-formatting and `indent' code is terrible.. bleugh)
    here is the wiki for its installation, its not much help at all
    http://codeblocks.sourceforge.net/wiki/ … distros%29
    #contributor: Adam Griffiths <adam_griffithsAATTdart.net.au>
    pkgname=codeblocks
    pkgver=1.0beta7
    pkgrel=1
    pkgdesc="Code::Blocks is a free C/C++ IDE built specifically to meet the most demanding needs of its users. It has been designed, right from the start, to be extensible and configurable..."
    url="http://www.codeblocks.org/"
    license="GPL"
    depends=('wxgtk')
    source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-1.0-beta7.tar.gz)
    build()
    cd $startdir/src/$pkgname-1.0-beta7/src/
    make -f Makefile.unix prefix=$startdir/pkg
    return 1
    md5sums=('c5f5d3c1e9bb29d9d746a153e781015b')

    This works fine:
    #contributor: Adam Griffiths <adam_griffithsAATTdart.net.au>
    #contributor: Bart Leusink <[email protected]
    pkgname=codeblocks-cvs
    pkgver=20051003
    pkgrel=2
    pkgdesc="Code::Blocks is a free C/C++ IDE built specifically to meet the most demanding needs of its users. It has been designed, right from the start, to be extensible and configurable..."
    url="http://www.codeblocks.org/"
    depends=('wxgtk')
    conflicts=(codeblocks)
    provides=(codeblocks)
    source=()
    md5sums=()
    build()
    cvs -z5 -d:pserver:[email protected]:/cvsroot/codeblocks co -P codeblocks
    cd $startdir/src/codeblocks/
    ./bootstrap
    ./configure --prefix=/usr
    make
    make DESTDIR=$startdir/pkg install
    find $startdir/pkg -name '*.la' -exec rm {} ;
    (cvs is the recommended way of installing codeblocks for linux)

  • [CS5-5.5][JS] Replace xml element content with user selection

    Hi,
    I'm trying to write a script that replaces xml element content with a user selection.
    I have document containing a textframe with a "root" tag attached. In this frame I have 2 paragraphs, each tagged with a different tag.
    I would like to replace the content of one of the paragraphs with the content of a text selection.
    This piece of code doesn't seem to work:
    myXMLElement.xmlContent = app.selection[0];
    The problem is that almost all properties of the xmlelement (paragraphs, words, etc) are read-only.
    Does anyone have any suggestion?
    Thanx

    It depends on whether you want to maintain formatting. You can use
    myXMLElement.contents = app.selection[0].contents;
    in the (unlikely?) event that you don't mind blowing away the formatting. Otherwise you'll want to use something like:
    myXMLElement.xmlContent.remove();
    app.selection[0].duplicate(LocationOptions.AT_BEGINNING, myXMLElement.xmlContent);
    Jeff

  • How to store EXCEPTION code in separate code block for ease of maintenance?

    I'm new to pl/sql and oracle, but I've created a lot of procedures that use the same business logic for security checks. I've tried to outline an example stored procedure below.
    If my security checks that I use to raise exceptions are always the same for all of the stored procedures, what's the best way to structure the procedure/environment so that if I ever want to change (such as add or delete) the exceptions, that I don't need to manually edit each individual procedure? Could I call another procedure to do this, and the exceptions will be raised up through it to the calling procedure? Any example would be much appreciated.
    create or replace
    PROCEDURE MY_SPROC(
    AS
    begin
    /***** security check ****/
    SELECT col1, col2 INTO v_col1, v_col2
    FROM my_table1 WHERE user_email = in_user_id;
    -- check 1
    IF v_col1 != in_var1 THEN
    RAISE e_bad_input;
    -- check 2
    ELSIF v_col2 = in_var2 THEN
    RAISE e_bad_form;
    ELSIF ...
    END IF;
    ... /* body of code */
    EXCEPTION
    WHEN e_bad_input THEN out_msg := 'Error 1 …';
    WHEN e_bad_form THEN out_msg := 'Error 2 ...';
    WHEN e_bad_output THEN out_msg := 'Error 3 ...';
    WHEN NO_DATA_FOUND THEN out_msg := 'Error 4 …';
    WHEN OTHERS THEN out_msf := 'Error 5 ...';
    RAISE;
    end MY_SPROC;

    >
    Some other languages like ActionScript or C offer "import" or "include" commands that can be used to insert a code block to a function or procedure as if that block was typed exactly where it was imported or included
    >
    There is no equivalent of 'include'.
    >
    suppose I want to change the text description or error number in the exception
    I wonder what others do in this situation?
    >
    One way is to use the RAISE_APPLICATION_ERROR procedure.
    See Defining Your Own Error Messages (RAISE_APPLICATION_ERROR Procedure) in the PL/SQL Language doc
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/errors.htm#BABGIIBI
    >
    The RAISE_APPLICATION_ERROR procedure lets you issue user-defined ORA-n error messages from stored subprograms. That way, you can report errors to your application and avoid returning unhandled exceptions.
    To invoke RAISE_APPLICATION_ERROR, use the following syntax:
    raise_application_error(
    error_number, message[, {TRUE | FALSE}]);
    where error_number is a negative integer in the range -20000..-20999 and message is a character string up to 2048 bytes long. If the optional third parameter is TRUE, the error is placed on the stack of previous errors. If the parameter is FALSE (the default), the error replaces all previous errors. RAISE_APPLICATION_ERROR is part of package DBMS_STANDARD, and as with package STANDARD, you need not qualify references to it.
    An application can invoke raise_application_error only from an executing stored subprogram (or method). When invoked, raise_application_error ends the subprogram and returns a user-defined error number and message to the application. The error number and message can be trapped like any Oracle Database error.
    >
    The error_number and message can be variables so for generalization you could define the actual list of each in the package spec and then reference them by variable name in the code.
    So instead of
    RAISE e_bad_input;
    EXCEPTION
    WHEN e_bad_input THEN out_msg := 'Error 1 …';You would code
    -- package spec
    gc_bad_input_number NUMBER := -20001;
    gc_bad_input_message VARCHAR2(30) := 'Bad Input Message';
    -- code in procedure
    raise_application_error(gc_bad_input_number , gc_bad_input_message [, {TRUE | FALSE}]);Then you can change the message numbes and text used by changing the package spec and recompiling.
    NOTE: If you change the package spec it will invalidate related objects and they will need to be recompiled. So this approach is suitable when deploying new code in a window when the system is not available for users.
    An alternative is to create a table that contains the error numbers and messages and then load them into the package in the package body using the package level initialization section (a top-level block BEGIN). For that approach though the values might be loaded into an associative array where the key for each entry is the type of exception; for example 'bad_input'.
    The RAISE_APPLICATION_ERROR would reference the associative array for 'error_number's by using 'bad_input' as the key and the text message array the same way.
    The first approach hard-codes the codes and messages into the package spec so a code review can see them all.
    The second approach is table-driven and indirect so by looking at the code you don't really know what the codes or messages are going to be.
    Either approach could use a separate package spec dedicated to exception handling variables and declarations.
    Is that more like what you had in mind?

  • Copying CRM_IC.XML Code

    I am trying to copy the Framework Profile "Default"  - IC WebClient - to my own (Z_FRAME_AA). During this process, I could not figure out how to copy the XML Code CRM_IC.XML to the Clipboard, and then paste it into a new file. Please let me know the procedure.

    Are you CRM 4.0 ?  Because CRM 5.0 is very user friendly .
    Try using Cntrl-Y to Select block of text and Copy.  I am not sure , just guessing.

  • How can I avoid automatic build of an User Code Block at SystemBuild

    Hi,
    I've created a simulation with a User Code Block at SystemBuild. I want the building process to be performed manually, so I changed the buildProcess tag in xml file which is generated by SystemBuild to "Manual". Unfortunately it doesn't work. When I try to execute the simulation, the xml file is overwriten, the buildProcess tag is set to "Automatic" and the software tries to build the library again. How can I avoid automatic build of an User Code Block at SystemBuild?
    Thanks.
    Attachments:
    fileInterface.zip ‏1 KB

    The xml file generated when a UserCodeBlock is linked usually contains the following at the top of the file:
    <DynamicLib xmlVersion="1"
                architecture="WIN32_DLL"
                rtLibLinkage="Dynamic"
                buildProcess="Automatic"
                debug="no">
    To prevent sim from automatically rebuilding your UCB dll change the tag buildProcess to "Manual"
    Bob Wilson
    MATRIXx R&D

  • Code Block issues

    Repost from the new forums, so it doesn't get wiped
    * First & foremost, is there a way to make code blocks slightly wider? Or to make the whole forum flex-width instead of fix-width? Currently I can see that a LOT of code is going to be off the right hand edge of the page. That "Actions" column takes a frustrating amount of room.
    * Secondly, is tab-width within your control? That might help with the first issue too (eg, if the tabs indents only 3-4 spaces wide instead of 4 picas).
    * And finally, all the code I paste into the browser has double-spacing instead of single spacing. I suspect this is some weird cr/lr issue. Don't know if the back-end has some sort of tr ability to replace all of them with a single cr, but it would be really nice.
    * While we're making a wishlist, Applescript & Javascript code highlighting would be nice too!

    OK. We are now seeing some new behaviour.
    I've installed ODAC 11g 32 bit onto the problem machine.
    I also installed onto the system where things work.
    The result is:
    1) On the machine where everything worked with 10g ODAC, it's working fine with 11g
    2) On the machine where it DID NOT work with 10g ODAC, it still DOES NOT WORK.
    Using the 11g 32 bit ODAC, we now get the following exception:
    ora-12514: TNS: listener does not currently know of service requested in connect descriptor
    We are able to run SQLDeveloper and point to the same SID (ORCL) and we can connect to the DB instance fine.
    Here is what the TNSNAMES.ORA file looks like:
    # tnsnames.ora Network Configuration File: C:\app\DjM\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    LISTENER_ORCL =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.168.1.100)
    This is what the SQLNET.ORA file looks like:
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    This is what the connection string looks like:
    "user id=xxx;password=\"xxx\";data source=localhost:1521/ORCL"
    Again, any and all help/suggestions would be appreciated here.
    Thanks,
    JB

  • How get and edit xml code of BI Publisher Report

    Hi to all,
    I need to do some costumization to one BI Publisher report. Investigating I found a solution to do my costumization. However this requieres edit the xml code. Can you please let me know how can I get and edit this code?
    Thanks in advance
    regards
    Daniel

    obiee / ebs .... ?
    Investigating I found a solution to do my costumization. However this requieres edit the xml code.
    no need edit seeded code (it's for SR)
    your steps:
    - get seeded code
    - edit
    - create custom report
    Can you please let me know how can I get and edit this code?
    for ebs you can look xml publisher responsibility, find by code

  • Query in ASWE XML code doesn't return data

    Hello, since people on the Oracle Metalink site are to lazy to give an answer to this question. I'll try it via this forum. Here we go:
    I'm developing wireless applications running on Oracle9i Application Server Wireless Edition. I'v tried to implement the employee sample from Oracle Online Mobile Studio (studio.oraclemobile.com). The sample name is employee.jsp. This sample combines XML code with JSP.
    (code at the end of the text)
    When I test the sample I get no query results.
    When you take the first option for example, (search by dept number) the query result will not be displayed. I think it has something to do with the "executeQuery" line.
    rset = stmt.executeQuery("select * from EMP where EMPNO='" + empNum + "'");
    After giving the following input (employeenumber) 7369 (which excists in the
    database). I get the following errors:
    The panama server log returns the following error:
    1/14/02 5:19:28 PM NOTIFY : [Thread-13]
    core.XSLTransformerImpl.getXSLProc(XSLTransformerImpl.java:120)
    Create 10 number of XSL-processor for TINY_HTML
    1/14/02 5:19:35 PM NOTIFY : [Thread-15]
    adapter.URLAdapter.invoke(URLAdapter.java:240)
    URL = http://host/portal/test/employee.jsp
    1/14/02 5:19:37 PM NOTIFY : [Thread-17] adapter.URLAdapter.invoke(URLAdapter.java:240)
    URL =http://host/portal/test/employee.jsp?choice=empNum
    1/14/02 5:19:49 PM NOTIFY : [Thread-19]adapter.URLAdapter.invoke(URLAdapter.java:240)
    URL =http://host/portal/test/employee.jsp?&empNum=7369
    1/14/02 5:19:50 PM ERROR : [Thread-19]rt.common.Controller.reportServiceInvocationError(Controller.java:707)
    Service Invocation Error: Stream closed.
    The jserv.log returns the following error:
    [14/01/2002 17:19:50:431 CET] Invalid column name
    java.sql.SQLException: Invalid column name
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:273)
    at oracle.jdbc.driver.OracleStatement.get_column_index(OracleStatement.java:4383)
    at oracle.jdbc.driver.OracleResultSetImpl.findColumn(OracleResultSetImpl.java:667)
    at oracle.jdbc.driver.OracleResultSet.getString(OracleResultSet.java:1374)
    at portal.test._employee._jspService(_employee.java:201)
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
    at oracle.jsp.JspServlet.internalService(JspServlet.java)
    at oracle.jsp.JspServlet.service(JspServlet.java)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at org.apache.jserv.JServConnection.processRequest(JServConnection.java:402)
    at org.apache.jserv.JServConnection.run(JServConnection.java:260)
    at java.lang.Thread.run(Thread.java:479)
    Does this have something to do with the encoding of the query result in the select statement? As you can see the variable is in the requeststring (URL = http://host/portal/test/employee.jsp?&empNum=7369)
    My database connection works fine (I've also tested the query using SQL plus and the SQL adapter also works).
    Is this the right statement?: ("select * from EMP where EMPNO='" + empNum + "'");
    I can not do anything with the error in the jserv.log (java.sql.SQLException: Invalid column name).
    The columnname EMPNO excists in the example table. The query in SQL plus gives a result.
    Can someone give my any suggestions?
    Thanks in advance.
    Thomas Wesseling, UCC
    ### Code of employee.jsp ###
    <?xml version="1.0" encoding="UTF-8"?>
    <SimpleResult>
    <SimpleContainer>
    <%@ page language="java" import="java.sql.*, java.util.*, java.text.* "%>
    <%
    //URL variables
    String choice = request.getParameter("choice");
    String empNum = request.getParameter("empNum");
    String lastName = request.getParameter("lastName");
    String jobTitle = request.getParameter("jobTitle");
    String deptNum = request.getParameter("deptNum");
    String notFoundMsg = null; //String for containing varying not found msg
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@172.16.0.51:1521:ora816", "scott", "tiger");
    Statement stmt = conn.createStatement();
    ResultSet rset = null;
    //**** Start of service - first card ****
    if (choice==null && empNum==null && lastName==null &&
    jobTitle==null && deptNum==null)
    %>
    <SimpleMenu title="Employee Search by:">
    <SimpleMenuItem target="employee.jsp?choice=empNum">Employee Number</SimpleMenuItem>
    <SimpleMenuItem target="employee.jsp?choice=lastName">Name</SimpleMenuItem>
    <SimpleMenuItem target="employee.jsp?choice=jobTitle">Job Title</SimpleMenuItem>
    <SimpleMenuItem target="employee.jsp?choice=deptNum">Dept Number</SimpleMenuItem>
    </SimpleMenu>
    <%
    //**** SECOND CARD - which search criteria ****
    if (choice!=null)
    if (choice.equals("empNum") && empNum == null)
    %>
    <!-- show search by employee number -->
    <SimpleForm target="employee.jsp?">
    <SimpleFormItem name="empNum" format="*N">Enter Employee Number: </SimpleFormItem>
    </SimpleForm>
    <%
    else if (choice.equals("lastName") && lastName == null)
    %>
    <!-- show search by last name -->
    <SimpleForm target="employee.jsp?">
    <SimpleFormItem name="lastName" format="*A">Enter Last Name: </SimpleFormItem>
    </SimpleForm>
    <%
    else if (choice.equals("jobTitle") && jobTitle == null)
    %>
    <!-- show search by job title -->
    <SimpleForm target="employee.jsp?">
    <SimpleFormSelect name="jobTitle" title="Enter Job Title:">
    <SimpleFormOption value="CLERK">Clerk</SimpleFormOption>
    <SimpleFormOption value="SALESMAN">Salesman</SimpleFormOption>
    <SimpleFormOption value="MANAGER">Manager</SimpleFormOption>
    <SimpleFormOption value="ANALYST">Analyst</SimpleFormOption>
    <SimpleFormOption value="PRESIDENT">President</SimpleFormOption>
    </SimpleFormSelect>
    </SimpleForm>
    <%
    else if (choice.equals("deptNum") && deptNum == null)
    %>
    <!-- show search by dept number -->
    <SimpleForm target="employee.jsp?">
    <SimpleFormItem name="deptNum" format="*N">Enter Dept Number: </SimpleFormItem>
    </SimpleForm>
    <%
    //**** THIRD CARD - query DB based on criteria ****
    //**** empNum entered as search criteria ****
    if (empNum != null) //empNum is entered as search criteria- NEED TO TEST FOR NON-int
    rset = stmt.executeQuery("select * from EMP where EMPNO='" + empNum + "'");
    if (rset.next()) //if rset returns data, show data
    do {
    %>
    <%@ include file="showResult.jsp" %>
    <%
    } while (rset.next());
    } //end rset.next() is true
    else
    notFoundMsg = "Employee Number " + empNum + " Not Found";
    %>
    <%@ include file="notFound.jsp" %>
    <% }
    } //end if empNum != null
    //**** lastName as search criteria ****
    else if (lastName != null)
    rset = stmt.executeQuery("select * from EMP where ENAME='" + lastName + "'");
    if (rset.next())
    do {
    %>
    <%@ include file="showResult.jsp" %>
    <%
    } while (rset.next());
    } //end rset.next is true
    else
    notFoundMsg = "Name " + lastName + " Not Found";
    %>
    <%@ include file="notFound.jsp" %>
    <% }
    } //end if lastName != null
    //**** jobTitle as search criteria ****
    else if (jobTitle != null)
    rset = stmt.executeQuery("select * from EMP where JOB='" + jobTitle + "'");
    if (rset.next())
    do {
    %>
    <%@ include file="showResult.jsp" %>
    <%
    } while (rset.next());
    } //end rset.next is true
    else
    notFoundMsg = "Job Title " + jobTitle + " Not Found";
    %>
    <%@ include file="notFound.jsp" %>
    <% }
    } //end if jobTitle != null
    //**** deptNum as search criteria ****
    else if (deptNum != null) //deptNum is entered as search criteria
    rset = stmt.executeQuery("select * from EMP where DEPTNO='" + deptNum + "'");
    if (rset.next())
    do {
    %>
    <%@ include file="showResult.jsp" %>
    <%
    } while (rset.next());
    else
    notFoundMsg = "Dept Number " + deptNum + " Not Found";
    %>
    <%@ include file="notFound.jsp" %>
    <% }
    } //end if deptNum != null
    conn.close();
    %>
    </SimpleContainer>
    </SimpleResult>
    ### Code of NotFound.jsp ###
    <SimpleText>
    <SimpleTextItem><%=notFoundMsg%></SimpleTextItem>
    <Action label="Search" type="ACCEPT" task="GO" target="employee.jsp?"></Action>
    </SimpleText>
    ### Code of ShowResult.jsp ###
    <%
    //format date from query
    java.sql.Date date = rset.getDate("HIREDATE");
    String hireDate = DateFormat.getDateInstance(DateFormat.MEDIUM).format(date);
    %>
    <SimpleText>
    <SimpleTextItem>Emp#: <%=rset.getString("EMPNO")%></SimpleTextItem>
    <SimpleTextItem>Name: <%=rset.getString("ENAME")%></SimpleTextItem>
    <SimpleTextItem>Job: <%=rset.getString("JOB")%></SimpleTextItem>
    <SimpleTextItem>Manager: <%=rset.getString("MGR")%></SimpleTextItem>
    <SimpleTextItem>Hire Date: <%=hireDate %></SimpleTextItem>
    <SimpleTextItem>Salary: <%=rset.getString("SAL")%></SimpleTextItem>
    <SimpleTextItem>Commission: <%=rset.getString("COMM")%></SimpleTextItem>
    <SimpleTextItem>Dept#: <%=rset.getString("DEPTNO")%></SimpleTextItem>
    <SimpleTextItem>Email: <%=rset.getString("EMAIL")%></SimpleTextItem>
    <SimpleTextItem>Phone: <%=rset.getString("PHONE")%></SimpleTextItem>
    <Action label="Search" type="SOFT1" task="GO" target="employee.jsp"></Action>
    <Action label="Call" type="OPTIONS" task="CALL" number="<%=rset.getString("PHONE")%>"></Action>
    </SimpleText>

    Is EMPNO really a string field and not a numeric field? Your query is like
    ... where EMPNO='1949'
    and should it perhaps be
    ... where EMPNO=1949
    ?

  • [SOLVED][Code::Blocks]Installed needed library, now what?

    Hi ARCH-ers,
    Today I've got IMO quite easy question but which I cannot overcome by myself - I want to start making some OpenGL stuff using GLFW in Code::Blocks enviroment. I've installed glfw package from official ARCH repositiories. But when I choose GLFW Project in Code::Blocks it asks me to point GLFW location. So now my question is : where it is? Where had this package been installed? Or maybe I'm missing some important puzzle in this whole thing.
    I've also googled out this page http://wiki.codeblocks.org/index.php?ti … lling_GLFW but this zip file seems to lack in Linux make files.
    Last edited by Winged4Ever (2014-02-12 17:17:12)

    @Raynman Thanks, 'pacman -Ql <name>' is what I was asking for.
    But unfortunately things have now turned out to be more complex than I thought. The way pacman have installed it seems not to be matching Code::Blocks needs - files are scattered all around dirrefent directiores while it need a proper arrangement.
    Output of 'pacman -Ql glfw':
    glfw /usr/
    glfw /usr/include/
    glfw /usr/include/GLFW/
    glfw /usr/include/GLFW/glfw3.h
    glfw /usr/include/GLFW/glfw3native.h
    glfw /usr/lib/
    glfw /usr/lib/cmake/
    glfw /usr/lib/cmake/glfw/
    glfw /usr/lib/cmake/glfw/glfwConfig.cmake
    glfw /usr/lib/cmake/glfw/glfwConfigVersion.cmake
    glfw /usr/lib/cmake/glfw/glfwTargets-noconfig.cmake
    glfw /usr/lib/cmake/glfw/glfwTargets.cmake
    glfw /usr/lib/libglfw.so
    glfw /usr/lib/libglfw.so.3
    glfw /usr/lib/libglfw.so.3.0
    glfw /usr/lib/pkgconfig/
    glfw /usr/lib/pkgconfig/glfw3.pc
    glfw /usr/share/
    glfw /usr/share/licenses/
    glfw /usr/share/licenses/glfw/
    glfw /usr/share/licenses/glfw/COPYING
    I tried pointing different directions but only /usr/include/GLFW have required glfw3.h file. and nonetheless Code::Blocks shows an error like this:
    The path you entered seems valid, but the wizard can't locate the include directory. The wizard cannot continue.
    Do anyone know Code::Blocks well enough to point me out a solution?
    EDIT:
    @progandy Didn't noticed your post. Anyway I'll try the possible solution as you described.
    Last edited by Winged4Ever (2014-02-12 12:44:58)

  • A class to format an XML string into indented xml code

    I am looking for a class or a piece of code to format an XML string into indented xml code
    for example: an XML string as follows
    <servlet><servlet-name>Login</servlet-name>servlet-class>ucs.merch.client.system.LoginServlet</servlet-class></servlet><servlet-mapping><servlet-name>Login</servlet-name>
    to format into :
    <servlet>
    <servlet-name>Login</servlet-name>
    <servlet-class>ucs.merch.client.system.LoginServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Login</servlet-name>
    <url-pattern>/Login</url-pattern>
    </servlet-mapping>
    e-mail : [email protected]

    Xerces has a class called OutputFormat
    If you have your XML document in memory, you can format it using the method setIndenting(true) on the OutputFormat class. The following is an example:
    assuming xmlDoc is our document and fileName is the name of the file we wish to write to:
    OutputFormat format = new OutputFormat(xmlDoc);
    // setup output file name
    PrintWriter printwriter = new PrintWriter(new FileWriter(fileName, false));
    // construct an XMLSerializer for writing the document
    XMLSerializer serializer = new XMLSerializer( printwriter, format );
    // Ensure output is indented correctly...
    format.setIndenting(true);
    // set serializer as a DOM Serializer
    serializer.asDOMSerializer();
    // serialize the document
    serializer.serialize(xmlDoc);
    hope this helps!
    Rob.

  • XML report output displays xml code instead of pdf

    Hi,
    My Release is R12.1.1, An xml report whose output is set as pdf. when running this report output is coming as xml code instead of pdf
    another xml report ouput is coming in word instead of pdf
    is there any additional settings required to display in pdf format
    eventhough i configured pasta.csg & ixlib.cfg files
    Thanks,
    Alig
    Edited by: user12257829 on Jun 2, 2010 11:41 PM
    Edited by: user12257829 on Jun 2, 2010 11:41 PM

    Hi,
    Helios
    Even i tried both MOS documents u have referenced, as both reports compeleting normally without any error
    one thing i want to know can application use the same pasta.cfg file for pdf and text format
    as i have a single pasta.cfg configured
    Thanks
    Alig
    Edited by: user12257829 on Jun 3, 2010 1:18 AM
    Edited by: user12257829 on Jun 3, 2010 1:18 AM

Maybe you are looking for

  • How to use first_record or Next_record in WHEN-VALIDATE-ITEM.

    Hi All, I have a multi-record block where, in one of the fields I need to add this PL/SQL so that for there is no gaps in sequence for S_type and cer_dl fields.below is the sample of how the record should appear. s_type cer_dl seq xyz ASD Y 1 N ASD Y

  • Questions on backing up photos

    I'm fairly new to IPhoto (and Mac) so I appreciate any help you can give me. I thought I had too many photos in IPhoto (approx 10,000) so I decided to save all of 2006 to a hard drive. I just copied the whole IPhoto Library folder to the hard drive.

  • How to get the free space from logical drive for solaris installation?

    Hi.. I am using win-xp.In the extended drive I have freed 10gb by deleting one of the logical drives.I wish to know how to proceed for solaris installation in the space available with out disturbing the data in other logical drives.Is there any tool?

  • Can we access popularity trends using client side script?

    Hi,   I have a requirement to show the hit count for my image library's item(s). When ever I am opening an image from the image library, I just wanted to show the hit counts. For this I have created a Number column and updating this column by using C

  • PLSQL Entity or Java Entity

    I have requirement like this. I have to update the table underlying my page and also should insert in Interface table. Which will be best.PLSQL Entity or Java EO.