You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "In, Jae Woo" <Ja...@hp.com> on 2002/05/30 19:51:28 UTC
Difference between -f and -s
I am currently trying to discern the difference between the -f and -s switches for the DOM/SAX sample APIs. I've read the description from both the help screen and the Samples web page on Apache, but I do not see a difference. Is there a separate web page that lists which rules from the W3C Schema 1.0 spec gets validated when only using the -n -s switches and the -n -s -f? i.e., for example:
SAXCount -n -s -f personal-schema.xml produces this result: personal-schema.xml: 131 ms (37 elems, 20 attrs, 140 spaces, 128 chars)
SAXCount -n -s personal-schema.xml produces this result: personal-schema.xml: 90 ms (37 elems, 20 attrs, 140 spaces, 128 chars)
What is the difference? Also I tried an experiment where I changed the max occurrence attribute for the element person from "unbounded" to "1" .
I then tried the same two commands with this modified personal.xsd file. In both cases, the same error message was generated. Hence my confusion. Thank you for your assistance.
Jae W. In