IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Validating appinfo content in XMLSpy? Options · View
uams
Posted: Friday, September 4, 2009 10:38:24 AM
Rank: Newbie

Joined: 9/4/2009
Posts: 2
Hi all

Is there a way to force XMLSpy to validate <appinfo> content of XSD?

Example (part of XSD):
...
<xs:enumeration value="Author">
<xs:annotation>
<xs:documentation>...</xs:documentation>
<xs:appinfo>
<ai:MlsText>
<ai:ShortName>...</ai:ShortName>
<ai:Name>...</ai:Name>
<ai:Info>...</ai:Info>
</ai:MlsText>

</xs:appinfo>
</xs:annotation>
</xs:enumeration>
...

Elements in Namespace "ai" are defined in another XML-Schema.
It would be very nice, if XML-Spy checks against that schema while editing.
Possible?

Thanks for any hints in advance!
vlad
Posted: Friday, September 4, 2009 11:18:17 AM
Rank: Advanced Member

Joined: 12/13/2005
Posts: 2,856
Location: Mauritius
The validation of these elements, which are not part of schema, is possible but in Text View and not in Schema View.
uams
Posted: Friday, September 4, 2009 11:37:02 AM
Rank: Newbie

Joined: 9/4/2009
Posts: 2
vlad wrote:
The validation of these elements, which are not part of schema, is possible but in Text View and not in Schema View.


Text View is fine for me - probably silly question: how can i activate the check? ... or how i have to reference the schema for the appinfo content?
vlad
Posted: Friday, September 4, 2009 12:00:18 PM
Rank: Advanced Member

Joined: 12/13/2005
Posts: 2,856
Location: Mauritius
Sorry, I'm afraid I have to take back my recommendation - I failed to find a method to validate it.
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.