<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:12:11 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CDRIVER-1332] Does bson_json_reader_new&apos;s allow_multiple have an effect?</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-1332</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;Investigate what allow_multiple is supposed to mean and whether it has an effect. Test and document the reality. This about parsing a buffer like:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;{&quot;a&quot;: 1}{&quot;a&quot;: 1}{&quot;a&quot;: 1}&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;Read the YAJL documentation to see what it&apos;s supposed to mean.&lt;/p&gt;

&lt;p&gt;Could be that our error-handling code recovers when allow_multiple is false but we detect multiple docs, causing libbson to act as if allow_multiple is always true.&lt;/p&gt;</description>
                <environment></environment>
        <key id="294465">CDRIVER-1332</key>
            <summary>Does bson_json_reader_new&apos;s allow_multiple have an effect?</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="jesse@mongodb.com">A. Jesse Jiryu Davis</reporter>
                        <labels>
                            <label>intern2016</label>
                    </labels>
                <created>Thu, 16 Jun 2016 15:57:27 +0000</created>
                <updated>Mon, 5 Dec 2022 15:38:11 +0000</updated>
                            <resolved>Sat, 29 Oct 2016 02:46:15 +0000</resolved>
                                                    <fixVersion>1.5.0</fixVersion>
                                    <component>json</component>
                    <component>libbson</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1421213" author="xgen-internal-githook" created="Sat, 29 Oct 2016 02:47:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1332&quot; title=&quot;Does bson_json_reader_new&amp;#39;s allow_multiple have an effect?&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1332&quot;&gt;&lt;del&gt;CDRIVER-1332&lt;/del&gt;&lt;/a&gt; note that allow_multiple is unused&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libbson/commit/9b105d772c99dc84d69387e3b21097267082605e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libbson/commit/9b105d772c99dc84d69387e3b21097267082605e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1421212" author="xgen-internal-githook" created="Sat, 29 Oct 2016 02:46:59 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1332&quot; title=&quot;Does bson_json_reader_new&amp;#39;s allow_multiple have an effect?&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1332&quot;&gt;&lt;del&gt;CDRIVER-1332&lt;/del&gt;&lt;/a&gt; always validate that JSON is UTF-8&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libbson/commit/21e6c0a6abf7461873b78ad596ed08388b442add&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libbson/commit/21e6c0a6abf7461873b78ad596ed08388b442add&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1421211" author="xgen-internal-githook" created="Sat, 29 Oct 2016 02:46:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1332&quot; title=&quot;Does bson_json_reader_new&amp;#39;s allow_multiple have an effect?&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1332&quot;&gt;&lt;del&gt;CDRIVER-1332&lt;/del&gt;&lt;/a&gt; whitespace&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libbson/commit/976896c086bcbea688b872151a36d47fdc34177f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libbson/commit/976896c086bcbea688b872151a36d47fdc34177f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1421210" author="xgen-internal-githook" created="Sat, 29 Oct 2016 02:46:57 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;Fiona Rowan&apos;, u&apos;email&apos;: u&apos;fiona.rowan@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1332&quot; title=&quot;Does bson_json_reader_new&amp;#39;s allow_multiple have an effect?&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1332&quot;&gt;&lt;del&gt;CDRIVER-1332&lt;/del&gt;&lt;/a&gt;: bson_json_reader_new, document allow_multiple effect&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libbson/commit/826ddb0217ae1d793fa2d98a1b9ce78978c53f60&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libbson/commit/826ddb0217ae1d793fa2d98a1b9ce78978c53f60&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1421209" author="xgen-internal-githook" created="Sat, 29 Oct 2016 02:46:56 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;Fiona Rowan&apos;, u&apos;email&apos;: u&apos;fiona.rowan@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1332&quot; title=&quot;Does bson_json_reader_new&amp;#39;s allow_multiple have an effect?&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1332&quot;&gt;&lt;del&gt;CDRIVER-1332&lt;/del&gt;&lt;/a&gt;: yajl config option bug fix&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libbson/commit/3751fda91ce3a0a6cb63f15bfb1f72bedfa78dd8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libbson/commit/3751fda91ce3a0a6cb63f15bfb1f72bedfa78dd8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1375927" author="bjori" created="Fri, 2 Sep 2016 18:15:43 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/libbson/pull/175&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libbson/pull/175&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libbson/pull/176&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libbson/pull/176&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1297240" author="jesse" created="Thu, 16 Jun 2016 21:46:00 +0000"  >&lt;p&gt;Thanks Hannes. If the flag &lt;b&gt;is&lt;/b&gt; necessary, then there&apos;s a problem with test coverage: I can edit bson_json_reader_new to always set allow_multiple=false and all the tests pass. Same if I always set allow_multiple true.&lt;/p&gt;</comment>
                            <comment id="1297144" author="bjori" created="Thu, 16 Jun 2016 20:34:12 +0000"  >&lt;p&gt;This is to handle &lt;tt&gt;mongoexport -t json&lt;/tt&gt; export files&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2202273">CDRIVER-4533</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrcdu7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="970">C Driver 2016 sprint 5</customfieldvalue>
    <customfieldvalue id="1164">C Driver 2016 sprint 6</customfieldvalue>
    <customfieldvalue id="1203">C Driver 2016 sprint 7</customfieldvalue>
    <customfieldvalue id="1255">C Driver 2016 sprint 8</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>