Please refer to the following question which is from the ibm sample test.
16. Which one of the following XML content models is NOT allowed?
a.<!element Customer (Name, Ship-to-address?, Bill-to-address?)>
b.<!element Customer ((Name, Ship-to-address) | (Name, Bill-to-address))>
c.<!element Customer (Name, (Ship-to-address | Bill-to-address)?)>
d.<!element Customer (Name, (Ship-to-address, Bill-to-address)?)>
The given answer is b whereas I am able to validate(f7) it in xml spy.
Comments please.
Sanjay
16. Which one of the following XML content models is NOT allowed?
a.<!element Customer (Name, Ship-to-address?, Bill-to-address?)>
b.<!element Customer ((Name, Ship-to-address) | (Name, Bill-to-address))>
c.<!element Customer (Name, (Ship-to-address | Bill-to-address)?)>
d.<!element Customer (Name, (Ship-to-address, Bill-to-address)?)>
The given answer is b whereas I am able to validate(f7) it in xml spy.
Comments please.
Sanjay