More info for XMLParseException

Hi everybody,
I'm writing a small class that extends from org.xml.sax.helpers.DefaultHandler.
And I am having trouble with the SAXParseException being thrown.
The SAXParseException only tells that there's a parse exception.
It doesn't tell more to what type of error it is.
For example, it doesn't tell you
1) missing required attribute
2) missing closing tag etc.........
It does tell you those only in the getMessage( ) method.
But I would like to be able to programatically check what caused the error.
For example,if(  e.getErrorType() == MySAXParseException.ATTRIBUTE_MISSING)
else if(e.getErrorType() == MySAXParseException.CLOSING_TAG_MISSING)Is there any way to achieve that ?
Thank you all in advance :-)
Soe

Hi dvohra09,
Sorry if I didn't make myself clear enough.
I know getErrorType( ) is not defined in the SAX library.
It is just my imaginery function that I wish I have
cuz I want to check the error type (or) the cause of the error programmatically.
thanks,
Soe

Similar Messages

  • Get More Info for NetConnection.Connect.Failed Error?

    I have a single server that runs IIS and FMS, both on port 80.  The server has two internal IPs assigned to it, one for IIS and the other for FMS.  I also have two static public IPs.  My router maps one public IP to IIS' internal IP and likewise for FMS.
    IIS works fine.  Using an online port scanner, I was able to determine that port 80 is responsive for both public IPs.  Before I had configured my Adapter.xml and fms.ini, only IIS' public IP was responsive.  This seems to indicate that FMS is fine.
    However, when my ActionScript creates a NetConnection and calls connect(), my netStatus callback takes about half a minute to be invoked, and I get "NetConnection.Connect.Failed".  Which is not very informative.  Is there a way to get more info about the cause of the error?  Also does anyone have suggestions for how to debug this issue?

    Hi,
    Thanks for trying out FMS..
    I can guide you with few checkpoints to first see where the problem might be.
    1. Go to the FMS installation directory and check for the logs folder. See all the logs (according to date) and find if the port bindings are all successful. This might tell us whether FMS actually has started or not.
    2. FMS works on port 1935 for RTMP streaming. It also gets bundled with apache (listening on 8134) but one of the fms processes also takes hold of 80 for its tunneling streaming as well as redirecting to apache. So either you remove this entry from fms.ini or change it to reflect to some other port. ADAPTER.HOSTPORT is the variable to look for.
    3. How are you making sure that FMS is working/not working ?
    4. Please turn off your firewall or other secutiry for testing purposes to see if you are able to hit the FMS .
    Let us know if any of the above are helpful in getting some more information.
    Thank you !

  • Need more info for the ag34405 DMM VI's

    Hi !
    I'm working with the Agilent 34405a multimeter and made a little VI for data-logging. The problem is, I want to choose between 4.5 & 5.5 resolution and the is no litterature about it. I'm using the NI drivers and VI's made for this application. There is a VI named "Configure measurement.vi" in which you could perhaps select the resolution (as the default value is 0.0001, that would be for 5.5 digits I think). I already tried to change the value from 0.0001 to 0.001 but the instrument still use the 5.5 digit measurement method.
    Does somebody also know if there is more documentation as the contextual help of each VI made for the ag34405a DMM (there are more or less only default values explained, but I would need more...)?
    I've attached my VI if this could help to solve this issue. Am working with LabView 8.20.
    In advance, thanks for your help !
    Yves
    Attachments:
    Start_stop_logging_ag34405a_V1.vi ‏47 KB

    Yves,
    One of the things that is great about instrument drivers is the context help on each of the controls. You can turn the context help on with Ctrl+H and then hover you mouse cursor over the control. If you open "Configure Measurement.vi" and look at the help for the absolute resolution control you'll see a good description that includes:
    Notes:
    (1) The instrument driver ignores this parameter if the Range parameter is set to AG34405A_VAL_AUTO_RANGE_ON (-1) .
    If you look at the help of the Range parameter you'll find see a similar discription with details and the following:
    Defined Values:
    AG34405A_VAL_AUTO_RANGE_OFF (-2)   (-2.0)  - Auto-Range Off
    AG34405A_VAL_AUTO_RANGE_ON (-1)    (-1.0)  - Auto-Range On
    Based on this, can you try setting the auto-range to -2 and specifying the absoulte resolution?
    Regards,
    Kamran

  • More info for the STUDENT CS3

    hi. I am about to buy the cheap, student edition of
    Dreamweaver CS3. I've read the other topics on the differences
    between student and commercial...but need to know more....
    Is it ok to use the student Dreamweaver CS3 version to design
    and 'publish'....
    A website that will not DIRECTLY make money but will still
    be a business site. Also:
    I will not be selling the design to anyone
    The website will only show information on products.
    You will not be able to buy product off the website.
    thanks, chris

    This is from the Adobe Educational Store (the disclaimer you
    have to click through to access the store):
    "What are the restrictions in using education versions of
    Adobe products?
    A customer may only purchase one copy of any product.
    Education versions of Former Macromedia products only (Studio 8,
    Dreamweaver, Flash, etc.) are intended for instructional and
    administrative purposes only and may not be used for any commercial
    purpose."
    Store Entrance -
    http://store1.adobe.com/cfusion/store/html/index.cfm?event=displayEduConditions&store=OLS- EDU&nr=0&ogn=EN_US-gn_store
    KB Article -
    http://kb.adobe.com/selfservice/viewContent.do?externalId=25f26dd&sliceId=1
    Qualifications -
    http://www.adobe.com/education/purchasing/qualify.html
    If a business is having a student employee purchase the
    license to circumvent Licensing, that is a violation of the EULA.
    In all honesty this is a question for Adobe if there is anything
    borderline. More than likely if this individual is an employee of
    the company then it would be a EULA violation. If the person is
    independent of the company there may be enough shades of gray to
    distort the line and I will leave it at that.

  • More Info for DOA GB installations

    I've been following some of the problems people have been having with GB. I suddenly was faced with a bizarre situation myself, one that left GB basically useless. I tried everything suggested in these threads - none of which was related to the issue i.e. testing RAM or verifying permissions, etc. In my case, things just stopped operating normally and got extremely sluggish, to the point where trying to play back my recording would halt all by itself after a fraction of a second. Even using the menus was sluggish. I forget now how, but the app would then crash on me. Since reinstalling, I can't get it to crash.
    It turns out that my issue was related to the audio drivers selected in the preferences. I changed them from "system setting" to something specific just for GB (built-in audio even tho that IS what the system setting is) and that did the trick.
    I was not able to change that however, until I closed any song I had open. It would not work while a song was open. When I closed the song, then suddenly the app was not sluggish anymore and the change in the setting worked.
    When I opened my songs then, the application was no longer sluggish and dragging. Songs play without halting by themselves.
    I notice that my Amplitube 2 Live application is opening with the same exact error message that GB was: Please ensure this application is installed properly. Then it tells me to specify the audio input and outputs. However, when I do, Amplitube crashes.
    SO... for what it's worth, it appears there are conflicts with the audio drivers for either Leopard, well probably Leopard if this is occurring with non-iLife applications too. I hope this helps some of you still having troubles.

    I should add, that after making this change, the CPU % has dropped from as high as 70-99.8 to about 12% and the real memory used dropped from about 1 gig to 400mb. Why an audio setting would do that, I have no clue.

  • Request more info for how to offer a 'Reset to Default' button for portlets

    Hi,
    I would like to provide a 'Reset to Default' button for the customization function of my java portlets and URL portlets. However, I don't know what necessary codes do I need to write or to include to enable such function? Would anyone help to give me some guideline? If possible, would you please give me some code sample?
    Thanks a lot!

    you either have to code for everything to reset or you can reload your current page:
    loadMoveNum(this._url,0);

  • Just did the iTunes update that iTunes said was available now iTunes won't open, keep getting Runtime Error message.  R6034 An application has made an attempt to load the C runtime library incorrectly.  Please contact the apps support team for more info.

    Just did the iTunes update that iTunes said was available, now iTunes won't open.  I just keep getting a Runtime Error message. 
    R6034
    An application has made an attempt to load the C runtime library incorrectly.  Please contact the apps support team for more info.
    Is anyone else having this problem?
    I tried to re-install and got the following message:  iTunes was not installed correctly.  Please reinstall iTunes.  Error 7 (Windows error 1114)
    Does this mean I have now lost everything?

    I just had the same error: 
    R6034
    An application has made an attempt to load the C runtime library incorrectly.  Please contact the apps support team for more info.
    I went to http://support.apple.com/kb/ht1925 and did a complete removal and reinstallation of iTunes. You MUST follow the directions here exactly...it's more than just iTunes that must be removed, and it MUST be done in the order in which the support article says.  I followed the exact instructions, and iTunes is back on my machine (no more C runtime error) and you do NOT lose your music...it's all in my library, as it was before.
    Good luck!

  • "more info" in Get Info showing "--" instead of actual infos for newer videos and images

    I've just noticed that when I click on "Get Info" on my newer pictures and videos, the "more info" section is now showing "--" instead of the dimensions of the images and videos. However when I go to my older files, the info is showing. Also if I search any of the newer files (those with the missing info) in Spotlight, it doesn't show up.  I've done some research and some people suggest reindexing Spotlight, but that never worked for me. In fact, even if I exclude a folder in my Privacy list, it's still showing as a result when I search them. I'm sure this is a problem with Spotlight as it stores the dimensions info, but since reindexing it is not a solution, can it be solved in some other way?

    It takes time on newer things, but might have to be opened first or something.
    If you want, you can clear the caches with OnyX (#12) and that would rebuild and repair the entire sub-system.
    ..Step by Step to fix your Mac
    Mac maintainence steps

  • New features for next CC update: open apps, contextual menus, option-click for more info...

    I'd like to see the CC app gain a few features that would enable a more efficient workflow right from the app:
    1. Ability to open apps from the menu bar. I know we can stuff 'em in our Docks and open them in Spotlight, but being able to interact with our apps would be great. Perhaps each app could have its own gear/triangle, or each icon could be interactive; this would open a contextual menu from which we can open, delete, update, get help, maybe open recent docs....
    2. Option-clicking an app icon could pop up more info (e.g., version, last used, etc)
    3. Allow us to sort apps either manually or by automatic criteria (recently used, most used, recently updated, etc)
    See attached PNG for concepts.Adobe Creative Cloud

    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform for bugs or feature requests is a better place to post

  • Items could not be synced. See iTunes for more info.

    Sync of new iPad mini, popup on mini says 53 items could not be synced, see iTunes for more info. OK.
    Where in iTunes is more info? Which 53 items? I can find no clue. Also iBooks blows up on 2 of my books that open fine on my old iPad 1, maybe they didn't sync?

    I see now after the Sync, a  !triangle appears next to my mini in iTunes. Clicking on it brings up a list. Sure would be nice to be able to Save that list, since I can't fix anything while that list is showing! And once you close it, the warnings disappear along with the triangle. I ended up using Grab to save the info.
    Reset Warnings also makes the triangle go away. Along with all that info.

  • ORA-00205: error in identifying control file, check alert log for more info

    Hi
    I'm creating a database manually,
    I am hitting with the following error :
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 150667264 bytes
    Fixed Size 1335080 bytes
    Variable Size 92274904 bytes
    Database Buffers 50331648 bytes
    Redo Buffers 6725632 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    Following is the entry in init.ora
    control_files='/u01/oracle/db/oradata/testdb/control01.ctl','/u01/oracle/db/oradata/testdb/control02.ctl'
    and this the owner priviliges of /u01/oracle/db/oradata/testdb directory
    drwxrwx--- 2 oracle dba 4096 Oct 10 12:16 testdb

    Found in $ORACLE_BASE/diag/rdbms/$ORACLE_SID/$ORACLE_SID/trace/alert/log.xml
    ORA-00210: cannot open the specified control fileORA-00202: control file: '/u01/oracle/db/oradata/testdb/control02.ctl'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-00210: cannot open the specified control file
    ORA-00202: control file: '/u01/oracle/db/oradata/testdb/control01.ctl'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3

  • Error in identifying control file, check alert log for more info

    hi ,
    i have a problem when i try to login to oracle
    i found this messsage
    error
    ora-01033 oracle initialization or shutdown in progressafter i logged on with / as sysdba
    i did the following
    SQL> shutdown immediate;
    ORA-01507: database not mounted
    ORACLE instance shut down.
    SQL> startup mount;
    ORACLE instance started.
    Total System Global Area 293601280 bytes
    Fixed Size 1248600 bytes
    Variable Size 79692456 bytes
    Database Buffers 205520896 bytes
    Redo Buffers 7139328 bytes
    ORA-00205: error in identifying control file, check alert log for more info----------------------------------------------------------------
    O.S = Windows 7 Profissional
    Oracal release= 10 g release 10.2.0.1.0
    the last lines of the alert log file is
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
    processes = 150
    __shared_pool_size = 71303168
    __large_pool_size = 4194304
    __java_pool_size = 4194304
    __streams_pool_size = 0
    sga_target = 293601280
    control_files = E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL01.CTL, E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL02.CTL, >E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL03.CTL
    db_block_size = 8192
    __db_cache_size = 205520896
    compatible = 10.2.0.1.0
    db_file_multiblock_read_count= 16
    db_recovery_file_dest = e:\oracle\product\10.2.0\db_1/flash_recovery_area
    db_recovery_file_dest_size= 2147483648
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    dispatchers = (PROTOCOL=TCP) (SERVICE=orclXDB)
    job_queue_processes = 10
    audit_file_dest = E:\ORACLE\PRODUCT\10.2.0\DB_1\ADMIN\ORCL\ADUMP
    background_dump_dest = E:\ORACLE\PRODUCT\10.2.0\DB_1\ADMIN\ORCL\BDUMP
    user_dump_dest = E:\ORACLE\PRODUCT\10.2.0\DB_1\ADMIN\ORCL\UDUMP
    core_dump_dest = E:\ORACLE\PRODUCT\10.2.0\DB_1\ADMIN\ORCL\CDUMP
    db_name = orcl
    open_cursors = 15000
    pga_aggregate_target = 96468992
    PMON started with pid=2, OS id=1560
    PSP0 started with pid=3, OS id=208
    MMAN started with pid=4, OS id=972
    DBW0 started with pid=5, OS id=4092
    LGWR started with pid=6, OS id=3812
    CKPT started with pid=7, OS id=344
    SMON started with pid=8, OS id=3492
    RECO started with pid=9, OS id=2272
    CJQ0 started with pid=10, OS id=3276
    MMON started with pid=11, OS id=1832
    MMNL started with pid=12, OS id=1636
    Wed Nov 21 11:44:31 2012
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 1 shared server(s) ...
    Wed Nov 21 11:44:32 2012
    ALTER DATABASE MOUNT
    Wed Nov 21 11:44:32 2012
    ORA-00202: control file: 'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL01.CTL'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) can not find the specified file
    Wed Nov 21 11:44:32 2012
    ORA-205 signalled during: ALTER DATABASE MOUNT...Please anyone has any info please share me
    thank you ,
    regards,
    Edited by: ayadsufyan on 21-Nov-2012 01:04
    Edited by: ayadsufyan on 21-Nov-2012 01:30

    ayadsufyan wrote:
    hi ,
    i have a problem when i try to login to oracle
    i found this messsage
    error
    ora-01033 oracle initialization or shutdown in progressafter i logged on with / as sysdba
    i did the following
    SQL> shutdown immediate;
    ORA-01507: database not mounted
    ORACLE instance shut down.
    SQL> startup mount;
    ORACLE instance started.
    Total System Global Area 293601280 bytes
    Fixed Size 1248600 bytes
    Variable Size 79692456 bytes
    Database Buffers 205520896 bytes
    Redo Buffers 7139328 bytes
    ORA-00205: error in identifying control file, check alert log for more info----------------------------------------------------------------
    O.S = Windows 7 Profissional
    Oracal release= 10 g release 10.2.0.1.0
    the last lines of the alert log file is
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
    processes = 150
    __shared_pool_size = 71303168
    __large_pool_size = 4194304
    __java_pool_size = 4194304
    __streams_pool_size = 0
    sga_target = 293601280
    control_files = E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL01.CTL, E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL02.CTL, >E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL03.CTL
    db_block_size = 8192
    __db_cache_size = 205520896
    compatible = 10.2.0.1.0
    db_file_multiblock_read_count= 16
    db_recovery_file_dest = e:\oracle\product\10.2.0\db_1/flash_recovery_area
    db_recovery_file_dest_size= 2147483648
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    dispatchers = (PROTOCOL=TCP) (SERVICE=orclXDB)
    job_queue_processes = 10
    audit_file_dest = E:\ORACLE\PRODUCT\10.2.0\DB_1\ADMIN\ORCL\ADUMP
    background_dump_dest = E:\ORACLE\PRODUCT\10.2.0\DB_1\ADMIN\ORCL\BDUMP
    user_dump_dest = E:\ORACLE\PRODUCT\10.2.0\DB_1\ADMIN\ORCL\UDUMP
    core_dump_dest = E:\ORACLE\PRODUCT\10.2.0\DB_1\ADMIN\ORCL\CDUMP
    db_name = orcl
    open_cursors = 15000
    pga_aggregate_target = 96468992
    PMON started with pid=2, OS id=1560
    PSP0 started with pid=3, OS id=208
    MMAN started with pid=4, OS id=972
    DBW0 started with pid=5, OS id=4092
    LGWR started with pid=6, OS id=3812
    CKPT started with pid=7, OS id=344
    SMON started with pid=8, OS id=3492
    RECO started with pid=9, OS id=2272
    CJQ0 started with pid=10, OS id=3276
    MMON started with pid=11, OS id=1832
    MMNL started with pid=12, OS id=1636
    Wed Nov 21 11:44:31 2012
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 1 shared server(s) ...
    Wed Nov 21 11:44:32 2012
    ALTER DATABASE MOUNT
    Wed Nov 21 11:44:32 2012
    ORA-00202: control file: 'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL01.CTL'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) can not find the specified file
    Wed Nov 21 11:44:32 2012
    ORA-205 signalled during: ALTER DATABASE MOUNT...Please anyone has any info please share me
    thank you ,
    regards,
    Edited by: ayadsufyan on 21-Nov-2012 01:04
    Edited by: ayadsufyan on 21-Nov-2012 01:30I'd say the error message is pretty self-evident:
    ORA-00202: control file: 'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL01.CTL'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) can not find the specified fileWhat do you suppose "can not find the specified file" means?
    And what does this have to do with database security?

  • "X items could not be synced. See Itunes for more info" but Itunes AOK

    I am having problems syncing my iPhone to itunes. Itunes runs through the syncing process and at the end my phone says "X Items could not be synced. See Itunes for more info".  When I look at Itunes I can't find any evidence that something went wrong.  Is there an error log or something I can look up to find out what is going wrong?
    thanks!

    Found another thread with a few possible solutions. The one that worked for me was to delete the ipod photo cache in the "Pictures" folder. Here's the thread: https://discussions.apple.com/thread/3390697

  • Looking for a little more info on Playstation 3 on Apple 20" display

    Sorry to ask for more info on this. I did find some other threads, but looking for a bit more direction.
    First, let me say I have a bunch of old tube TV's and am looking to purchase a Playstation 3. Using Playstation 3 on a tube TV seems kind of stupid, especially when I have a great LCD monitor sitting right on my desktop.
    I looked at solution from Elgato. However they said they are not making any more units and when it sells out it is gone. So I am a little weary of purchasing something that may no longer be supported. Their solution does provide video capture and DVR capabilities as well, which I could also use.
    Other then that, I am wondering if there are any other solutions that people could recommend. I do plan on buying a LCD or Plasma TV in the near future, but until then, I would like to purchase a Playstation 3. Just looking for any advice of any kind from others. Thanks.

    I have the same 20 inch Apple Display. If you have the newer DVI right?
    if so HDMI to DVI will not work well EyeTV from Elgato is still in the Mac store near me I have the 200 FireWire you want the 250 USB2 to do live. I have had the 200 FW for three years it is great.
    Having said that I did buy The Mitsubishi LCD LT-46231 : 46"
    1080p LCD Flat Panel HDTV ($4,600)
    I love it for computer use it was made for it. The HDTV is so good with cable and better with Blue-Ray which your PS3 has!
    http://www.mitsubishi-tv.com/j/i/18326/TelevisionDetails/LT46231.html?cid=377
    I would if you don't want to spend allot on a 1080p LCD (being more then 2k) The Mitsubishi LT-37131 LCD Flat Panel HDTV ($1,699) . Sony & Samsung both are the same LCD. Mitsubishi is better then Samsung/Sony allot better when used with a computer (it is the only new LCD maker that has a VGA & DVI port just for Computers)
    Both of the Mitsubishi Link's you will like as one is a money saver.
    http://www.mitsubishi-tv.com/j/i/18326/LT37131.html?cid=390
    http://www.mitsubishi-tv.com/j/i/18310/Promotions.html
    I also got a Pioneer Elite® Model PRO-FHD1 for TV only I will not run XBox or My computer though it. The link below show's why I got this to my mother need a new TV to so see the link 2 for 1
    http://www.pioneerelectronics.com/pna/v3/pg/top/cat/article/0,,2076310069651396920404,00.html
    Sorry to go on I hope it help's
    Thomas
    PowerMac G5 Quad 2.5Ghz, Dule2.0 G5, Mac Pro 3Ghz 6GB's PowerBook G4 12in 1.5Ghz   Mac OS X (10.4.8)   PowerMac G4 duel 1.25Ghz, iSight, iPod5, AppleDisplays 3 23in DVI GeForce 6800GT
    PowerMac G5 Quad 2.5Ghz, Dule2.0 G5, Mac Pro 3Ghz 6GB's PowerBook G4 12in 1.5Ghz   Mac OS X (10.4.8)   PowerMac G4 duel 1.25Ghz, iSight, iPod5, AppleDisplays 3 23in DVI GeForce 6800GT
    PowerMac G5 Quad 2.5Ghz, Dule2.0 G5, Mac Pro 3Ghz 6GB's PowerBook G4 12in 1.5Ghz   Mac OS X (10.4.8)   PowerMac G4 duel 1.25Ghz, iSight, iPod5, AppleDisplays 3 23in DVI GeForce 6800GT

  • TS3074 While trying to download Itunes on my lenovo laptop it tells me in an error box the following : " this installation package could not be opened verify that it exsist or contact the vendor for more info" what did i do?

    While trying to download Itunes on my lenovo laptop it tells me in an error box the following : " this installation package could not be opened verify that it exsist or contact the vendor for more info" what did i do?

    Perhaps the answer provided for this problem in Microsoft's forums will help.
    Good luck.

Maybe you are looking for