xerces-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ykhabins <yitzhak.khabin...@millicom.com>
Subject Re: Xerces-J 2.12.0 vs. Saxon: XSD 1.1 CTA validation errors
Date Mon, 06 Aug 2018 17:01:37 GMT
Hello,Here my command line statement:C:\Program Files\Stylus Studio X16 XML
Enterprise Suite 64-bit\bin>*"c:\Program
Files\Java\jre1.8.0_181\bin\java.exe"  -Xms512m -Xmx1024m
-Xbootclasspath/p:path:;c:\xerces212\xercesImpl.jar;c:\xerces212\xml-apis.jar;c:\xerces212\org.eclipse.wst.xml.xpath2.processor_1.2.0.jar;c:\xerces212\icu4j.jar;c:\xerces212\resolver.jar;c:\xerces212\serializer.jar;c:\xerces212\cupv10k-runtime.jar;c:\xerces212\xercesSamples.jar
jaxp.SourceValidator -xsd11 -fx -i "file:///d:/Temp/Xerces-J
2.12.0/XercesJ_TZ20171231_IFRS15_CBCInput_3TZ005.xml" *I doesn't recognize
"-fx" parameter, and therefore , the XSD validation is not picking up the
full XPath 2.0 for the CTAs. It gives the following errors:[Error]
IFRS15_CBC_In_XercesJ.xsd:26:185: c-cta-xpath: The XPath expression
'@OrganizationCode = ('1GT001', '1GT005', '1GT006', '1GT010', '1HN001',
'1HN003', '1SV001', '2BO002', '2PY003', '2PY007')' couldn't compile
successfully in 'cta-subset' mode, during CTA evaluation.[Error]
IFRS15_CBC_In_XercesJ.xsd:27:89: c-cta-xpath: The XPath expression
'@OrganizationCode eq '2CO001'' couldn't compile successfully in
'cta-subset' mode, during CTA evaluation.[Error]
IFRS15_CBC_In_XercesJ.xsd:28:99: c-cta-xpath: The XPath expression
'@OrganizationCode = ('2CO008', '2CO009')' couldn't compile successfully in
'cta-subset' mode, during CTA evaluation.[Error]
IFRS15_CBC_In_XercesJ.xsd:29:113: c-cta-xpath: The XPath expression
'@OrganizationCode = ('3TZ001', '3TZ002', '3TZ003', '3TZ004')' couldn't
compile successfully in 'cta-subset' mode, during CTA evaluation.[Error]
XercesJ_TZ20171231_IFRS15_CBCInput_3TZ005.xml:8:8: cvc-assertion: Assertion
evaluation ('ends-with(upper-case(string(base-uri(.))),
upper-case(concat('_', @OrganizationCode, '.xml')))') for element 'root' on
schema type '#AnonType_root' did not succeed.



--
Sent from: http://apache-xml-project.6118.n7.nabble.com/Xerces-J-Users-f4.html
Mime
View raw message