Subject:Bug or NOT!! Author:joe j Date:21 Mar 2005 01:44 PM
Hello,
I have used Stylus Studio to create my XML Schema and used attributes in elements.
The problem is that it gives me an error when validationg because:
I am having both use and default in attribute element as follows:
Subject:Bug or NOT!! Author:Ivan Pedruzzi Date:21 Mar 2005 03:19 PM
Hi Shemeri,
The error message is pretty much self explanatory:
<<"If default and use are both present, use must have the value 'optional'">>
In this case the built-in validator (Xerces) treats the condition as error, other validators may flag it differently.
That's reason why Stylus Studio allows using different XML Schema validators.