{"action":"created","comment":{"url":"https://api.github.com/repos/apache/apex-malhar/pulls/comments/93746127","pull_request_review_id":14280042,"id":93746127,"diff_hunk":"@@ -0,0 +1,83 @@\n+Xml Parser\n+=============\n+\n+## Operator Objective\n+Purpose of XmlParser operator is to parse XML records and construct a Plain Old Java Object (\"POJO\") out of it. The operator also emits each record as DOM Document if the relevant output port is connected. User can also provide a XSD (XML Schema Definition) to validate incoming XML records. Valid records will be emitted as POJO / DOM Document while invalid ones are emitted on error port with the error message if the error port is connected.\n+\n+Xml Parser is **idempotent**, **fault-tolerant** & **statically/dynamically partitionable**.\n+\n+## Class Diagram\n+![](images/xmlParser/XmlParser.png)\n+## Operator Information\n+1. Operator location:**_malhar-library_**\n+2. Available since:**_3.2.0_**\n+3. Operator state:**_Evolving_**\n+4. Java Package:[com.datatorrent.lib.parser.XmlParser](https://github.com/apache/apex-malhar/blob/master/library/src/main/java/com/datatorrent/lib/parser/XmlParser.java)\n+\n+## Properties, Attributes and Ports\n+### <a name=\"props\"></a>Properties of Xml Parser\n+| **Property** | **Description** | **Type** | **Mandatory** | **Default Value** |\n+| -------- | ----------- | ---- | ------------------ | ------------- |\n+| *schemaXSDFile* | [XSD] describing XML data. Incoming records can be validated using the schemaXSDFile. If the data is not as per the requirements specified in schemaXSDFile, they are emitted on the error port.This is an optional property. If the XSD is not provided, incoming tuples are simply converted to POJO or DOM Document without any validations| String | NO | N/A |\n+\n+### Platform Attributes that influences operator behavior","path":"docs/operators/xmlParserOperator.md","position":null,"original_position":23,"commit_id":"669930f468915c7f5ca38f8588b839153c99277f","original_commit_id":"ad875558084f80285102384efaa6c3887c3e12e3","user":{"login":"Hitesh-Scorpio","id":7661135,"avatar_url":"https://avatars.githubusercontent.com/u/7661135?v=3","gravatar_id":"","url":"https://api.github.com/users/Hitesh-Scorpio","html_url":"https://github.com/Hitesh-Scorpio","followers_url":"https://api.github.com/users/Hitesh-Scorpio/followers","following_url":"https://api.github.com/users/Hitesh-Scorpio/following{/other_user}","gists_url":"https://api.github.com/users/Hitesh-Scorpio/gists{/gist_id}","starred_url":"https://api.github.com/users/Hitesh-Scorpio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hitesh-Scorpio/subscriptions","organizations_url":"https://api.github.com/users/Hitesh-Scorpio/orgs","repos_url":"https://api.github.com/users/Hitesh-Scorpio/repos","events_url":"https://api.github.com/users/Hitesh-Scorpio/events{/privacy}","received_events_url":"https://api.github.com/users/Hitesh-Scorpio/received_events","type":"User","site_admin":false},"body":"@amberarrow Thanks done.","created_at":"2016-12-23T09:45:25Z","updated_at":"2016-12-23T09:45:25Z","html_url":"https://github.com/apache/apex-malhar/pull/524#discussion_r93746127","pull_request_url":"https://api.github.com/repos/apache/apex-malhar/pulls/524","_links":{"self":{"href":"https://api.github.com/repos/apache/apex-malhar/pulls/comments/93746127"},"html":{"href":"https://github.com/apache/apex-malhar/pull/524#discussion_r93746127"},"pull_request":{"href":"https://api.github.com/repos/apache/apex-malhar/pulls/524"}}},"pull_request":{"url":"https://api.github.com/repos/apache/apex-malhar/pulls/524","id":98536718,"html_url":"https://github.com/apache/apex-malhar/pull/524","diff_url":"https://github.com/apache/apex-malhar/pull/524.diff","patch_url":"https://github.com/apache/apex-malhar/pull/524.patch","issue_url":"https://api.github.com/repos/apache/apex-malhar/issues/524","number":524,"state":"open","locked":false,"title":"APEXMALHAR-2370 Documentation of Xml Parser","user":{"login":"Hitesh-Scorpio","id":7661135,"avatar_url":"https://avatars.githubusercontent.com/u/7661135?v=3","gravatar_id":"","url":"https://api.github.com/users/Hitesh-Scorpio","html_url":"https://github.com/Hitesh-Scorpio","followers_url":"https://api.github.com/users/Hitesh-Scorpio/followers","following_url":"https://api.github.com/users/Hitesh-Scorpio/following{/other_user}","gists_url":"https://api.github.com/users/Hitesh-Scorpio/gists{/gist_id}","starred_url":"https://api.github.com/users/Hitesh-Scorpio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hitesh-Scorpio/subscriptions","organizations_url":"https://api.github.com/users/Hitesh-Scorpio/orgs","repos_url":"https://api.github.com/users/Hitesh-Scorpio/repos","events_url":"https://api.github.com/users/Hitesh-Scorpio/events{/privacy}","received_events_url":"https://api.github.com/users/Hitesh-Scorpio/received_events","type":"User","site_admin":false},"body":"@amberarrow Could you please review this?","created_at":"2016-12-19T10:03:32Z","updated_at":"2016-12-23T09:45:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ae6da8366ec90a62ca524e4425640a9d9d883471","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/apex-malhar/pulls/524/commits","review_comments_url":"https://api.github.com/repos/apache/apex-malhar/pulls/524/comments","review_comment_url":"https://api.github.com/repos/apache/apex-malhar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/apex-malhar/issues/524/comments","statuses_url":"https://api.github.com/repos/apache/apex-malhar/statuses/669930f468915c7f5ca38f8588b839153c99277f","head":{"label":"Hitesh-Scorpio:APEXMALHAR-2370_XmlDocumentation","ref":"APEXMALHAR-2370_XmlDocumentation","sha":"669930f468915c7f5ca38f8588b839153c99277f","user":{"login":"Hitesh-Scorpio","id":7661135,"avatar_url":"https://avatars.githubusercontent.com/u/7661135?v=3","gravatar_id":"","url":"https://api.github.com/users/Hitesh-Scorpio","html_url":"https://github.com/Hitesh-Scorpio","followers_url":"https://api.github.com/users/Hitesh-Scorpio/followers","following_url":"https://api.github.com/users/Hitesh-Scorpio/following{/other_user}","gists_url":"https://api.github.com/users/Hitesh-Scorpio/gists{/gist_id}","starred_url":"https://api.github.com/users/Hitesh-Scorpio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hitesh-Scorpio/subscriptions","organizations_url":"https://api.github.com/users/Hitesh-Scorpio/orgs","repos_url":"https://api.github.com/users/Hitesh-Scorpio/repos","events_url":"https://api.github.com/users/Hitesh-Scorpio/events{/privacy}","received_events_url":"https://api.github.com/users/Hitesh-Scorpio/received_events","type":"User","site_admin":false},"repo":{"id":65878565,"name":"apex-malhar","full_name":"Hitesh-Scorpio/apex-malhar","owner":{"login":"Hitesh-Scorpio","id":7661135,"avatar_url":"https://avatars.githubusercontent.com/u/7661135?v=3","gravatar_id":"","url":"https://api.github.com/users/Hitesh-Scorpio","html_url":"https://github.com/Hitesh-Scorpio","followers_url":"https://api.github.com/users/Hitesh-Scorpio/followers","following_url":"https://api.github.com/users/Hitesh-Scorpio/following{/other_user}","gists_url":"https://api.github.com/users/Hitesh-Scorpio/gists{/gist_id}","starred_url":"https://api.github.com/users/Hitesh-Scorpio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hitesh-Scorpio/subscriptions","organizations_url":"https://api.github.com/users/Hitesh-Scorpio/orgs","repos_url":"https://api.github.com/users/Hitesh-Scorpio/repos","events_url":"https://api.github.com/users/Hitesh-Scorpio/events{/privacy}","received_events_url":"https://api.github.com/users/Hitesh-Scorpio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Hitesh-Scorpio/apex-malhar","description":"Mirror of Apache Apex malhar","fork":true,"url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar","forks_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/forks","keys_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/teams","hooks_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/hooks","issue_events_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/issues/events{/number}","events_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/events","assignees_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/assignees{/user}","branches_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/branches{/branch}","tags_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/tags","blobs_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/statuses/{sha}","languages_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/languages","stargazers_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/stargazers","contributors_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/contributors","subscribers_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/subscribers","subscription_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/subscription","commits_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/contents/{+path}","compare_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/merges","archive_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/downloads","issues_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/issues{/number}","pulls_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/pulls{/number}","milestones_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/milestones{/number}","notifications_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/labels{/name}","releases_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/releases{/id}","deployments_url":"https://api.github.com/repos/Hitesh-Scorpio/apex-malhar/deployments","created_at":"2016-08-17T05:30:14Z","updated_at":"2016-08-17T05:30:20Z","pushed_at":"2016-12-23T09:45:15Z","git_url":"git://github.com/Hitesh-Scorpio/apex-malhar.git","ssh_url":"git@github.com:Hitesh-Scorpio/apex-malhar.git","clone_url":"https://github.com/Hitesh-Scorpio/apex-malhar.git","svn_url":"https://github.com/Hitesh-Scorpio/apex-malhar","homepage":"","size":87925,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"0500e0ea4ef335fd653c1eb9d9cebdfb8281faea","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":41348334,"name":"apex-malhar","full_name":"apache/apex-malhar","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/apex-malhar","description":"Mirror of Apache Apex malhar","fork":false,"url":"https://api.github.com/repos/apache/apex-malhar","forks_url":"https://api.github.com/repos/apache/apex-malhar/forks","keys_url":"https://api.github.com/repos/apache/apex-malhar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/apex-malhar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/apex-malhar/teams","hooks_url":"https://api.github.com/repos/apache/apex-malhar/hooks","issue_events_url":"https://api.github.com/repos/apache/apex-malhar/issues/events{/number}","events_url":"https://api.github.com/repos/apache/apex-malhar/events","assignees_url":"https://api.github.com/repos/apache/apex-malhar/assignees{/user}","branches_url":"https://api.github.com/repos/apache/apex-malhar/branches{/branch}","tags_url":"https://api.github.com/repos/apache/apex-malhar/tags","blobs_url":"https://api.github.com/repos/apache/apex-malhar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/apex-malhar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/apex-malhar/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/apex-malhar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/apex-malhar/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/apex-malhar/languages","stargazers_url":"https://api.github.com/repos/apache/apex-malhar/stargazers","contributors_url":"https://api.github.com/repos/apache/apex-malhar/contributors","subscribers_url":"https://api.github.com/repos/apache/apex-malhar/subscribers","subscription_url":"https://api.github.com/repos/apache/apex-malhar/subscription","commits_url":"https://api.github.com/repos/apache/apex-malhar/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/apex-malhar/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/apex-malhar/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/apex-malhar/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/apex-malhar/contents/{+path}","compare_url":"https://api.github.com/repos/apache/apex-malhar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/apex-malhar/merges","archive_url":"https://api.github.com/repos/apache/apex-malhar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/apex-malhar/downloads","issues_url":"https://api.github.com/repos/apache/apex-malhar/issues{/number}","pulls_url":"https://api.github.com/repos/apache/apex-malhar/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/apex-malhar/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/apex-malhar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/apex-malhar/labels{/name}","releases_url":"https://api.github.com/repos/apache/apex-malhar/releases{/id}","deployments_url":"https://api.github.com/repos/apache/apex-malhar/deployments","created_at":"2015-08-25T07:00:05Z","updated_at":"2016-12-21T05:01:20Z","pushed_at":"2016-12-23T09:45:16Z","git_url":"git://github.com/apache/apex-malhar.git","ssh_url":"git@github.com:apache/apex-malhar.git","clone_url":"https://github.com/apache/apex-malhar.git","svn_url":"https://github.com/apache/apex-malhar","homepage":"","size":87988,"stargazers_count":71,"watchers_count":71,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":111,"mirror_url":"git://git.apache.org/incubator-apex-malhar.git","open_issues_count":35,"forks":111,"open_issues":35,"watchers":71,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/apex-malhar/pulls/524"},"html":{"href":"https://github.com/apache/apex-malhar/pull/524"},"issue":{"href":"https://api.github.com/repos/apache/apex-malhar/issues/524"},"comments":{"href":"https://api.github.com/repos/apache/apex-malhar/issues/524/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/apex-malhar/pulls/524/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/apex-malhar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/apex-malhar/pulls/524/commits"},"statuses":{"href":"https://api.github.com/repos/apache/apex-malhar/statuses/669930f468915c7f5ca38f8588b839153c99277f"}}}}
{"actor":{"display_login":"Hitesh-Scorpio"}}