Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 135155 - Fix the Crimson buffer flushing out event in the XML Parsing
Summary: Fix the Crimson buffer flushing out event in the XML Parsing
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Guru Nagarajan CLA
QA Contact:
URL:
Whiteboard: closed460
Keywords:
: 135318 (view as bug list)
Depends on:
Blocks: 135124
  Show dependency tree
 
Reported: 2006-04-05 17:17 EDT by Guru Nagarajan CLA
Modified: 2016-05-05 10:53 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guru Nagarajan CLA 2006-04-05 17:17:16 EDT
The Crimson parser buffer flushing is flaky. Hence a wrapper for crimson or the usage of Apache is mandatory. The latter (Xerces) is preferred and this is available in Batik in TPTP 4.2i2 and once the legal approval for Xerces2.8 is obtained the Xerces plugin will be available in 4.2 i3 following the reference should be updated to fix the same.
Comment 1 Guru Nagarajan CLA 2006-04-06 13:03:34 EDT
New AC process launching with console test (TPTPProcess.java) is failing
sometimes on windows ia32 platform giving a Timeout exception though the
process validation is returns as True. The SAX Events are shut off due to the large buffer size and it is specific to JVM's on Windows. I have not been able to reproduce the same on Linux or Win IPF


Comment 2 Guru Nagarajan CLA 2006-04-06 13:03:40 EDT
*** Bug 135318 has been marked as a duplicate of this bug. ***
Comment 3 Guru Nagarajan CLA 2006-04-09 20:26:33 EDT
The current resolution is not very clean - there is substantial dead code that will be cleaned next week. The the flusher/filler code has been taken from the old Exec framework and it needs additional clean up. I am opening one other bugzilla to track that work to be closed next week.
This change will clear the console tests
Comment 4 Guru Nagarajan CLA 2006-04-10 12:59:15 EDT
I need to remove a debug socket timeout that I had set
Comment 5 Guru Nagarajan CLA 2006-04-10 13:33:05 EDT
Was my Eclipse CVS corruption - the right version is in there.!!
Verified and closed.
Comment 6 Guru Nagarajan CLA 2006-04-10 19:25:31 EDT
I have not been able to recreate the “java Console test client” timeout on my machine following changes this past weekend. I was unable to test it despite multiple runs and under stress. My test driver was 4.10 TPTP platform runtime build. However, Vishnu is running into some issues. 
Vishnu, Pls send me the thread dump that you see on your machine. Run the JVM with the app as a console app and do a ctrl+break to get a thread dump. 
Comment 7 Guru Nagarajan CLA 2006-04-11 19:43:39 EDT
Reducing the severity on this bug since the fix is in the works and it is not recreatable. 
Comment 8 Marius Slavescu CLA 2006-04-11 23:06:58 EDT
Guru, when you say "The Crimson parser buffer flushing is flaky" are you talking about the special Crimson handler CrimsonFragmentHandler?

If we want to make use of the new Xerces plugin then we will need to add that plugin as a dependecy to the org.eclipse.tptp.platform.models plugin.
Comment 9 Guru Nagarajan CLA 2006-04-12 00:10:16 EDT
Marius, I am not using the Crimson handler off the Model source base but the default Crimson parser in the JVM. 
Comment 10 Guru Nagarajan CLA 2006-04-23 23:28:09 EDT
Fixed and tested
Comment 11 Paul Slauenwhite CLA 2009-06-30 12:00:53 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.