Subject:Mismatch between intellisense and validator Author:Chris Bray Date:13 Mar 2008 01:13 PM
I'm having a few issues with Stylus Studio Enterprise 2008, most of my XML file is fine, however there is one section where when I type the opening < of the tag the intellisense lists the valid entries, if I select one of the options (roles) and complete the tag then try to validate the result using the "Validate Document" button I get "Unknown element 'roles'".
Now I know the "roles" element is valid at this position (the file validates correctly using Xerces-J, XMLSpy and OxygenXML) and the intellisense is listing the correct elements available, however the validator does not see the elements as valid.
Is there any debug output that I can use to try and troubleshoot the validator error?
I have another (possibly related) error whereby I have a type (Hole) derived from another type (MonitoringLocation) that exists in another namespace, which is in turn derived from another type in yet another namespace (Location), my substitution groups are setup correctly (in XMLSpy, Xerces-J and OxygenXML) however these alternative elements are not listed correctly in the intellisense.