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/11 17:06:15 UTC

[Bug 2117] New: - DOMParser does not parse a processing instruction properly

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2117

*** shadow/2117	Mon Jun 11 08:06:15 2001
--- shadow/2117.tmp.26360	Mon Jun 11 08:06:15 2001
***************
*** 0 ****
--- 1,26 ----
+ +============================================================================+
+ | DOMParser does not parse a processing instruction properly                 |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2117                        Product: Xerces-J                |
+ |       Status: NEW                         Version: 1.4                     |
+ |   Resolution:                            Platform: Other                   |
+ |     Severity: Major                    OS/Version: Other                   |
+ |     Priority: Other                     Component: DOM                     |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: xerces-j-dev@xml.apache.org                                  |
+ |  Reported By: pashford@diamondtechnologies.com                             |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ If I have a text file containing some XML, and a line in the XML file is a
+ ProcessingInstruction that looks like this:
+ 
+ <?pi_target command="pi_data"?>
+ 
+ and then parst this file using the DOMParser, the resulting Document stores the
+ string 'command="pi_data"' as the entire ProcessingInstruction's data value,
+ which if converting the Document back to file, the same line would be written as:
+ 
+ <?pi_targe command="command="pi_data""?>
\ 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