{"action":"created","issue":{"url":"https://api.github.com/repos/jcabi/jcabi-xml/issues/31","labels_url":"https://api.github.com/repos/jcabi/jcabi-xml/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/jcabi/jcabi-xml/issues/31/comments","events_url":"https://api.github.com/repos/jcabi/jcabi-xml/issues/31/events","html_url":"https://github.com/jcabi/jcabi-xml/issues/31","id":40448689,"number":31,"title":"StrictXML should be able to look up XSDs from classpath","user":{"login":"carlosmiranda","id":1917892,"avatar_url":"https://avatars.githubusercontent.com/u/1917892?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosmiranda","html_url":"https://github.com/carlosmiranda","followers_url":"https://api.github.com/users/carlosmiranda/followers","following_url":"https://api.github.com/users/carlosmiranda/following{/other_user}","gists_url":"https://api.github.com/users/carlosmiranda/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosmiranda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosmiranda/subscriptions","organizations_url":"https://api.github.com/users/carlosmiranda/orgs","repos_url":"https://api.github.com/users/carlosmiranda/repos","events_url":"https://api.github.com/users/carlosmiranda/events{/privacy}","received_events_url":"https://api.github.com/users/carlosmiranda/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jcabi/jcabi-xml/labels/30%20mins","name":"30 mins","color":"eb6421"},{"url":"https://api.github.com/repos/jcabi/jcabi-xml/labels/@aoxa","name":"@aoxa","color":"009801"},{"url":"https://api.github.com/repos/jcabi/jcabi-xml/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/jcabi/jcabi-xml/labels/DEV","name":"DEV","color":"bfd4f3"},{"url":"https://api.github.com/repos/jcabi/jcabi-xml/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/jcabi/jcabi-xml/labels/TS/FIX","name":"TS/FIX","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-08-18T01:21:50Z","updated_at":"2015-02-06T08:19:27Z","closed_at":null,"body":"Related to https://github.com/teamed/qulice/issues/273. StrictXML should be able to find XSDs in the classpath in addition to URL lookups. In the example below, it should be able to validate the XML against a classpath resource `spring-beans-2.0.xsd`.\r\n\r\n```xml\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<beans xmlns=\"http://www.springframework.org/schema/beans\"\r\n       xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n       xmlns:util=\"http://www.springframework.org/schema/util\"\r\n       xsi:schemaLocation=\"http://www.springframework.org/schema/beans spring-beans-2.0.xsd\">\r\n</beans>\r\n```\r\n\r\nSee here for more details: https://stackoverflow.com/questions/2342808/problem-validating-an-xml-file-using-java-with-an-xsd-having-an-include. Note that we have to be able to support classpath *and* external URL lookups with our `LSResourceResolver` implementation."},"comment":{"url":"https://api.github.com/repos/jcabi/jcabi-xml/issues/comments/73201542","html_url":"https://github.com/jcabi/jcabi-xml/issues/31#issuecomment-73201542","issue_url":"https://api.github.com/repos/jcabi/jcabi-xml/issues/31","id":73201542,"user":{"login":"dmarkov","id":5993843,"avatar_url":"https://avatars.githubusercontent.com/u/5993843?v=3","gravatar_id":"","url":"https://api.github.com/users/dmarkov","html_url":"https://github.com/dmarkov","followers_url":"https://api.github.com/users/dmarkov/followers","following_url":"https://api.github.com/users/dmarkov/following{/other_user}","gists_url":"https://api.github.com/users/dmarkov/gists{/gist_id}","starred_url":"https://api.github.com/users/dmarkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmarkov/subscriptions","organizations_url":"https://api.github.com/users/dmarkov/orgs","repos_url":"https://api.github.com/users/dmarkov/repos","events_url":"https://api.github.com/users/dmarkov/events{/privacy}","received_events_url":"https://api.github.com/users/dmarkov/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T08:19:27Z","updated_at":"2015-02-06T08:19:27Z","body":"@aoxa this task is taking too long, I have to change the performer, sorry. Please stop working with it right now. See our [no obligations](http://www.xdsd.org/2014/04/13/no-obligations-principle.html) principle... -60 added to your rating, at the moment it is: -630"}}