Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev]CheckIn: Fix Bugzilla Bug --- 122411 the attached report design cannot be previewed by viewer

Title: [birt-dev]CheckIn: Fix Bugzilla Bug --- 122411 the attached report design cannot be previewed by viewer

Summary 

Bugzilla Bug (s) Resolved:
122411 the attached report design cannot be previewed by viewer

Description:
1) jTidy doesn'st support hexdecimal encoding (such as #x6C3C).
2) In XML, the valid characters are  0x9, 0xA,0xD, [0x20,0xD7FF][0xE000, 0xFFFD] all others are not allowed.
So:
jTidy convert the #x6C3C to: #6, C, 3, C, BIRT writes them into HTML. Viewer encodes them into XML which throws out the exception as #6 is not allowed in XML.

Engine filters the invalid XML characters out from the output. The result is:

1) no exception is through out
2) #xH #XH is still not supported as the jTidy can't support it.

My suggestion is close this SCR and submit a new one about the #xH. 

Test Description:
Manual Test
 
Files Edited:
cvs ci -m "filter the invalid XML character out." -l "/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java" "/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLWriter.java"

Files Added:

Notes to Build Team:
 
Notes to Developers:

Notes to QA:
 
Quotes to Documentation:


-Wei Yan




Back to the top