http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2206 *** shadow/2206 Mon Jun 18 00:46:34 2001 --- shadow/2206.tmp.18310 Mon Jun 18 00:46:34 2001 *************** *** 0 **** --- 1,50 ---- + +============================================================================+ + | Parser return wrong characters as content of ignored conditional section. | + +----------------------------------------------------------------------------+ + | Bug #: 2206 Product: Xerces2-J | + | Status: NEW Version: 2.0.0 [alpha] | + | Resolution: Platform: PC | + | Severity: Normal OS/Version: Linux | + | Priority: Other Component: XNI | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + I use XNI for parsing document. I found problem with ignored conditional section + content. + 1) Included conditional sections ends with ]]> but parser returns ]] only. + 2) Another nodes started with <! miss their !. + + Example: + <![ IGNORE [ + <!-- comment1 --> + + <!ELEMENT elem1 EMPTY> + + <!-- comment2 --> + + <![ IGNORE [ + <!ELEMENT elem2 EMPTY> + ]]> + + <!-- comment3 --> + ]]> + + --- + And characters returned from IGNOREd conditional section are: + + <-- comment1 --> + + <ELEMENT elem1 EMPTY> + + <-- comment2 --> + + <![ IGNORE [ + <ELEMENT elem2 EMPTY> + ]] + + <-- comment3 --> \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
