darakhbharat

Results 23 comments of darakhbharat

Below are the list of possible elements where "contract" attribute occurs. Now need to update the schema to check if its respective element should occur in XML. ``` ```

> 1. contract name keyref is not set up. This is completed and tested with changes - https://github.com/darakhbharat/TokenScript/commit/38a09be60023b2262f540ec7abad977248cca294 Added ts:contract/@name reference check for above mentioned elements. We can directly merge...

Hi Weiwu, I have created xerces based utility to validate the XML using the XSD file and below are the details. **Command:** `$ java -classpath "xercesImpl.jar;xercesSamples.jar;xml-apis.jar;xpath2-1.2.0.jar;XMLValidator.jar" XMLValidator H:/alphawallet/TokenScript/schema/tokenscript.xsd H:/alphawallet/tokenscripts/COFI.xml` Note:...

**Tracking of requirement details from mail conversation:** It seems that XML Schema 1.1 is only supported by either Xerces 2.12 (the version with XML schema 1.1 support) or with Saxon....

>https://github.com/AlphaWallet/TokenScript/issues/395#issuecomment-716395559 > Whatever I have here is initial version, we can eventually convert this to your suggested approach in the requirement document. I can improve the Java Code to take...

This was my next finding and actually I am not getting the ERROR that you reported either with XERCES or with oxygen editor but getting the error that you just...

Further communication Updates from Telegram: Weiwu: Stay connected you need to prioritise making the commandline tool that supports only validate (using the schema location in the xml header only -...

**xmlsectool vs Core Java xerces based validator:** Looks like the main focus of the xmlsectool is signing of the XML document. I also do not find the xmlsectool documentation clear....

Hi Weiwu, I have completed the multi-file validation and attached is the Java Code. Can you create separate repository where I can commit the code. If I have created my...

Hi Weiwu, I am committing my changes in forker repository - https://github.com/darakhbharat/TokenScript.git. Created new directory named **xml-validation-against-xsd-1.1** to commit the changes. **Overview:** - Completed the basic working features for xml...