• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

xyzws question

 
Divya Gehlot
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
for below question I selected 3 and 4 options .
but correct answer what they had given is 1 and 3.
why so?
can any one explain?
As far as I understand the all element is used to write the that group element in any order.
so on that basis 1,3 and 4 are true.
but as they asked to slect only two options I selected 3 and 4.

 
Anderson Fonseca
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
city and state are not required due minOccurs are equals to 0, thus only name, street, zip are required.

When these elements are displayed inside <all> tag, this order don't matter. Thus zip, street, name are correct.
 
Divya Gehlot
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Thanks for clearing my doubt
 
Mike Sanders
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
#4 is not correct because name is required, correct?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic