[Checkins] SVN: z3c.form/trunk/src/z3c/form/browser/README.txt This control sequence is hard to parse and unnecessary.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Mon Sep 8 11:07:31 EDT 2008
On Monday 08 September 2008, Malthe Borch wrote:
> Stephan Richter wrote:
> >> - >>> field = zope.schema.Bytes(default='\10\45\n\32')
> >> + >>> field = zope.schema.Bytes(default='Default bytes')
> >
> > Hey Malthe, you weakened the test a lot by not having non-ASCII
> > characters in the test now. Why did you troubles with that?
>
> The ``xml.parsers.expat`` module claims that the previous value was not
> valid in an XML document. I think it constitutes some flawed escape
> sequence, at least according to this module. But that could be a bug.
>
> What were you trying to test in particular?
I wanted to test that Bytes widgets accept non-ASCII characters, which is the
point of choosing the Bytes over ASCII field. Now, it might very well be that
the produced XML is not valid, in which case we should fix the widget/data
converter.
Regards,
Stephan
--
Stephan Richter
Web Software Design, Development and Training
Google me. "Zope Stephan Richter"
More information about the Checkins
mailing list