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=3264

*** shadow/3264 Fri Aug 24 12:27:27 2001
--- shadow/3264.tmp.21899       Fri Aug 24 12:27:27 2001
***************
*** 0 ****
--- 1,85 ----
+ +============================================================================+
+ | Whitespaces in notation declaration are not normalized to single space cha |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 3264                        Product: Xerces-C++              |
+ |       Status: NEW                         Version: 1.5.1                   |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version: Windows NT/2K           |
+ |     Priority: Other                     Component: SAX/SAX2                |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                  |
+ |  Reported By: [EMAIL PROTECTED]                                           |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ ---------------------------------
+ Overview Description: 
+ ---------------------------------
+ When trying to print the parameter values in the notationDecl method, it is 
+ shown that the whitespaces in the publicId field is not normalized.
+ ---------------------------------
+ Steps to Reproduce: 
+ ---------------------------------
+ 1. Copy and paste the following into a file and save it as notation01.xml:
+ <?xml version="1.0"?>
+ <!DOCTYPE test SYSTEM "notation01.dtd" [
+     <!ENTITY applydsssl SYSTEM "applydsssl.gif" NDATA GIF>
+ ]>
+ <test>test</test>
+ 
+ 2. Copy and paste the following into a file and save it as notation01.dtd:
+ <?xml version="1.0" encoding="UTF-8"?>
+ 
+ <!NOTATION GIF PUBLIC
+     "+//ISBN 0-7923-9432-1::Graphic Notation//NOTATION
+      CompuServe Graphic Interchange Format//EN">
+ 
+ <!ELEMENT test (#PCDATA) >
+ 
+ 3. Modified the notationDecl method implementation in SAXPrintHandler.cpp from 
+ SAXPrint sample with the following:
+ 
+ char* chName = XMLString::transcode(name);
+ char* chPid = XMLString::transcode(publicId);
+ char* chSid = XMLString::transcode(systemId);
+       
+ cout << "NotationDecl: " << endl;
+ cout << "Name:\n" << chName << endl;
+ cout << "PublicId:\n"; << chPid << endl;
+ cout << "SystemId:\n"; << chSid << endl; 
+ 
+ 4. After rebuilding the sample, run SAXPrint with the following command:
+ SAXPrint -v=always notation01.xml
+ 
+ ---------------------------------
+ Actual Results:  
+ ---------------------------------
+ NotationDecl:
+ Name:
+ GIF
+ PublicId:
+ +//ISBN 0-7923-9432-1::Graphic Notation//NOTATION
+      CompuServe Graphic Interchange Format//EN
+ SystemId:
+ 
+ <test>test</test>
+ 
+ ---------------------------------
+ Expected Results:  
+ ---------------------------------
+ NotationDecl:
+ Name:
+ GIF
+ PublicId:
+ +//ISBN 0-7923-9432-1::Graphic Notation//NOTATION CompuServe Graphic 
+ Interchange Format//EN
+ SystemId:
+ 
+ <test>test</test>
+ 
+ ---------------------------------
+ Additional Information: 
+ ---------------------------------
+ Same results when run with -v=never.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to