{"action":"created","issue":{"url":"https://api.github.com/repos/areaDetector/ADExample/issues/2","labels_url":"https://api.github.com/repos/areaDetector/ADExample/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/areaDetector/ADExample/issues/2/comments","events_url":"https://api.github.com/repos/areaDetector/ADExample/issues/2/events","html_url":"https://github.com/areaDetector/ADExample/issues/2","id":114492753,"number":2,"title":"Question about schema location for XML files in this directory","user":{"login":"MarkRivers","id":6115534,"avatar_url":"https://avatars.githubusercontent.com/u/6115534?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkRivers","html_url":"https://github.com/MarkRivers","followers_url":"https://api.github.com/users/MarkRivers/followers","following_url":"https://api.github.com/users/MarkRivers/following{/other_user}","gists_url":"https://api.github.com/users/MarkRivers/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkRivers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkRivers/subscriptions","organizations_url":"https://api.github.com/users/MarkRivers/orgs","repos_url":"https://api.github.com/users/MarkRivers/repos","events_url":"https://api.github.com/users/MarkRivers/events{/privacy}","received_events_url":"https://api.github.com/users/MarkRivers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"prjemian","id":2279984,"avatar_url":"https://avatars.githubusercontent.com/u/2279984?v=3","gravatar_id":"","url":"https://api.github.com/users/prjemian","html_url":"https://github.com/prjemian","followers_url":"https://api.github.com/users/prjemian/followers","following_url":"https://api.github.com/users/prjemian/following{/other_user}","gists_url":"https://api.github.com/users/prjemian/gists{/gist_id}","starred_url":"https://api.github.com/users/prjemian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prjemian/subscriptions","organizations_url":"https://api.github.com/users/prjemian/orgs","repos_url":"https://api.github.com/users/prjemian/repos","events_url":"https://api.github.com/users/prjemian/events{/privacy}","received_events_url":"https://api.github.com/users/prjemian/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-11-01T21:01:01Z","updated_at":"2015-11-02T14:24:58Z","closed_at":null,"body":"The XML files in this directory contain the locations of schema files like the following:\r\n\r\n```\r\ncorvette:simDetectorIOC/iocBoot/iocSimDetector>more ROIAttributes.xml \r\n<?xml version=\"1.0\" standalone=\"no\" ?>\r\n<!-- Attributes -->\r\n <Attributes\r\n   xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n   xsi:schemaLocation=\"http://epics.aps.anl.gov/areaDetector/attributes ../attributes.xsd\"\r\n```\r\n\r\nThese were added by Pete Jemian in 2011 in commits like the following:\r\n\r\ncommit 67134bae739dde41b5f155803fb565ed91611cff\r\nAuthor: jemian <jemian@dc6c5ff5-0b8b-c028-a01f-ffb33f00fc8b>\r\nDate:   Sun Jul 17 03:03:13 2011 +0000\r\n    point to the XML Schema from each XML file - helpful in an XML-aware editor such as eclipse\r\n\r\nQuestions:\r\n- The xsd files in ADCore are now in the XML_schema directory:\r\n\r\n\r\n```\r\ncorvette:areaDetector/ADCore/XML_schema>ls -l *.xsd\r\n-rw-rw-r-- 1 epics epics 8917 Sep 15 10:15 NDAttributes.xsd\r\n-rw-rw-r-- 1 epics epics 9683 Sep 15 10:15 NeXus_templates.xsd\r\n-rw-rw-r-- 1 epics epics 4034 Sep 15 10:15 hdf5_xml_layout_schema.xsd\r\n```\r\n\r\nThere is no file called attributes.asd.  Should the schemaLocation be pointing to NDAttributes.xsd instead?\r\n\r\nIs that URL on https://epics/aps.anl.gov/areaDetector valid?  I can't seem to open it.  Should we be pointing to github instead, so that as we change the schema it automatically updates?\r\n\r\nHow can I test that the schemaLocation is working without using Eclipse?\r\n"},"comment":{"url":"https://api.github.com/repos/areaDetector/ADExample/issues/comments/153030260","html_url":"https://github.com/areaDetector/ADExample/issues/2#issuecomment-153030260","issue_url":"https://api.github.com/repos/areaDetector/ADExample/issues/2","id":153030260,"user":{"login":"prjemian","id":2279984,"avatar_url":"https://avatars.githubusercontent.com/u/2279984?v=3","gravatar_id":"","url":"https://api.github.com/users/prjemian","html_url":"https://github.com/prjemian","followers_url":"https://api.github.com/users/prjemian/followers","following_url":"https://api.github.com/users/prjemian/following{/other_user}","gists_url":"https://api.github.com/users/prjemian/gists{/gist_id}","starred_url":"https://api.github.com/users/prjemian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prjemian/subscriptions","organizations_url":"https://api.github.com/users/prjemian/orgs","repos_url":"https://api.github.com/users/prjemian/repos","events_url":"https://api.github.com/users/prjemian/events{/privacy}","received_events_url":"https://api.github.com/users/prjemian/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T14:24:58Z","updated_at":"2015-11-02T14:24:58Z","body":"We should point to a valid URL (GitHub is fine) that does not move around with time.  XML Schema does not impose the requirement that the value of the xsi:schemaLocation attribute actually be accessible.  Some XML tools, however, expect that and it is reasonable to make it accessible.  \r\n\r\nLooks like the GitHub location may be more permanent.\r\n\r\n    https://github.com/areaDetector/ADCore/tree/master/XML_schema/NDAttributes.xsd"}}