mail-archives/mono-bugs/2010-October/104658.html

167 строки
5.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 644931] New: XmlSchema error raised when compiling valid XSD with multiple 'any' inside a 'choice'
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20644931%5D%20New%3A%20XmlSchema%20error%20raised%20when%20compiling%0A%20valid%20XSD%20with%20multiple%20%27any%27%20inside%20a%20%27choice%27&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="105024.html">
<LINK REL="Next" HREF="104659.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 644931] New: XmlSchema error raised when compiling valid XSD with multiple 'any' inside a 'choice'</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20644931%5D%20New%3A%20XmlSchema%20error%20raised%20when%20compiling%0A%20valid%20XSD%20with%20multiple%20%27any%27%20inside%20a%20%27choice%27&In-Reply-To="
TITLE="[Mono-bugs] [Bug 644931] New: XmlSchema error raised when compiling valid XSD with multiple 'any' inside a 'choice'">bugzilla_noreply at novell.com
</A><BR>
<I>Fri Oct 8 09:33:31 EDT 2010</I>
<P><UL>
<LI>Previous message: <A HREF="105024.html">[Mono-bugs] [Bug 644915] Mono ignores constraint load failures
</A></li>
<LI>Next message: <A HREF="104659.html">[Mono-bugs] [Bug 644931] XmlSchema error raised when compiling valid XSD with multiple 'any' inside a 'choice'
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#104658">[ date ]</a>
<a href="thread.html#104658">[ thread ]</a>
<a href="subject.html#104658">[ subject ]</a>
<a href="author.html#104658">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=644931">https://bugzilla.novell.com/show_bug.cgi?id=644931</A>
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=644931#c0">https://bugzilla.novell.com/show_bug.cgi?id=644931#c0</A>
Summary: XmlSchema error raised when compiling valid XSD with
multiple 'any' inside a 'choice'
Classification: Mono
Product: Mono: Class Libraries
Version: 2.8.x
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.XML
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">atsushi at ximian.com</A>
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">NTmatter at gmail.com</A>
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
Found By: ---
Blocker: ---
Created an attachment (id=393799)
--&gt; (<A HREF="http://bugzilla.novell.com/attachment.cgi?id=393799">http://bugzilla.novell.com/attachment.cgi?id=393799</A>)
Stack Trace highlighting error
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-US)
AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3
When attempting to compile a schema set containing the XInclude Schema (see
<A HREF="http://www.w3.org/TR/xinclude/#syntax">http://www.w3.org/TR/xinclude/#syntax</A> for the original listing) Mono throws the
following error:
System.Xml.Schema.XmlSchemaException: XmlSchema error: Ambiguous -any- particle
was found.
This works without issue under .NET 3.5
Reproducible: Always
Steps to Reproduce:
1. XmlSchema.Read an XSD Schema having multiple &quot;any&quot; nodes inside a choice
2. Add schema to a new XmlSchemaSet
3. Compile the XmlSchemaSet
Actual Results:
Unhandled Exception: System.Xml.Schema.XmlSchemaException: XmlSchema error:
Ambiguous -any- particle was found. Related schema item SourceUri: , Line 11,
Position 8.
Expected Results:
No error.
--
Configure bugmail: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="105024.html">[Mono-bugs] [Bug 644915] Mono ignores constraint load failures
</A></li>
<LI>Next message: <A HREF="104659.html">[Mono-bugs] [Bug 644931] XmlSchema error raised when compiling valid XSD with multiple 'any' inside a 'choice'
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#104658">[ date ]</a>
<a href="thread.html#104658">[ thread ]</a>
<a href="subject.html#104658">[ subject ]</a>
<a href="author.html#104658">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>