Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

XML I10-001 Exam - Topic 9 Question 113 Discussion

Select which of the following correctly describes an XML Schema definition when the Market Price element must be a positive integer. Assume the Schema namespace prefix is "xs".
B) <xs:element name='MarketPrice' type='xs:positiveInteger'/>
A) <xs:element name='MarketPrice' type='xs:negativeInteger'/>
C) <xs:element name='MarketPrice' type='xs:duration'/>
D) <xs:element name='MarketPrice' type='xs:hexBinary'/>W Courier Newlr Z

XML I10-001 Exam - Topic 9 Question 113 Discussion

Actual exam question for XML's I10-001 exam
Question #: 113
Topic #: 9
[All I10-001 Questions]

Select which of the following correctly describes an XML Schema definition when the Market Price element must be a positive integer. Assume the Schema namespace prefix is "xs".

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Franchesca
10 hours ago
I’m a bit confused because I thought negativeInteger was a valid type, but that wouldn’t make sense for a Market Price, right?
upvoted 0 times
...
Francoise
6 days ago
I remember practicing a similar question where we had to identify data types in XML Schema. I think positiveInteger is the right choice here too.
upvoted 0 times
...
Jesus
11 days ago
I think the Market Price should be a positive integer, so I’m leaning towards option B, but I’m not entirely sure.
upvoted 0 times
...
Karan
16 days ago
I’m confused about the other types; "xs:duration" and "xs:hexBinary" don’t seem relevant at all for a price.
upvoted 0 times
...
Marya
21 days ago
I practiced a similar question before, and I believe "xs:positiveInteger" is the correct choice here.
upvoted 0 times
...
Lai
26 days ago
I'm not entirely sure, but I feel like "xs:negativeInteger" definitely wouldn't work for a positive value.
upvoted 0 times
...
Lilli
2 months ago
I think the Market Price needs to be a positive integer, so I remember that "xs:positiveInteger" is the right type for that.
upvoted 0 times
...

Save Cancel