Author Archives: Clemens

My editor layout for working with JSON schema files

JSONBuddy offers a lot of functionality while you are editing a JSON schema file. It is even not always easy to have all of the information visible on the screen. So here is the editor layout I am using whenever I have a JSON schema file open in JSONBuddy: This way I have a lot of entry helpers and additional information… Read more »

Generate sample data from JSON schema

      No Comments on Generate sample data from JSON schema

tl;dr Use JSONBuddy or XML ValidatorBuddy to generate a live preview of JSON sample data while editing your JSON schema. JSONBuddy has already some powerful features to support you in creating JSON schema documents. You can check your JSON schema at any time for syntax errors. You can validate your JSON schema to see if your schema can be parsed and used… Read more »

SHA-1 collision: Use SHA-256 or SHA-512

      No Comments on SHA-1 collision: Use SHA-256 or SHA-512

Google has announced that they found a collision using two different documents which did generate the same SHA-1 hash value. You can read more about the details here: SHA-1 collision Glad that XML ValidatorBuddy supports SHA-256, SHA-384 and SHA-512 hash algorithms and you can use them to sign and verify your XML documents in a more secure way. Simply select any SHA-2 algorithm… Read more »

Support tales: Enable the “Configure batch task” command

One issue I have is the ‘Configure and run batch task’ is greyed out. Do I need to do anything to enable it? I have a batch XML settings file from my old laptop I want to load and test, but the option is greyed out. Sometimes people ask me how to enable the “Configure and run batch task” command… Read more »

Sign and verify XML digital signatures from the command-line

The XML ValidatorBuddy software package also includes a command line tool. The name of the executable is “valbuddy.exe” and the tool is also located in the standard installation folder of XML ValidatorBuddy. This command-line tool also supports sign and verify operations for multiple XML documents as a batch task. A sample settings XML to run a sign task would be: <?xml… Read more »

Convert JSON to XML from the command line

      No Comments on Convert JSON to XML from the command line

You can use the command-line tool included in the XML ValidatorBuddy package to convert JSON to XML. This allows you to quickly convert any number of JSON files and also to create a scheduled task which runs as a batch process (on your server). As usual the command-line tool needs a configuration XML to run the conversion. You can specify… Read more »

Using CSE HTML Validator as external tool in XML ValidatorBuddy

If you are working a lot with HTML documents and you also want to make sure that your HTML is properly styled and works best with all browsers on the market you need to validate the generated markup before putting it on your web pages. You also want to avoid broken links on your pages but it can be very… Read more »

Integrate DITA Open Toolkit as external command

It is quite easy to use the DITA Open Toolkit from XML ValidatorBuddy as an external tool. The DITA standard is used to produce various output formats including HTML and PDF from XML. This usually happens with the help of Java and some ant tasks. To simplify the process the DITA Open Toolkit provides a batch task which only takes a… Read more »

Coming next: JSON Schema documentation

      No Comments on Coming next: JSON Schema documentation
POI JSON schema tree diagram

To extend the support for the JSON standard, JSONBuddy will get a brand new view to parse and display any JSON schema as a good looking and clearly arranged tree diagram. The screen-shot below shows the POI (point of interest) JSON schema as it is partly displayed in the new view: The first version allows to fully expand and collapse tree… Read more »

Use XPath regular expressions to search in XML data

      No Comments on Use XPath regular expressions to search in XML data

The XML ValidatorBuddy editor provides a convenient search and replace window where you can quickly find any text in your XML or JSON data. But sometimes you want to have more control on where you are actually searching for a special string. Maybe you want to search only in XML attribute values or you want to get all elements with a… Read more »