[Mono-bugs] [Bug 613684] Mono doesn't validate XML keyref in schemas

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Jun 12 14:31:57 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=613684

http://bugzilla.novell.com/show_bug.cgi?id=613684#c1


--- Comment #1 from IB Board <ibboard at gmail.com> 2010-06-12 18:31:57 UTC ---
I've been exploring the XML validation situation even more, while testing on
the Microsoft .Net framework, and found a real oddity. If I remove the line:

settings.ValidationFlags = XmlSchemaValidationFlags.ReportValidationWarning

from my validation then the output from Mono includes the following:

Error: XmlSchema error: Invalid identity constraints were found. Referenced key
was not found:  line 5, position 6 XML  Line 29, Position 3.


For some reason it looks like enabling warning reporting breaks either keyref
validation or error reporting.

-- 
Configure bugmail: http://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