Re: default for using ' in OutputOptions?

Petr Stehlik <[email protected]>
Newsgroups gmane.comp.java.enhydra.xmlc
Message-ID <[email protected]>
On Čt, 2003-06-26 at 09:36, Jacob Kjome wrote:
> 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 &apos; 
> and XML requires the escaping of single quotes since they can be used to 
> surround attributes.

Well, there was the problem with javascript in XHTML. XMLC converted the
quotes of javascript function parameters to &apos; and browsers didn't
understand that. The solution was to replace &apos; with some hex code,
wasn't it? I thought you had done that already.

The question is if the hex code in the javascript parameters is
understood by browsers correctly or not.

Petr
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.