https://redmine.named-data.net/https://redmine.named-data.net/favicon.ico?14759811232015-07-22T14:57:00ZNDN project issue tracking systemNFD - Bug #3019: nfd-status-http-server: erroneous <!DOCTYPE html> displayhttps://redmine.named-data.net/issues/3019?journal_id=116642015-07-22T14:57:00ZJoao Pereirajoaopapereira@gmail.com
<ul></ul><p>I was able to reproduce the error with Firefox 39.</p>
<p>Is this something new? Ins't it possible that this is a new "Feature" of Firefox?</p>
<p>Was the tools output changed?</p>
<p>Instead of trying to to solve this error shouldn't we try to change the output of to HTML instead of XML?</p>
NFD - Bug #3019: nfd-status-http-server: erroneous <!DOCTYPE html> displayhttps://redmine.named-data.net/issues/3019?journal_id=116722015-07-22T20:03:03ZJunxiao Shi
<ul></ul><blockquote>
<p>change the output of to HTML instead of XML?</p>
</blockquote>
<p>Doing XSLT on server-side is unacceptable.</p>
<p>The output of <code>GET / HTTP/1.0</code> needs to be machine-readable.<br>
Monitoring scripts depend on that.</p>
NFD - Bug #3019: nfd-status-http-server: erroneous <!DOCTYPE html> displayhttps://redmine.named-data.net/issues/3019?journal_id=116732015-07-22T20:05:50ZJunxiao Shi
<ul></ul><p>Solution: <a href="http://stackoverflow.com/a/17573495">http://stackoverflow.com/a/17573495</a></p>
NFD - Bug #3019: nfd-status-http-server: erroneous <!DOCTYPE html> displayhttps://redmine.named-data.net/issues/3019?journal_id=116862015-07-23T08:56:25ZJoao Pereirajoaopapereira@gmail.com
<ul><li><strong>Assignee</strong> set to <i>Joao Pereira</i></li></ul> NFD - Bug #3019: nfd-status-http-server: erroneous <!DOCTYPE html> displayhttps://redmine.named-data.net/issues/3019?journal_id=116872015-07-23T08:57:27ZJoao Pereirajoaopapereira@gmail.com
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Correction in the commit:</p>
<p><a href="http://gerrit.named-data.net/2271">http://gerrit.named-data.net/2271</a> nfd-status-http-server: erroneous <!DOCTYPE html> display</p>
NFD - Bug #3019: nfd-status-http-server: erroneous <!DOCTYPE html> displayhttps://redmine.named-data.net/issues/3019?journal_id=116892015-07-23T09:20:03ZJunxiao Shi
<ul></ul><p>commit:4e274ac91520ac4b11afb5e651451f21ff590fa2 differs from suggested solution in note-3: <code>method="html"</code> vs <code>method="xml"</code>.<br><br>
I don't know which one is correct.</p>
<p>In either case, this solution needs to be tested with:</p>
<ul>
<li>Internet Explorer 9</li>
<li>Internet Explorer 10</li>
<li>Firefox</li>
<li>Chrome</li>
<li>OS X Safari</li>
<li>iPhone browser</li>
<li>Android Chrome</li>
</ul>
NFD - Bug #3019: nfd-status-http-server: erroneous <!DOCTYPE html> displayhttps://redmine.named-data.net/issues/3019?journal_id=116902015-07-23T09:20:21ZJunxiao Shi
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Code review</i></li></ul> NFD - Bug #3019: nfd-status-http-server: erroneous <!DOCTYPE html> displayhttps://redmine.named-data.net/issues/3019?journal_id=116922015-07-23T10:30:10ZJoao Pereirajoaopapereira@gmail.com
<ul></ul><p>Answering to Note-6:</p>
<p>If you use method xml you will get XML output that is not converted into a webpage when you see it in the browser.</p>
<p>The tests will be tricky due to my setup I can only test for IE11, Firefox and Chrome</p>
NFD - Bug #3019: nfd-status-http-server: erroneous <!DOCTYPE html> displayhttps://redmine.named-data.net/issues/3019?journal_id=116942015-07-23T11:43:05ZJunxiao Shi
<ul></ul><p>Reply to note-8:</p>
<p>Can you upload an XML (from any testbed router), along with modified XSLT and other static files, to a public HTTP server?<br><br>
This would allow others to test with their devices.</p>
NFD - Bug #3019: nfd-status-http-server: erroneous <!DOCTYPE html> displayhttps://redmine.named-data.net/issues/3019?journal_id=116982015-07-23T13:00:27ZJoao Pereirajoaopapereira@gmail.com
<ul></ul><p>With my commit the output looks like this:</p>
<p><a href="http://jpereira.co.uk/nfd_test/index.xsl">http://jpereira.co.uk/nfd_test/index.xsl</a></p>
<p>If I change the "html" to "xml" in the xsl file then I get this output:</p>
<p><a href="http://jpereira.co.uk/nfd_test/index_xml.xsl">http://jpereira.co.uk/nfd_test/index_xml.xsl</a></p>
<p>Tested with success in:</p>
<p>IE11 - Passed</p>
<p>Firefox 39 - Passed</p>
<p>Chrome - Passed</p>
<p>Android Chrome - Passed</p>
NFD - Bug #3019: nfd-status-http-server: erroneous <!DOCTYPE html> displayhttps://redmine.named-data.net/issues/3019?journal_id=117052015-07-23T18:16:20ZAlex Afanasyev
<ul></ul><p>The first link Works on IOS 8.4.</p>
<p>The second returns just a plain text.</p>
NFD - Bug #3019: nfd-status-http-server: erroneous <!DOCTYPE html> displayhttps://redmine.named-data.net/issues/3019?journal_id=117192015-07-23T23:58:17ZJunxiao Shi
<ul></ul><p>My Windows 7 laptop also has IE11 now. I thought it's IE9.<br><br>
So, IE9 and IE10 are in the past and we don't need to test them.</p>
<p>I tried <a href="http://jpereira.co.uk/nfd_test/index.xsl">http://jpereira.co.uk/nfd_test/index.xsl</a> on:</p>
<ul>
<li>Android 5.1.1 Chrome: PASS</li>
<li>Windows 7 IE11: PASS</li>
<li>Linux Mint Qiana Firefox: PASS</li>
<li>Windows Phone Cyan IE: FAIL (but it never worked)</li>
</ul>
<p>We still need a test on OS X Safari.</p>
NFD - Bug #3019: nfd-status-http-server: erroneous <!DOCTYPE html> displayhttps://redmine.named-data.net/issues/3019?journal_id=117232015-07-24T09:59:55ZJoao Pereirajoaopapereira@gmail.com
<ul></ul><p>I was able to get a Mac and tested it. </p>
<p>Tested the link: <a href="http://jpereira.co.uk/nfd_test/index.xsl:">http://jpereira.co.uk/nfd_test/index.xsl:</a></p>
<ol>
<li>OS X Safari: PASS</li>
<li>OS X Chrome: PASS</li>
</ol>
NFD - Bug #3019: nfd-status-http-server: erroneous <!DOCTYPE html> displayhttps://redmine.named-data.net/issues/3019?journal_id=117252015-07-24T10:03:06ZJunxiao Shi
<ul><li><strong>Status</strong> changed from <i>Code review</i> to <i>Closed</i></li></ul>