XML Schema validation broken in 7.2?

Hi, Last week I upgraded (I think from Oxygen 7.1) to Oxygen 7.2 which is using Xerces 2.8.0 for schema validation. Suddenly XML instance documents that are definitely not valid are being called valid by Oxygen. I am using the red "checkmark" button for which the tool tip is "Validate Document". I am creating the files by opening a new document in Oxygen and attaching a schema that way. Documents with no content in the elements as well as documents that are just completely wrong are coming up as valid. When I validate using Xerces at the command line (java sax.Counter) I am getting the proper errors for these same documents. Additionally, I am getting the proper errors in Oxygen when I try to validate the schema itself. What could be going wrong? Allison Bloodworth Principal Administrative Analyst Technology Program Office University of California, Berkeley (415) 377-8243 abloodworth@berkeley.edu

Dear Allison, Please try to put together a small sample (XML+schema) to show that problem and send that over as I do not remember a similar report against oXygen 7.2. A couple of things you should try: - Use also the "Reset Cache and Validate" action (at the left of the validate action in the toolbar) and see if you get different results - Make sure you have the Options->Preferences -- XML -- XML Parser -- http://apache.org/xml/features/validation/schema-full-checking enabled (if that is disabled then type derivations and unique particle attribution errors are not checked). - Make sure you have the schema that oXygen reports errors on as the schema associated for with those documents, for that use the "Open External Schema" action (also from the toolbar) to open the associated schema and validate that schema. Best Regards, George --------------------------------------------------------------------- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Allison Bloodworth wrote:
Hi,
Last week I upgraded (I think from Oxygen 7.1) to Oxygen 7.2 which is using Xerces 2.8.0 for schema validation. Suddenly XML instance documents that are definitely not valid are being called valid by Oxygen. I am using the red "checkmark" button for which the tool tip is "Validate Document". I am creating the files by opening a new document in Oxygen and attaching a schema that way. Documents with no content in the elements as well as documents that are just completely wrong are coming up as valid. When I validate using Xerces at the command line (java sax.Counter) I am getting the proper errors for these same documents. Additionally, I am getting the proper errors in Oxygen when I try to validate the schema itself. What could be going wrong?
Allison Bloodworth Principal Administrative Analyst Technology Program Office University of California, Berkeley (415) 377-8243 abloodworth@berkeley.edu
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (2)
-
Allison Bloodworth
-
George Cristian Bina