jsonix-schema-compiler - how to configure an external schema?XML Schema (XSD) validation tool?trouble resolving location in <xs:import > element in C#How do I show the schema of a table in a MySQL database?How to rollback a specific migration?Difference Between Schema / Database in MySQLJsonix-schema-compiler cannot convert .xsd file to JSON Objectjsonix properties - ogc-schemas .js aren't sameHow to set a nested use of an XML namespaceHow does an XML Validator know where to find the schema instance declared in an xml document in order to parse and use the xsd?
SAST vs WAF: What should I choose?
401(k) investment after being fired. Do I own it?
Why did computer video outputs go from digital to analog, then back to digital?
What would be the side effects on the life of a person becoming indestructible?
Very basic singly linked list
Does a grappled creature need to use an action to escape grapple if grappler is stunned?
What is a reasonable time for modern human society to adapt to dungeons?
What is the purpose of the fuel shutoff valve?
Why are so many countries still in the Commonwealth?
Running a linear programming model to maximize binned predictions
How may I shorten this shell script?
How to handle aversion that derives from perceiving arrogance?
Do Rabbis get punished in Heaven for wrong interpretations or claims?
Should I describe a character deeply before killing it?
Sextortion with actual password not found in leaks
Why keep the bed heated after initial layer(s) with PLA (or PETG)?
Why are off grid solar setups only 12, 24, 48 VDC?
Sitecore Powershell extensions module compatibility with Sitecore 9.2
Does static fire reduce reliability?
Moving files accidentally to an not existing directory erases files?
Character Frequency in a String
How can I receive packages while in France?
Can two figures have the same area, perimeter, and same number of segments have different shape?
Why did modems have speakers?
jsonix-schema-compiler - how to configure an external schema?
XML Schema (XSD) validation tool?trouble resolving location in <xs:import > element in C#How do I show the schema of a table in a MySQL database?How to rollback a specific migration?Difference Between Schema / Database in MySQLJsonix-schema-compiler cannot convert .xsd file to JSON Objectjsonix properties - ogc-schemas .js aren't sameHow to set a nested use of an XML namespaceHow does an XML Validator know where to find the schema instance declared in an xml document in order to parse and use the xsd?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm trying to use the 'jsonix-schema-compiler' to convert a XSD schema to a JSON schema.
My sample schema imports the xmldsig schema
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:xsd="http://www.w3.org/2001/XMLSchema" jaxb:version="2.0">
<xsd:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
<xsd:element name=
but this causes an error when i run the conversion command
$ java -jar libs/jsonix-schema-compiler-full-2.3.9.jar ./src/main/resources/schmea.xsd
[WARNING] schema_reference.4: Failed to read schema document 'xmldsig-core-schema.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
line 3 of core-schema/src/main/resources/schmea.xsd
[ERROR] src-resolve: Cannot resolve the name 'ds:Signature' to a(n) 'element declaration' component.
Is there a way to configure the 'jsonix-schema-compiler' to resolve the exteral 'xmlns:ds' reference?
schema xml-dsig jsonix
add a comment |
I'm trying to use the 'jsonix-schema-compiler' to convert a XSD schema to a JSON schema.
My sample schema imports the xmldsig schema
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:xsd="http://www.w3.org/2001/XMLSchema" jaxb:version="2.0">
<xsd:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
<xsd:element name=
but this causes an error when i run the conversion command
$ java -jar libs/jsonix-schema-compiler-full-2.3.9.jar ./src/main/resources/schmea.xsd
[WARNING] schema_reference.4: Failed to read schema document 'xmldsig-core-schema.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
line 3 of core-schema/src/main/resources/schmea.xsd
[ERROR] src-resolve: Cannot resolve the name 'ds:Signature' to a(n) 'element declaration' component.
Is there a way to configure the 'jsonix-schema-compiler' to resolve the exteral 'xmlns:ds' reference?
schema xml-dsig jsonix
add a comment |
I'm trying to use the 'jsonix-schema-compiler' to convert a XSD schema to a JSON schema.
My sample schema imports the xmldsig schema
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:xsd="http://www.w3.org/2001/XMLSchema" jaxb:version="2.0">
<xsd:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
<xsd:element name=
but this causes an error when i run the conversion command
$ java -jar libs/jsonix-schema-compiler-full-2.3.9.jar ./src/main/resources/schmea.xsd
[WARNING] schema_reference.4: Failed to read schema document 'xmldsig-core-schema.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
line 3 of core-schema/src/main/resources/schmea.xsd
[ERROR] src-resolve: Cannot resolve the name 'ds:Signature' to a(n) 'element declaration' component.
Is there a way to configure the 'jsonix-schema-compiler' to resolve the exteral 'xmlns:ds' reference?
schema xml-dsig jsonix
I'm trying to use the 'jsonix-schema-compiler' to convert a XSD schema to a JSON schema.
My sample schema imports the xmldsig schema
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:xsd="http://www.w3.org/2001/XMLSchema" jaxb:version="2.0">
<xsd:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
<xsd:element name=
but this causes an error when i run the conversion command
$ java -jar libs/jsonix-schema-compiler-full-2.3.9.jar ./src/main/resources/schmea.xsd
[WARNING] schema_reference.4: Failed to read schema document 'xmldsig-core-schema.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
line 3 of core-schema/src/main/resources/schmea.xsd
[ERROR] src-resolve: Cannot resolve the name 'ds:Signature' to a(n) 'element declaration' component.
Is there a way to configure the 'jsonix-schema-compiler' to resolve the exteral 'xmlns:ds' reference?
schema xml-dsig jsonix
schema xml-dsig jsonix
asked Mar 26 at 15:46
emeraldjavaemeraldjava
5,94819 gold badges77 silver badges148 bronze badges
5,94819 gold badges77 silver badges148 bronze badges
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55361210%2fjsonix-schema-compiler-how-to-configure-an-external-schema%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55361210%2fjsonix-schema-compiler-how-to-configure-an-external-schema%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown