<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18812"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=035533209-25092009><FONT color=#0000ff
size=2 face=Arial>Maybe OpenCms is treating ',' in a special way regarding
XSD's. Try using a different separator like ';' if possible.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=035533209-25092009><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=035533209-25092009><FONT color=#0000ff
size=2 face=Arial>Roman</FONT></SPAN></DIV>
<DIV> </DIV><BR>
<DIV dir=ltr lang=de class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>Von:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>Im Auftrag von </B>Michael
Varshavsky<BR><B>Gesendet:</B> Donnerstag, 24. September 2009
20:29<BR><B>An:</B> The OpenCms mailing list<BR><B>Betreff:</B> [opencms-dev]
Escaping commas as delimiters<BR></FONT><BR></DIV>
<DIV></DIV>I'm running into an interesting problem that I'm guessing must have
surfaced before... <BR><BR>I've got an element in my XSD which is associated w/
a MultiSelectWidget. That allows users to select multiple strings to serve as a
value for that particular element.<BR>Those multiple values are stored
underneath as comma separated
values.<BR><BR>e.g.<BR><BR>Products<BR>---A<BR>---B<BR>---C<BR><BR>if first two
products are selected and the document is saved, in control code underneath it
gets saved as 'A,B'<BR>The problem arises when one of the product names has a
comma in its description<BR>
<BR><BR><BR>Products<BR>---A<BR>---B,B1<BR>---C<BR>
<BR>now in the control code underneath, it is saved with 'A,B,B1'.<BR>Obviously
that blurs the line between having two options 'A' and 'B,B1' and three options
'A', 'B', and 'B1' which creates problems when I try to search for things
later.<BR><BR>I tried replacing commas w/ unicode values but that didn't
work.<BR><BR>Any suggestions?<BR></BODY></HTML>