http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2562
*** shadow/2562 Wed Jul 11 00:07:35 2001
--- shadow/2562.tmp.10336 Wed Jul 11 08:58:23 2001
***************
*** 2,9 ****
| Fixed Attribute Default validity constraint validation failed |
+----------------------------------------------------------------------------+
| Bug #: 2562 Product: Xerces-C |
! | Status: NEW Version: 1.5 |
! | Resolution: Platform: PC |
| Severity: Normal OS/Version: Windows NT/2K |
| Priority: Other Component: Build |
+----------------------------------------------------------------------------+
--- 2,9 ----
| Fixed Attribute Default validity constraint validation failed |
+----------------------------------------------------------------------------+
| Bug #: 2562 Product: Xerces-C |
! | Status: RESOLVED Version: 1.5 |
! | Resolution: INVALID Platform: PC |
| Severity: Normal OS/Version: Windows NT/2K |
| Priority: Other Component: Build |
+----------------------------------------------------------------------------+
***************
*** 22,27 ****
--- 22,54 ----
attr08.xml:
<!DOCTYPE palimpest [
<!ELEMENT palimpest EMPTY>
+ <!ATTLIST palimpest
+ xmlns CDATA #FIXED "http://java.sun.com/historical"
+ >
+ <!-- tests the "fixed attribute default" vc -->
+ ]>
+
+ <palimpest xmlns="http://over.the.rainbow.com/somewhere"/>
+
+ ------- Additional Comments From [EMAIL PROTECTED] 2001-07-11 08:58 -------
+ Did you turn on validation? Fixed Attribute Default is a validity
+ constraint. And according to the terminology defined in section 1.2 in XML1.0
+ spec, violations of validity constraint are reported by "validating" parser.
+ Thus if you turn on validation, then you will get this reported:
+
+ D:\xerces-c1_5_0-win32\bin>domcount -v=always d:\mydoc\xml\myxml\bug2562.xml
+
+ Error at file d:\mydoc\xml\myxml\bug2562.xml, line 9, char 57
+ Message: Attribute 'xmlns' has a value,
+ 'http://over.the.rainbow.com/somewhere', that does not ma
+ ch its #FIXED value, 'http://java.sun.com/historical'
+
+ Errors occured, no output available
+
+
+ D:\xerces-c1_5_0-win32\bin>cat d:\mydoc\xml\myxml\bug2562.xml
+ <!DOCTYPE palimpest [
+ <!ELEMENT palimpest EMPTY>
<!ATTLIST palimpest
xmlns CDATA #FIXED "http://java.sun.com/historical"
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]