Author: mukulg Date: Sat Sep 10 15:45:02 2011 New Revision: 1167544 URL: http://svn.apache.org/viewvc?rev=1167544&view=rev Log: committing a schema 1.1 change:
the commit made by Khaled during SVN commit 1166836, introduced a new parameter to method checkFacets (i believe, which was "ValidationContext context") in class XSSimpleTypeDecl (i'm not questioning that design change, and it was good i believe). This change broke one my private test case, which does XPath2 "castable as" check on user defined simple types (that use constraining facets). I'm committing a new PsychoPath XPath jar which has a patch to solve this failure that I observed. For info to committers, the patch which this new jar file has, essentially has a following change, ValidationState validationState = new ValidationState(); validationState.setTypeValidatorHelper(TypeValidatorHelper.getInstance(Constants.SCHEMA_VERSION_1_1)); // this is a new call that I've introduce in this patch, which make this new PsychoPath jar compliant to Khaled's change that I've cited above The above code fragment is part of a PsychoPath engine method, that does a similar task as the Xerces method, XSTypeHelper.isStrValueValidForASimpleType(..) // at location "org.apache.xerces.impl.xs.util" Modified: xerces/java/branches/xml-schema-1.1-dev/tools/org.eclipse.wst.xml.xpath2.processor_1.2.0.jar Modified: xerces/java/branches/xml-schema-1.1-dev/tools/org.eclipse.wst.xml.xpath2.processor_1.2.0.jar URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/tools/org.eclipse.wst.xml.xpath2.processor_1.2.0.jar?rev=1167544&r1=1167543&r2=1167544&view=diff ============================================================================== Binary files - no diff available. --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@xerces.apache.org For additional commands, e-mail: commits-h...@xerces.apache.org