It fixes the CAS RegEx pattern in the XML schema file. The original pattern from the ILCD schemas incorrectly allowed only six digits in the first segment. The pattern has now been modified to allow 2 to 7 digits before the first hyphen, thereby enhancing the accuracy of CAS Number validation.
It adds a local copy of xml.xsd to improve batch processing performance. Previously, each validation attempt accessed http://www.w3.org/2001/xml.xsd, which could lead to network errors and validation failures due to the large volume of files being verified. By using a local copy, these issues are mitigated.
This pull request includes the following updates:
It fixes the CAS RegEx pattern in the XML schema file. The original pattern from the ILCD schemas incorrectly allowed only six digits in the first segment. The pattern has now been modified to allow 2 to 7 digits before the first hyphen, thereby enhancing the accuracy of CAS Number validation.
It adds a local copy of xml.xsd to improve batch processing performance. Previously, each validation attempt accessed http://www.w3.org/2001/xml.xsd, which could lead to network errors and validation failures due to the large volume of files being verified. By using a local copy, these issues are mitigated.