[Mono-bugs] [Bug 469713] New: xsi:nil attribute ignored in XML validation
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Jan 27 06:01:20 EST 2009
https://bugzilla.novell.com/show_bug.cgi?id=469713
Summary: xsi:nil attribute ignored in XML validation
Classification: Mono
Product: Mono: Class Libraries
Version: 2.2.x
Platform: i386
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.XML
AssignedTo: atsushi at ximian.com
ReportedBy: yohann.proust at egis.fr
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Created an attachment (id=267859)
--> (https://bugzilla.novell.com/attachment.cgi?id=267859)
Test files : XML document, XSD schema, source code
Description of Problem:
An XSD schema defines a nillable dateTime element. An XML document with this
element set as null is not validated. The error is :
XmlSchema error: Invalidly typed data was specified. XML Line 3, Position 31.
Steps to reproduce the problem:
1. Define an XSD schema with a nillable dateTime element (see test.xsd)
2. Define an XML document with this element set to null (see test.xml)
3. Validate the XML document with an XmlReader (see Test.cs)
Actual Results:
XML document is not validated, an error occurs :
XmlSchema error: Invalidly typed data was specified. XML Line 3, Position 31.
Expected Results:
The XML document is validated.
How often does this happen?
Always
Additional Information:
Mono 2.2 compiled under CentOS 5.2
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list