logo       

default for using ' in OutputOptions?: msg#00036

java.enhydra.xmlc

Subject: default for using ' in OutputOptions?


Hi everyone,

XMLC-2.2 is close to ready. I wanted to check on one thing, though. In OutputOptions, the javadoc for getUseAposEntity() said that the default was false. However, the field actually defaulted to true. I changed it to false, but I wonder if the default shouldn't actually be true since it is actually a quirk that some browsers might not be able to deal with ' and XML requires the escaping of single quotes since they can be used to surround attributes.

Does anyone have an opinion one way or the other? I've removed presetting of quirks in the HTMLFormatter where OutputOptions defaults were being overridden. I think if people need certain quirks, they should explicitly state this fact by setting their own OutputOptions.

Anyway, let me know.

Oh, the other thing that needs to be verified are the testcases. I know there are some test cases that are broken, but I'm not sure which ones really matter? What I mean is, there are some test cases that have been broken for quite a while.... at least before I started making changes, so David, Richard, Mark, or anyone else out there that wants to help out, it would be great if you could peruse these and flag anything that is failing and absolutely shouldn't be failing for an XMLC release.

later,

Jake


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise