Spaces following PI name and before any character are deleted. PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3126 *** shadow/3126 Tue Aug 14 12:16:29 2001 --- shadow/3126.tmp.8279 Tue Aug 14 12:16:29 2001 *************** *** 0 **** --- 1,55 ---- + +============================================================================+ + | Spaces following PI name and before any character are deleted. | + +----------------------------------------------------------------------------+ + | Bug #: 3126 Product: Xerces-C++ | + | Status: NEW Version: 1.5.1 | + | Resolution: Platform: PC | + | Severity: Normal OS/Version: Windows NT/2K | + | Priority: Other Component: DOM | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + --------------------------------- + Overview Description: + --------------------------------- + When trying to print the value of the nodes using DOMPrint or similar + programs, the spaces in processing instruction node are deleted. + + --------------------------------- + Steps to Reproduce: + --------------------------------- + 1. Copy and paste the following into a file and save it as test.xml: + <?xml version="1.0"?> + <!DOCTYPE student [ + <!ELEMENT student (#PCDATA)> + ]> + <?MyInstruct abc ?> + <student>My Name is SnowMan. </student> + + 2. Run DOMPrint with the following command: + DOMPrint -v=always test.xml + + --------------------------------- + Actual Results: + --------------------------------- + <?xml version="1.0" encoding="UTF-8"?> + <?MyInstruct abc ?> + <student>My Name is SnowMan. </student> + + --------------------------------- + Expected Results: + --------------------------------- + <?xml version="1.0" encoding="UTF-8"?> + <?MyInstruct abc ?> + <student>My Name is SnowMan. </student> + + + --------------------------------- + Additional Information: + --------------------------------- + Same results occur if setting validation on. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
