About Question com.enthuware.ets.scwcd.v5.2.189 :
Moderator: admin
About Question com.enthuware.ets.scwcd.v5.2.189 :
wow, are you sure, about the yes and no, besides true and false?
-
- Site Admin
- Posts: 10102
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.ets.scwcd.v5.2.189 :
Yes, this is as per the specification.
If you like our products and services, please help us by posting your review here.
-
- Posts: 60
- Joined: Wed Apr 23, 2014 6:38 pm
- Contact:
Re: About Question com.enthuware.ets.scwcd.v5.2.189 :
I searched in the spec. Page 1-126 (5.16) came with up with hits in 3 paragraphs:
The quotes above are not quite the same as a blanket endorsement for all boolean variables to have "yes" and "no" for valid replacements to "true" and "false". If someone is aware of a more definite quote it would be useful to post it here.Thanks!
Another hit in page 129 (5.15) repeats the point of the first paragraph quoted above for omit-xml-declaration.The omit-xml-declaration property is of type String and the valid values are “yes”, “no”, “true” and “false”. The name, values and semantics mimic that of the xsl:output element in the XSLT specification: if a value of “yes” or “true” is given, the container will not add an XML declaration; if a value of “no” or “false” is given, the container will add an XML declaration.
The default value for a JSP document that has a jsp:root element is “yes”. The default value for JSP documents without a jsp:root element is “no”.
The default value for a tag file in XML syntax is always “yes”. If the value is “false” or “no” the tag file will emit an XML declaration as its first content.
The quotes above are not quite the same as a blanket endorsement for all boolean variables to have "yes" and "no" for valid replacements to "true" and "false". If someone is aware of a more definite quote it would be useful to post it here.Thanks!
Who is online
Users browsing this forum: No registered users and 4 guests