Bugs item #705467, was opened at 2003-03-18 00:52
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104754&aid=705467&group_id=4754

Category: Tapestry
Group: bug
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Howard Lewis Ship (hship)
Summary: bug in AbstractMarkupWriter 2.3 + 2.4 A4

Initial Comment:

the function public void attribute(String name, String 
value) should pass through the ampersand unchanged, 
but it encodes it !

I changed the function private void safePrint(char[] data, 
int offset, int length, boolean isAttribute) as follows and 
it works:

if (isAttribute)
{
  if (ch == '&')
    isSafe = true;   
  else if (ch == '"')
    isSafe = false;
}


Thank you for this great framework !

Gerhard


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104754&aid=705467&group_id=4754


-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to