You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2001/06/18 09:46:34 UTC

[Bug 2206] New: - Parser return wrong characters as content of ignored conditional section.

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: xerces-j-dev@xml.apache.org                                  |
+ |  Reported By: libor.kramolis@sun.com                                       |
+ |      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: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org