paulwhit
paulwhit

Reputation: 8878

XS:Group causes Schema to fail validation

I have an XML document based on a Schema that uses the xs:group element to bunch elements together.

The result is an entity

where name, address and phone number are defined in a group.

This fails Schema validation in MS (Visual Studio) as well as XERCES (oXygen XML editor)

Is there a workaround?

Upvotes: 0

Views: 66

Answers (1)

paulwhit
paulwhit

Reputation: 8878

In creating a sample XML to post, I was able to determine that validation was only failing because my element order was incorrect. Whoops!

Upvotes: 1

Related Questions