Opened 11 years ago

Closed 11 years ago

#6426 closed Bugs (wontfix)

Guess I found a bug in boost::spirit

Reported by: truthfinder@… Owned by: Joel de Guzman
Milestone: To Be Determined Component: spirit
Version: Boost 1.48.0 Severity: Problem
Keywords: spirit bug grammar problem Cc: truthfinder@…

Description

I took gramma from

http://tools.ietf.org/html/rfc5545#section-3.6.5 from 3.1. Content Lines http://tools.ietf.org/html/rfc2234 WSP, ALPHA, DIGIT etc http://tools.ietf.org/html/rfc3629 UTF8-2, UTF8-3, UTF8-4, UTF-tail

param-value = paramtext / quoted-string here is the problem

Input string 'ORGANIZER;CN="Test":test@…\r\n' can't be parsed, but it can when I use

param-value = quoted-string / paramtext just a little swap

Tested on boost 1.37, 1.48. Also I added testing sample.

Attachments (1)

xmlstub.zip (131.5 KB ) - added by truthfinder@… 11 years ago.
sample with bug in boost::spirit

Download all attachments as: .zip

Change History (2)

by truthfinder@…, 11 years ago

Attachment: xmlstub.zip added

sample with bug in boost::spirit

comment:1 by Joel de Guzman, 11 years ago

Resolution: wontfix
Status: newclosed

Please post this to Spirit's mailing list first, before adding a ticket here. We are not sure if this is really a bug and the proper forum to request for support is the mailing list. Don't forget to add a *minimal* test case as per Spirit's support policy. See:

http://boost-spirit.com/home/feedback-and-support/

I'm closing this as won't fix for now.

Note: See TracTickets for help on using tickets.