Subject:Nillable element, Validation error with Stylus Studio, but not with Eclipse Author:Ingo Schildmann Date:10 Mar 2011 04:45 AM Originally Posted: 10 Mar 2011 04:41 AM
I have an XML-Document that is not valid in Stylus Studio, but valid in other editors, like Eclipse.
I reduced the document and schema to the following example:
Subject:Nillable element, Validation error with Stylus Studio, but not with Eclipse Author:Ivan Pedruzzi Date:14 Mar 2011 10:12 PM
Ingo,
The problem lays in how the schema processor interprets the default value (default="0") both Apache Xerces and Microsoft .NET process the default value first, then they validate.