{"action":"created","issue":{"url":"https://api.github.com/repos/teamed/qulice/issues/469","labels_url":"https://api.github.com/repos/teamed/qulice/issues/469/labels{/name}","comments_url":"https://api.github.com/repos/teamed/qulice/issues/469/comments","events_url":"https://api.github.com/repos/teamed/qulice/issues/469/events","html_url":"https://github.com/teamed/qulice/issues/469","id":109206390,"number":469,"title":"XML Validation with weird error","user":{"login":"caarlos0","id":245435,"avatar_url":"https://avatars.githubusercontent.com/u/245435?v=3","gravatar_id":"","url":"https://api.github.com/users/caarlos0","html_url":"https://github.com/caarlos0","followers_url":"https://api.github.com/users/caarlos0/followers","following_url":"https://api.github.com/users/caarlos0/following{/other_user}","gists_url":"https://api.github.com/users/caarlos0/gists{/gist_id}","starred_url":"https://api.github.com/users/caarlos0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caarlos0/subscriptions","organizations_url":"https://api.github.com/users/caarlos0/orgs","repos_url":"https://api.github.com/users/caarlos0/repos","events_url":"https://api.github.com/users/caarlos0/events{/privacy}","received_events_url":"https://api.github.com/users/caarlos0/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/teamed/qulice/labels/30%20mins","name":"30 mins","color":"eb6421"},{"url":"https://api.github.com/repos/teamed/qulice/labels/@krzyk","name":"@krzyk","color":"009801"},{"url":"https://api.github.com/repos/teamed/qulice/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/teamed/qulice/labels/DEV","name":"DEV","color":"bfd4f3"}],"state":"closed","locked":false,"assignee":{"login":"krzyk","id":105730,"avatar_url":"https://avatars.githubusercontent.com/u/105730?v=3","gravatar_id":"","url":"https://api.github.com/users/krzyk","html_url":"https://github.com/krzyk","followers_url":"https://api.github.com/users/krzyk/followers","following_url":"https://api.github.com/users/krzyk/following{/other_user}","gists_url":"https://api.github.com/users/krzyk/gists{/gist_id}","starred_url":"https://api.github.com/users/krzyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzyk/subscriptions","organizations_url":"https://api.github.com/users/krzyk/orgs","repos_url":"https://api.github.com/users/krzyk/repos","events_url":"https://api.github.com/users/krzyk/events{/privacy}","received_events_url":"https://api.github.com/users/krzyk/received_events","type":"User","site_admin":false},"milestone":null,"comments":21,"created_at":"2015-10-01T00:27:10Z","updated_at":"2015-10-22T08:40:22Z","closed_at":"2015-10-19T19:20:34Z","body":"In #402 , I reported a bug with XML validation... The fix seems to not have been fixed it entirely.\r\n\r\nI copied a XML from one project (where qulice is running too), and just replaced the name of the project. It's something like this:\r\n\r\n```xml\r\n<?xml version=\"1.0\"?>\r\n<!--\r\n * Copyright (c) 2014-2015, Aaaaaaa, Inc.\r\n * All rights reserved.\r\n *\r\n * Redistribution and use in source and binary forms, with or without\r\n * modification, are NOT permitted.\r\n *\r\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\r\n * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT\r\n * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND\r\n * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL\r\n * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\r\n * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\r\n * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\r\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\r\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\r\n * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\r\n * OF THE POSSIBILITY OF SUCH DAMAGE.\r\n -->\r\n<project xmlns=\"http://maven.apache.org/DECORATION/1.3.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n    xsi:schemaLocation=\"http://maven.apache.org/DECORATION/1.3.0 http://maven.apache.org/xsd/decoration-1.3.0.xsd\"\r\n    name=\"really-big-name-aaaaaa\">\r\n    <skin>\r\n        <groupId>com.jcabi</groupId>\r\n        <artifactId>jcabi-maven-skin</artifactId>\r\n        <version>1.5.1</version>\r\n    </skin>\r\n    <bannerLeft>\r\n        <name>aaaaa.com</name>\r\n        <src>http://aaaaaa.com/img/logonew.png</src>\r\n        <href>http://www.aaaaa.com/</href>\r\n        <width>115</width>\r\n        <height>65</height>\r\n    </bannerLeft>\r\n    <body>\r\n        <menu name=\"Overview\">\r\n            <item name=\"Introduction\" href=\"index.html\"/>\r\n            <item name=\"Release History\"\r\n                href=\"https://github.com/asdfgh/really-big-name-aaaaaa/releases\"/>\r\n        </menu>\r\n        <menu ref=\"reports\"/>\r\n    </body>\r\n</project>\r\n```\r\n\r\nIf I copy this file and run qulice against it, it breaks with those errors:\r\n\r\n```\r\n[ERROR] patch:\r\n[ERROR] --- before\r\n[ERROR] +++ after\r\n[ERROR] @@ -1,6 +1,5 @@\r\n[ERROR] -<?xml version=\"1.0\"?>\r\n[ERROR] <!--\r\n[ERROR] * Copyright (c) 2014-2015, Aaaaaaa, Inc.\r\n[ERROR] * All rights reserved.\r\n[ERROR] *\r\n[ERROR] * Redistribution and use in source and binary forms, with or without\r\n[ERROR] @@ -16,14 +15,14 @@\r\n[ERROR] * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\r\n[ERROR] * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\r\n[ERROR] * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\n[ERROR] * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED\r\n[ERROR] * OF THE POSSIBILITY OF SUCH DAMAGE.\r\n[ERROR] - -->\r\n[ERROR] -<project xmlns=\"http://maven.apache.org/DECORATION/1.3.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n[ERROR] -    xsi:schemaLocation=\"http://maven.apache.org/DECORATION/1.3.0 http://maven.apache.org/xsd/decoration-1.3.0.xsd\"\r\n[ERROR] -    name=\"really-big-name-aaaaaa\">\r\n[ERROR] + --><project xmlns=\"http://maven.apache.org/DECORATION/1.3.0\"\r\n[ERROR] +         xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n[ERROR] +         xsi:schemaLocation=\"http://maven.apache.org/DECORATION/1.3.0 http://maven.apache.org/xsd/decoration-1.3.0.xsd\"\r\n[ERROR] +         name=\"really-big-name-aaaaaa\">\r\n[ERROR] <skin>\r\n[ERROR] <groupId>com.jcabi</groupId>\r\n[ERROR] <artifactId>jcabi-maven-skin</artifactId>\r\n[ERROR] <version>1.5.1</version>\r\n[ERROR] </skin>\r\n[ERROR] @@ -36,11 +35,10 @@\r\n[ERROR] </bannerLeft>\r\n[ERROR] <body>\r\n[ERROR] <menu name=\"Overview\">\r\n[ERROR] <item name=\"Introduction\" href=\"index.html\"/>\r\n[ERROR] <item name=\"Release History\"\r\n[ERROR] -                href=\"https://github.com/asdfgh/really-big-name-aaaaaa/releases\"/>\r\n[ERROR] +               href=\"https://github.com/asdfgh/really-big-name-aaaaaa/releases\"/>\r\n[ERROR] </menu>\r\n[ERROR] <menu ref=\"reports\"/>\r\n[ERROR] </body>\r\n[ERROR] </project>\r\n[ERROR] -\r\n```\r\n\r\nIt basically asks to remove the `<?xml version=\"1.0\"?>` header, glue together the end of the header license with the start of the `project` tag, change some indentation that makes no sense , and, finally, asks to remove the last empty line - which also doesn't make any sense.\r\n\r\nBut, even If I do all the changes, it keeps complaining about an un-existent empty line at the end of the file.\r\n\r\nSeems a bug for me... is there any chance that some dependencies of the project are messing up with qulice?\r\n\r\n\n\n<hr id='w'>\n\n"},"comment":{"url":"https://api.github.com/repos/teamed/qulice/issues/comments/150150125","html_url":"https://github.com/teamed/qulice/issues/469#issuecomment-150150125","issue_url":"https://api.github.com/repos/teamed/qulice/issues/469","id":150150125,"user":{"login":"davvd","id":6305016,"avatar_url":"https://avatars.githubusercontent.com/u/6305016?v=3","gravatar_id":"","url":"https://api.github.com/users/davvd","html_url":"https://github.com/davvd","followers_url":"https://api.github.com/users/davvd/followers","following_url":"https://api.github.com/users/davvd/following{/other_user}","gists_url":"https://api.github.com/users/davvd/gists{/gist_id}","starred_url":"https://api.github.com/users/davvd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davvd/subscriptions","organizations_url":"https://api.github.com/users/davvd/orgs","repos_url":"https://api.github.com/users/davvd/repos","events_url":"https://api.github.com/users/davvd/events{/privacy}","received_events_url":"https://api.github.com/users/davvd/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T08:40:22Z","updated_at":"2015-10-22T08:40:22Z","body":"@caarlos0 once `469-1b2c894b`/#483 puzzle is resolved (later, in another ticket), this ticket will be fully complete"}}