{"action":"created","comment":{"url":"https://api.github.com/repos/NLog/NLog/pulls/comments/48443682","id":48443682,"diff_hunk":"@@ -0,0 +1,72 @@\n+﻿// \n+// Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net>\n+// \n+// All rights reserved.\n+// \n+// Redistribution and use in source and binary forms, with or without \n+// modification, are permitted provided that the following conditions \n+// are met:\n+// \n+// * Redistributions of source code must retain the above copyright notice, \n+//   this list of conditions and the following disclaimer. \n+// \n+// * Redistributions in binary form must reproduce the above copyright notice,\n+//   this list of conditions and the following disclaimer in the documentation\n+//   and/or other materials provided with the distribution. \n+// \n+// * Neither the name of Jaroslaw Kowalski nor the names of its \n+//   contributors may be used to endorse or promote products derived from this\n+//   software without specific prior written permission. \n+// \n+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n+// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \n+// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE \n+// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE \n+// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR \n+// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n+// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS \n+// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN \n+// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) \n+// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF \n+// THE POSSIBILITY OF SUCH DAMAGE.\n+// \n+\n+namespace NLog.UnitTests.Layouts\n+{\n+    using System;\n+    using System.Collections.Generic;\n+    using System.Globalization;\n+    using System.IO;\n+    using NLog.Layouts;\n+    using Xunit;\n+\n+    public class XmlLayoutTests\n+    {\n+        [Fact]\n+        public void XmlLayoutRenderingWithoutIndent()\n+        {","path":"tests/NLog.UnitTests/Layouts/XmlLayoutTests.cs","position":47,"original_position":47,"commit_id":"9db7779383917fed82c758adccb9276903f7c00c","original_commit_id":"9db7779383917fed82c758adccb9276903f7c00c","user":{"login":"Page-Not-Found","id":635337,"avatar_url":"https://avatars.githubusercontent.com/u/635337?v=3","gravatar_id":"","url":"https://api.github.com/users/Page-Not-Found","html_url":"https://github.com/Page-Not-Found","followers_url":"https://api.github.com/users/Page-Not-Found/followers","following_url":"https://api.github.com/users/Page-Not-Found/following{/other_user}","gists_url":"https://api.github.com/users/Page-Not-Found/gists{/gist_id}","starred_url":"https://api.github.com/users/Page-Not-Found/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Page-Not-Found/subscriptions","organizations_url":"https://api.github.com/users/Page-Not-Found/orgs","repos_url":"https://api.github.com/users/Page-Not-Found/repos","events_url":"https://api.github.com/users/Page-Not-Found/events{/privacy}","received_events_url":"https://api.github.com/users/Page-Not-Found/received_events","type":"User","site_admin":false},"body":"Can you write another test which does configuration using the XML instead of the API.","created_at":"2015-12-25T22:48:17Z","updated_at":"2015-12-25T22:48:17Z","html_url":"https://github.com/NLog/NLog/pull/1096#discussion_r48443682","pull_request_url":"https://api.github.com/repos/NLog/NLog/pulls/1096","_links":{"self":{"href":"https://api.github.com/repos/NLog/NLog/pulls/comments/48443682"},"html":{"href":"https://github.com/NLog/NLog/pull/1096#discussion_r48443682"},"pull_request":{"href":"https://api.github.com/repos/NLog/NLog/pulls/1096"}}},"pull_request":{"url":"https://api.github.com/repos/NLog/NLog/pulls/1096","id":54131393,"html_url":"https://github.com/NLog/NLog/pull/1096","diff_url":"https://github.com/NLog/NLog/pull/1096.diff","patch_url":"https://github.com/NLog/NLog/pull/1096.patch","issue_url":"https://api.github.com/repos/NLog/NLog/issues/1096","number":1096,"state":"open","locked":false,"title":"Add support for XmlLayout ","user":{"login":"pwelter34","id":1196837,"avatar_url":"https://avatars.githubusercontent.com/u/1196837?v=3","gravatar_id":"","url":"https://api.github.com/users/pwelter34","html_url":"https://github.com/pwelter34","followers_url":"https://api.github.com/users/pwelter34/followers","following_url":"https://api.github.com/users/pwelter34/following{/other_user}","gists_url":"https://api.github.com/users/pwelter34/gists{/gist_id}","starred_url":"https://api.github.com/users/pwelter34/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwelter34/subscriptions","organizations_url":"https://api.github.com/users/pwelter34/orgs","repos_url":"https://api.github.com/users/pwelter34/repos","events_url":"https://api.github.com/users/pwelter34/events{/privacy}","received_events_url":"https://api.github.com/users/pwelter34/received_events","type":"User","site_admin":false},"body":"This is based on the https://github.com/loresoft/NLog.Xml project.","created_at":"2015-12-18T17:57:48Z","updated_at":"2015-12-25T22:48:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a9d3af9bb0997f3c2a2ab13c80751d94adad393","assignee":null,"milestone":{"url":"https://api.github.com/repos/NLog/NLog/milestones/14","html_url":"https://github.com/NLog/NLog/milestones/4.3","labels_url":"https://api.github.com/repos/NLog/NLog/milestones/14/labels","id":1369256,"number":14,"title":"4.3","description":"","creator":{"login":"304NotModified","id":5808377,"avatar_url":"https://avatars.githubusercontent.com/u/5808377?v=3","gravatar_id":"","url":"https://api.github.com/users/304NotModified","html_url":"https://github.com/304NotModified","followers_url":"https://api.github.com/users/304NotModified/followers","following_url":"https://api.github.com/users/304NotModified/following{/other_user}","gists_url":"https://api.github.com/users/304NotModified/gists{/gist_id}","starred_url":"https://api.github.com/users/304NotModified/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/304NotModified/subscriptions","organizations_url":"https://api.github.com/users/304NotModified/orgs","repos_url":"https://api.github.com/users/304NotModified/repos","events_url":"https://api.github.com/users/304NotModified/events{/privacy}","received_events_url":"https://api.github.com/users/304NotModified/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":15,"state":"open","created_at":"2015-10-21T22:23:20Z","updated_at":"2015-12-25T22:04:30Z","due_on":"2016-01-09T23:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/NLog/NLog/pulls/1096/commits","review_comments_url":"https://api.github.com/repos/NLog/NLog/pulls/1096/comments","review_comment_url":"https://api.github.com/repos/NLog/NLog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NLog/NLog/issues/1096/comments","statuses_url":"https://api.github.com/repos/NLog/NLog/statuses/9db7779383917fed82c758adccb9276903f7c00c","head":{"label":"pwelter34:xml","ref":"xml","sha":"9db7779383917fed82c758adccb9276903f7c00c","user":{"login":"pwelter34","id":1196837,"avatar_url":"https://avatars.githubusercontent.com/u/1196837?v=3","gravatar_id":"","url":"https://api.github.com/users/pwelter34","html_url":"https://github.com/pwelter34","followers_url":"https://api.github.com/users/pwelter34/followers","following_url":"https://api.github.com/users/pwelter34/following{/other_user}","gists_url":"https://api.github.com/users/pwelter34/gists{/gist_id}","starred_url":"https://api.github.com/users/pwelter34/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwelter34/subscriptions","organizations_url":"https://api.github.com/users/pwelter34/orgs","repos_url":"https://api.github.com/users/pwelter34/repos","events_url":"https://api.github.com/users/pwelter34/events{/privacy}","received_events_url":"https://api.github.com/users/pwelter34/received_events","type":"User","site_admin":false},"repo":{"id":21294923,"name":"NLog","full_name":"pwelter34/NLog","owner":{"login":"pwelter34","id":1196837,"avatar_url":"https://avatars.githubusercontent.com/u/1196837?v=3","gravatar_id":"","url":"https://api.github.com/users/pwelter34","html_url":"https://github.com/pwelter34","followers_url":"https://api.github.com/users/pwelter34/followers","following_url":"https://api.github.com/users/pwelter34/following{/other_user}","gists_url":"https://api.github.com/users/pwelter34/gists{/gist_id}","starred_url":"https://api.github.com/users/pwelter34/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwelter34/subscriptions","organizations_url":"https://api.github.com/users/pwelter34/orgs","repos_url":"https://api.github.com/users/pwelter34/repos","events_url":"https://api.github.com/users/pwelter34/events{/privacy}","received_events_url":"https://api.github.com/users/pwelter34/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pwelter34/NLog","description":"NLog - Advanced .NET and Silverlight Logging","fork":true,"url":"https://api.github.com/repos/pwelter34/NLog","forks_url":"https://api.github.com/repos/pwelter34/NLog/forks","keys_url":"https://api.github.com/repos/pwelter34/NLog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pwelter34/NLog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pwelter34/NLog/teams","hooks_url":"https://api.github.com/repos/pwelter34/NLog/hooks","issue_events_url":"https://api.github.com/repos/pwelter34/NLog/issues/events{/number}","events_url":"https://api.github.com/repos/pwelter34/NLog/events","assignees_url":"https://api.github.com/repos/pwelter34/NLog/assignees{/user}","branches_url":"https://api.github.com/repos/pwelter34/NLog/branches{/branch}","tags_url":"https://api.github.com/repos/pwelter34/NLog/tags","blobs_url":"https://api.github.com/repos/pwelter34/NLog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pwelter34/NLog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pwelter34/NLog/git/refs{/sha}","trees_url":"https://api.github.com/repos/pwelter34/NLog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pwelter34/NLog/statuses/{sha}","languages_url":"https://api.github.com/repos/pwelter34/NLog/languages","stargazers_url":"https://api.github.com/repos/pwelter34/NLog/stargazers","contributors_url":"https://api.github.com/repos/pwelter34/NLog/contributors","subscribers_url":"https://api.github.com/repos/pwelter34/NLog/subscribers","subscription_url":"https://api.github.com/repos/pwelter34/NLog/subscription","commits_url":"https://api.github.com/repos/pwelter34/NLog/commits{/sha}","git_commits_url":"https://api.github.com/repos/pwelter34/NLog/git/commits{/sha}","comments_url":"https://api.github.com/repos/pwelter34/NLog/comments{/number}","issue_comment_url":"https://api.github.com/repos/pwelter34/NLog/issues/comments{/number}","contents_url":"https://api.github.com/repos/pwelter34/NLog/contents/{+path}","compare_url":"https://api.github.com/repos/pwelter34/NLog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pwelter34/NLog/merges","archive_url":"https://api.github.com/repos/pwelter34/NLog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pwelter34/NLog/downloads","issues_url":"https://api.github.com/repos/pwelter34/NLog/issues{/number}","pulls_url":"https://api.github.com/repos/pwelter34/NLog/pulls{/number}","milestones_url":"https://api.github.com/repos/pwelter34/NLog/milestones{/number}","notifications_url":"https://api.github.com/repos/pwelter34/NLog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pwelter34/NLog/labels{/name}","releases_url":"https://api.github.com/repos/pwelter34/NLog/releases{/id}","created_at":"2014-06-28T03:04:05Z","updated_at":"2014-06-26T12:40:37Z","pushed_at":"2015-12-22T17:28:35Z","git_url":"git://github.com/pwelter34/NLog.git","ssh_url":"git@github.com:pwelter34/NLog.git","clone_url":"https://github.com/pwelter34/NLog.git","svn_url":"https://github.com/pwelter34/NLog","homepage":null,"size":47964,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"NLog:master","ref":"master","sha":"33377f406b254f34d834bcba5c92247ab07a75b4","user":{"login":"NLog","id":2331628,"avatar_url":"https://avatars.githubusercontent.com/u/2331628?v=3","gravatar_id":"","url":"https://api.github.com/users/NLog","html_url":"https://github.com/NLog","followers_url":"https://api.github.com/users/NLog/followers","following_url":"https://api.github.com/users/NLog/following{/other_user}","gists_url":"https://api.github.com/users/NLog/gists{/gist_id}","starred_url":"https://api.github.com/users/NLog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NLog/subscriptions","organizations_url":"https://api.github.com/users/NLog/orgs","repos_url":"https://api.github.com/users/NLog/repos","events_url":"https://api.github.com/users/NLog/events{/privacy}","received_events_url":"https://api.github.com/users/NLog/received_events","type":"Organization","site_admin":false},"repo":{"id":5780416,"name":"NLog","full_name":"NLog/NLog","owner":{"login":"NLog","id":2331628,"avatar_url":"https://avatars.githubusercontent.com/u/2331628?v=3","gravatar_id":"","url":"https://api.github.com/users/NLog","html_url":"https://github.com/NLog","followers_url":"https://api.github.com/users/NLog/followers","following_url":"https://api.github.com/users/NLog/following{/other_user}","gists_url":"https://api.github.com/users/NLog/gists{/gist_id}","starred_url":"https://api.github.com/users/NLog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NLog/subscriptions","organizations_url":"https://api.github.com/users/NLog/orgs","repos_url":"https://api.github.com/users/NLog/repos","events_url":"https://api.github.com/users/NLog/events{/privacy}","received_events_url":"https://api.github.com/users/NLog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NLog/NLog","description":"NLog - Advanced .NET and Silverlight Logging","fork":false,"url":"https://api.github.com/repos/NLog/NLog","forks_url":"https://api.github.com/repos/NLog/NLog/forks","keys_url":"https://api.github.com/repos/NLog/NLog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NLog/NLog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NLog/NLog/teams","hooks_url":"https://api.github.com/repos/NLog/NLog/hooks","issue_events_url":"https://api.github.com/repos/NLog/NLog/issues/events{/number}","events_url":"https://api.github.com/repos/NLog/NLog/events","assignees_url":"https://api.github.com/repos/NLog/NLog/assignees{/user}","branches_url":"https://api.github.com/repos/NLog/NLog/branches{/branch}","tags_url":"https://api.github.com/repos/NLog/NLog/tags","blobs_url":"https://api.github.com/repos/NLog/NLog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NLog/NLog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NLog/NLog/git/refs{/sha}","trees_url":"https://api.github.com/repos/NLog/NLog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NLog/NLog/statuses/{sha}","languages_url":"https://api.github.com/repos/NLog/NLog/languages","stargazers_url":"https://api.github.com/repos/NLog/NLog/stargazers","contributors_url":"https://api.github.com/repos/NLog/NLog/contributors","subscribers_url":"https://api.github.com/repos/NLog/NLog/subscribers","subscription_url":"https://api.github.com/repos/NLog/NLog/subscription","commits_url":"https://api.github.com/repos/NLog/NLog/commits{/sha}","git_commits_url":"https://api.github.com/repos/NLog/NLog/git/commits{/sha}","comments_url":"https://api.github.com/repos/NLog/NLog/comments{/number}","issue_comment_url":"https://api.github.com/repos/NLog/NLog/issues/comments{/number}","contents_url":"https://api.github.com/repos/NLog/NLog/contents/{+path}","compare_url":"https://api.github.com/repos/NLog/NLog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NLog/NLog/merges","archive_url":"https://api.github.com/repos/NLog/NLog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NLog/NLog/downloads","issues_url":"https://api.github.com/repos/NLog/NLog/issues{/number}","pulls_url":"https://api.github.com/repos/NLog/NLog/pulls{/number}","milestones_url":"https://api.github.com/repos/NLog/NLog/milestones{/number}","notifications_url":"https://api.github.com/repos/NLog/NLog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NLog/NLog/labels{/name}","releases_url":"https://api.github.com/repos/NLog/NLog/releases{/id}","created_at":"2012-09-12T13:49:29Z","updated_at":"2015-12-25T15:49:44Z","pushed_at":"2015-12-25T21:45:12Z","git_url":"git://github.com/NLog/NLog.git","ssh_url":"git@github.com:NLog/NLog.git","clone_url":"https://github.com/NLog/NLog.git","svn_url":"https://github.com/NLog/NLog","homepage":"http://nlog-project.org","size":116636,"stargazers_count":1367,"watchers_count":1367,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":505,"mirror_url":null,"open_issues_count":127,"forks":505,"open_issues":127,"watchers":1367,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NLog/NLog/pulls/1096"},"html":{"href":"https://github.com/NLog/NLog/pull/1096"},"issue":{"href":"https://api.github.com/repos/NLog/NLog/issues/1096"},"comments":{"href":"https://api.github.com/repos/NLog/NLog/issues/1096/comments"},"review_comments":{"href":"https://api.github.com/repos/NLog/NLog/pulls/1096/comments"},"review_comment":{"href":"https://api.github.com/repos/NLog/NLog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NLog/NLog/pulls/1096/commits"},"statuses":{"href":"https://api.github.com/repos/NLog/NLog/statuses/9db7779383917fed82c758adccb9276903f7c00c"}}}}