A .properties file contains lines of string pair. Each string pair consists of a parameter name (called the key), and parameter value. This post is about how to validate the parameter value at the application startup.
Validate XML against an XSD that imports other XSDs
This post demonstrates how to validate XML against XSD that imports other XSDs. This is different from validating against multiple independent XSDs.
Very Slow XML Validation against XSDs with unique and key elements
This post shows that XML XSD validation with <xs:unique> is very slow, especially for a huge list of elements, e.g., 300,000 items. We are better off ensuring distinct values through Java codes. The problem also applies to <xs:key>. Worse, we can
Xerces C++: Validate Slow XML Validation Against XSD With Unique And Key Elements
We have encountered a performance issue with Java validating an XML with 300,00 elements against an XSD with <xs:unique> and <xs:key>. This post uses Xerces C++ to parse and validate a huge XML against an XSD with those elements. Also,
How To Validate XML String against XSD Without Writing To A File
This post shows how to validate XML string data against XSD files in Java. Most of the time, we work directly with XML files instead of string format. We point to an XML file and validate it against XSDs. However,
Kotlin – Validate XML Against Multiple XSDs
This post is about XML validation against more than one related XSDs – one XSD is included into the main XSD.
Java – Validate CSV using SuperCSV with custom CsvColumnProcessor
[wp_ad_camp_1] Validating CSV is super easy with SuperCSV and it will save your day. Assume that we have a requirement from the management to validate new employee data coming from different parts of the United States with the following constraints.