In restriction checking, when looking for a declaration of a base element, use the schema grammar corresponding to the type this element is declared in (XERCESC-1777)
In restriction checking, when looking for a declaration of a base element, use the schema grammar corresponding to the type this element is declared in (XERCESC-1777)

git-svn-id: 3ec853389310512053d525963cab269c063bb453@620798 13f79535-47bb-0310-9956-ffa450edef68

Distrotech/xerces-c,colorer/xerces-c,colorer/xerces-c,Distrotech/xerces-c,Distrotech/xerces-c,ctapmex/xerces-c,colorer/xerces-c,colorer/xerces-c,ctapmex/xerces-c,ctapmex/xerces-c,Distrotech/xerces-c,ctapmex/xerces-c,colorer/xerces-c,Distrotech/xerces-c