This project has moved and is read-only. For the latest updates, please go here.


Invalid diagnostic when using attribute ref


When I include an attribute by reference, the xsddoc plugin throws the following error:

Error 1 Unexpected error while executing plug-in 'XML Schema Documenter': XsdDocumentation.XsdDocumentationException: There was an error constructing the schema set. ---> System.Xml.Schema.XmlSchemaException: If ref is present, all of 'simpleType', 'form', 'type', and 'use' must be absent. SHFB 0 1 InSyncConfigUpdaterHelp

The 'use' attribute has to be allowed, because there is no legal way to include it in the global attribute. In other words, the use attribute has to be allowed on the attribute element that also contains the ref attribute.
Closed Aug 25, 2014 at 1:35 AM by terrajobst