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

*** shadow/2561 Tue Jul 10 23:55:06 2001
--- shadow/2561.tmp.5691        Tue Jul 10 23:55:06 2001
***************
*** 0 ****
--- 1,36 ----
+ +============================================================================+
+ | Problem with standalone documents                                          |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2561                        Product: Xerces-C                |
+ |       Status: NEW                         Version: 1.5                     |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version: Windows NT/2K           |
+ |     Priority: Other                     Component: Build                   |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                  |
+ |  Reported By: [EMAIL PROTECTED]                                     |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ The OASIS conformance tests revealed a problem with parsing of standalone 
+ documents. Section 2.9 of XML spec. 1.0 provides some validity constraints for 
+ standalone document declaration. The Xerces parser doesn't folow these 
+ constraints and returns SUCCESS. Find below ibm32i01.xml and ibm32i01.dtd files 
+ to reproduce this problem.
+ 
+ ibm32i01.xml document:
+ <?xml version="1.0" standalone="yes" ?>
+ <!DOCTYPE animal SYSTEM "ibm32i01.dtd" [
+    <!ELEMENT animal EMPTY>
+ ]>
+ <!-- This is against VC: Standalone Document Declaration in P32
+  The standalone document declaration has the value "yes", there is an external 
+  markup declaration of attributes with default values, and the associated 
+  element appears in the document with specified values for those attributes.   
+ -->
+ <animal/>
+ 
+ ibm32i01.dtd :
+ <!ATTLIST animal color CDATA #FIXED "yellow">

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

Reply via email to