Bug 4535 - org.jdom.IllegalDataException: The data "..." is not legal for a JDOM character content: 0xc is not a legal XML character.
Summary: org.jdom.IllegalDataException: The data "..." is not legal for a JDOM charact...
Status: RESOLVED DUPLICATE of bug 4462
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-22 17:57 UTC by Andrew Cagney
Modified: 2007-06-21 19:19 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
use Verfier to check if text is legal XML (518 bytes, patch)
2007-05-28 21:00 UTC, Nurdin Premji
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2007-05-22 17:57:59 UTC
org.jdom.IllegalDataException: The data "

" is not legal for a JDOM character content: 0xc is not a legal XML character.
   at org.jdom.Text.setText(FryskGui)
   at org.jdom.Text.<init>(FryskGui)
   at org.jdom.Element.setText(FryskGui)
   at frysk.dom.DOMLine.<init>(FryskGui)
   at frysk.dom.DOMImage.addSource(FryskGui)
   at frysk.dom.DOMFactory.createDOM(FryskGui)
   at frysk.gui.srcwin.SourceWindow.generateProcStackTrace(FryskGui)
   at frysk.gui.srcwin.SourceWindow.finishSourceWin(FryskGui)
   at frysk.gui.srcwin.SourceWindow$LockObserver$39.run(FryskGui)
   at org.gnu.glib.CustomEvents.runEvents(libgtkjava-2.8.so)
   at org.gnu.gtk.Gtk.gtk_main(libgtkjava-2.8.so)
   at org.gnu.gtk.Gtk.main(libgtkjava-2.8.so)
   at frysk.gui.Gui.gui(FryskGui)
   at frysk.gui.FryskGui.main(FryskGui)

try a simple debug of an already running funit-child
Comment 1 Nurdin Premji 2007-05-28 20:07:45 UTC
testcase added.

2007-05-28
frysk-core/frysk/dom/CL
	* TestDOM.java (testDOMFormFeed): Added.
Comment 2 Nurdin Premji 2007-05-28 20:13:12 UTC
org.jdom.Verifier.checkCharacterData(String text) can be used to check the
validity of the text. Returns null if valid.
Comment 3 Nurdin Premji 2007-05-28 21:00:21 UTC
Created attachment 1870 [details]
use Verfier to check if text is legal XML

Opens up funit-child in source window, but I'm seeing odd colourings.
Comment 4 Rick Moseley 2007-06-21 19:19:08 UTC
This bug appears to be a duplicate of 4462.

*** This bug has been marked as a duplicate of 4462 ***