Invalid JSON:Unexpected non-whitespace character after JSONat line 2, column 1
| {"QuestionId": 851677, "AnswerCount": 3, "Tags": "<wix><wix3>", "CreationDate": "2009-05-12T08:07:44.227", "AcceptedAnswerId": null, "Title": "How to check for installed package in WiX 3.0?", "Body": "<p>I'd like to check that Crystal Reports Basic for Visual Studio 2008 is installed as a condition for my own installation package.</p>\n\n<p>I found this in the bootstrapper description for this product (C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\Bootstrapper\\Packages\\CrystalReports10_5\\product.xml) :</p>\n\n<pre><code><InstallChecks>\n <MsiProductCheck Property=\"CRVSInstalled\" Product=\"{AA467959-A1D6-4F45-90CD-11DC57733F32}\"/>\n <MsiProductCheck Property=\"CRVSRunTimex86Installed\" Product=\"{CE26F10F-C80F-4377-908B-1B7882AE2CE3}\"/>\n <MsiProductCheck Property=\"CRVSRunTimex64Installed\" Product=\"{2BFA9B05-7418-4EDE-A6FC-620427BAAAA3}. \"/>\n</InstallChecks>\n</code></pre>\n\n<p>Trying to mimic this behavior in WiX, I did the following :</p>\n\n<pre><code><Property Id=\"CRVSINSTALLED\">\n <ComponentSearch Id=\"CRVSInstalledSearch\" Guid=\"{AA467959-A1D6-4F45-90CD-11DC57733F32}\" />\n</Property>\n<Property Id=\"CRVSRUNTIMEX86INSTALLED\">\n <ComponentSearch Id=\"CRVSRunTimex86InstalledSearch\" Guid=\"{CE26F10F-C80F-4377-908B-1B7882AE2CE3}\" />\n</Property>\n<Property Id=\"CRVSRUNTIMEX64INSTALLED\">\n <ComponentSearch Id=\"CRVSRunTimex64InstalledSearch\" Guid=\"{2BFA9B05-7418-4EDE-A6FC-620427BAAAA3}\" />\n</Property>\n<Condition Message=\"!(loc.CrystalReportsRequired)\">Installed OR CRVSINSTALLED OR CRVSRUNTIMEX86INSTALLED OR CRVSRUNTIMEX64INSTALLED</Condition>\n</code></pre>\n\n<p>But it seems that <code>ComponentSearch</code> is looking for package components (files, directories) that have their own ids, rather than looking for the package itself.</p>\n\n<p>So how can I do this ?</p>\n", "Lable": "No"} | |
| {"QuestionId": 1289072, "AnswerCount": 2, "Tags": "<java><.net><soap><wcf-binding>", "CreationDate": "2009-08-17T16:41:06.807", "AcceptedAnswerId": null, "Title": "How to Consume SOAP 1.2 Web Service Created in WCF by a Java Client?", "Body": "<p>I'm developing a Web Service Project in which I have to implement a web service that should be interoperable on all platforms. So initially I used basicHttpBinding as it uses SOAP 1.1 but I want the features of WS-* like reliable messaging, security, exceptions. So I used wsHttpBinding which is a SOAP 1.2 standard.</p>\n\n<p>Now after deploying on my test server I used Netbeans IDE to generate a webservice client. So in return it called the wsimport tool in java to generate proxy classes. When I invoke any method it simply goes into non-working state like there is no activity for 5 mins. So I'm not able to figure out that whether Java client can consume a SOAP 1.2 web service created in WCF?</p>\n\n<p>I need to know if I need to use any other binding than wsHttpBinding for all the features and have interoperability as well.</p>\n\n<p>I don't get any error when i invoke the web method.I tried debugging it but to no help.i set break-point on the line which was invoking the method,when debugger reaches that line then nothing happens, IDE shows running status but there is no activity.If anyone can suggest a tool to monitor Http request to server.</p>\n", "Lable": "No"} | |
| {"QuestionId": 1409728, "AnswerCount": 3, "Tags": "<.net><.net-3.5><.net-3.0>", "CreationDate": "2009-09-11T08:35:04.610", "AcceptedAnswerId": "1409738", "Title": "User advantage for .NET 3.5 over .NET 3.0", "Body": "<p>I've seen many questions on SO about .NET 3.5 advantages, but these are more leaned towards language features and easier development. Are there any non-developer-wise advantages for using .NET 3.5? Bugs, fixes, advantages over time?</p>\n\n<p>Background:</p>\n\n<ol>\n<li>Desktop application that works in conjuction with a device driver. </li>\n<li>We wanted to support as much configurations as possible, we settled for .NET 3.0. All of the functionality we really need is in .NET 3.0</li>\n<li>But I so want to use LINQ and all the other new framework features. These don't help the users one bit, though.</li>\n</ol>\n", "Lable": "No"} | |
| {"QuestionId": 1435766, "AnswerCount": 5, "Tags": "<c++><scope><pass-by-reference><argument-passing><parameter-passing>", "CreationDate": "2009-09-16T22:10:40.500", "AcceptedAnswerId": "1435782", "Title": "C Variable Scope Specific Question", "Body": "<p>Here is a particular scenario that I have been unclear about (in terms of scope) for a long time.</p>\n\n<p>consider the code</p>\n\n<pre><code>#include <stdio.h>\n\n\ntypedef struct _t_t{\n int x;\n int y;\n} t_t;\n\ntypedef struct _s_t{\n int a;\n int b;\n t_t t;\n}s_t;\n\nvoid test(s_t & s){\n t_t x = {502, 100};\n s.t = x;\n}\n\n\nint main(){\n s_t s; \n test(s);\n\n printf(\"value is %d, %d\\n\", s.t.x, s.t.y);\n return 0;\n}\n</code></pre>\n\n<p>the output is</p>\n\n<pre><code>value is 502, 100\n</code></pre>\n\n<p>What is a bit confusing to me is the following. The declaration</p>\n\n<pre><code>t_t x\n</code></pre>\n\n<p>is declared in the scope of the function test. So from what I have read about C programming, it should be garbage out of this scope. Yet it returns a correct result. Is it because the \"=\" on the line\n s.t = x;\ncopies the values of x into s.t?</p>\n\n<p>edit---</p>\n\n<p>after some experimentation</p>\n\n<pre><code>#include <stdio.h>\n\n\ntypedef struct _t_t{\n int x;\n int y;\n} t_t;\n\ntypedef struct _s_t{\n int a;\n int b;\n t_t t;\n}s_t;\n\nvoid test(s_t & s){\n t_t x = {502, 100};\n t_t * pt = &(s.t);\n pt = &x;\n}\n\n\nint main(){\n s_t s; \n test(s);\n\n printf(\"value is %d, %d\\n\", s.t.x, s.t.y);\n return 0;\n}\n</code></pre>\n\n<p>actually outputs</p>\n\n<pre><code>value is 134513915, 7446516\n</code></pre>\n\n<p>as expected.</p>\n", "Lable": "No"} | |
| {"QuestionId": 1449472, "AnswerCount": 3, "Tags": "<javascript><jquery><css>", "CreationDate": "2009-09-19T20:43:25.490", "AcceptedAnswerId": "1449590", "Title": "Select Box And Checkbox Replacement", "Body": "<p>I'm looking for a sensible way how to style select boxes, checkboxes and/or radiobuttons with CSS. I know that you can't do it with plain CSS because of how browsers' rendering engines work.</p>\n\n<p>But are there any javascript ways to style these HTML elements? And do they work across major browsers?</p>\n", "Lable": "No"} | |
| {"QuestionId": 1544974, "AnswerCount": 1, "Tags": "<rebol>", "CreationDate": "2009-10-09T17:03:15.137", "AcceptedAnswerId": "1549067", "Title": "Rebol and unset (optional) parameter", "Body": "<p>I want to create a do-libs generic function to automatically load a bunch of libs listed in rebol header files. I want to make the parameter optional but in that later case it doesn't work why ?</p>\n\n<pre><code>Rebol[\n libs: [ \n lib1/lib11.r\n lib1/lib12.r\n lib2/lib21.r\n ]\n]\ndo-libs 'libs ; works\ndo-libs ; doesn't work\n</code></pre>\n\n<p>with:</p>\n\n<pre><code>do-libs: func[libs [word! unset!]][\n\n if/else value? 'libs [\n foreach lib system/script/header/:libs [\n if/else file? lib [\n do lib\n ][ \n do file: to-rebol-file mold lib\n ] \n ]\n ][\n ;case with no parameter\n do-libs 'libs\n ]\n]\n</code></pre>\n", "Lable": "No"} | |