Microsoft KB Archive/828820

= You receive a validation error when you use Visio 2007 or Visio 2003 to open a Visio XML file that contains a nested third-party inline schema =

Article ID: 828820

Article Last Modified on 11/10/2006

-

APPLIES TO


 * Microsoft Office Visio Professional 2007
 * Microsoft Office Visio Standard 2007
 * Microsoft Office Visio Standard 2003
 * Microsoft Office Visio Professional 2003

-





SYMPTOMS
When you use Microsoft Office Visio 2007 or Microsoft Office Visio 2003 to open a Visio XML (.vxd) file that contains a nested third-party inline schema with known errors in that nested element, that file will open successfully. However, you receive a validation error.



CAUSE
This problem occurs because Visio 2003 and Visio 2007 cannot validate third-party XML files that use an inline schema declared in a nested element, for example, SolutionXML. Visio 2003 and Visio 2007 can validate third-party XML files that reference a schema that uses the xsi:schemaLocation attribute.



WORKAROUND
To work around this problem, do either of the following:
 * Add an inline schema to the schema cache.
 * Use the xsi:schemaLocation attribute with the Use-schema-location feature. This permits you to refer a schema directly from your xmi document without adding it to the cache.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Keywords: kbprb kbinfo kbbug KB828820

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.