Title: Add support for validation against external schemas · Issue #5 · STIXProject/java-stix · GitHub
Open Graph Title: Add support for validation against external schemas · Issue #5 · STIXProject/java-stix
X Title: Add support for validation against external schemas · Issue #5 · STIXProject/java-stix
Description: Not sure if this belongs here or in java-stix-validator, so sorry if I posted in the wrong place. If I define a custom ControlledVocabularyType extension as described here and then attempt to validate an instance document which leverages...
Open Graph Description: Not sure if this belongs here or in java-stix-validator, so sorry if I posted in the wrong place. If I define a custom ControlledVocabularyType extension as described here and then attempt to valid...
X Description: Not sure if this belongs here or in java-stix-validator, so sorry if I posted in the wrong place. If I define a custom ControlledVocabularyType extension as described here and then attempt to valid...
Opengraph URL: https://github.com/STIXProject/java-stix/issues/5
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add support for validation against external schemas","articleBody":"Not sure if this belongs here or in java-stix-validator, so sorry if I posted in the wrong place.\n\nIf I define a custom `ControlledVocabularyType` extension as [described here](http://stix.readthedocs.org/en/stable/overview/controlled_vocabularies.html#working-with-custom-controlled-vocabularies) and then attempt to validate an instance document which leverages that controlled vocabulary, I get the following error in java-stix-validator:\n\n```\nSAXParseException:\n Public ID: null\n System ID: null\n Line : 3\n Column : 70\n Message : cvc-elt.4.2: Cannot resolve 'customVocabs:CustomVocab-1.0' to a type definition for element 'stix:Package_Intent'.\n```\n\nIt would be nice to provide a function which makes it easy to pass in a directory of schemas to validate a STIX document against and support the validation of third-party extensions.\n","author":{"url":"https://github.com/bworrell","@type":"Person","name":"bworrell"},"datePublished":"2015-07-23T19:51:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/5/java-stix/issues/5"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f6734f3b-1912-7a1c-d38b-30b8a5c84fd1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9084:2A625F:25F3A8D:357486C:6970FA78 |
| html-safe-nonce | 24d61206bf49d47f38cdfce317b72ff49385b01f31dba182d69ffe6c40caff87 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDg0OjJBNjI1RjoyNUYzQThEOjM1NzQ4NkM6Njk3MEZBNzgiLCJ2aXNpdG9yX2lkIjoiNTczMTc4MjY5NDgxODkyNDcyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c8dc346417939927cac8d0de1d53189b884b2ac013fafbb00d67f74b68dca963 |
| hovercard-subject-tag | issue:96892157 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/STIXProject/java-stix/5/issue_layout |
| twitter:image | https://opengraph.githubassets.com/65720a7cb89dbb2219e434ff55bb14bce0125a7df076edbf97d863382fab2afe/STIXProject/java-stix/issues/5 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/65720a7cb89dbb2219e434ff55bb14bce0125a7df076edbf97d863382fab2afe/STIXProject/java-stix/issues/5 |
| og:image:alt | Not sure if this belongs here or in java-stix-validator, so sorry if I posted in the wrong place. If I define a custom ControlledVocabularyType extension as described here and then attempt to valid... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bworrell |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1b239ebed690c3053869ff31a3b7597834c25673659d63e7b6fd6a9b5d7853de |
| turbo-cache-control | no-preview |
| go-import | github.com/STIXProject/java-stix git https://github.com/STIXProject/java-stix.git |
| octolytics-dimension-user_id | 2774079 |
| octolytics-dimension-user_login | STIXProject |
| octolytics-dimension-repository_id | 34554839 |
| octolytics-dimension-repository_nwo | STIXProject/java-stix |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 34554839 |
| octolytics-dimension-repository_network_root_nwo | STIXProject/java-stix |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | aeacfd55297f3de5395c83f200ac35d1f474115e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width