state.error(XmlErrorCodes.FACET_FIXED, new Object[] { facetName }, facet);
continue;
}
if (myFacets[code] != null)
{
SchemaType limitSType = limit.schemaType();
if ( limitSType!=null && !limitSType.isSimpleType() &&
limitSType.getContentType()==SchemaType.SIMPLE_CONTENT)
{
// in the case of complex types with simple content that has facets
// we need to compare values based on the content type