Fixed Xerces XSAttributeDeclaration.cpp

This commit is contained in:
2016-02-03 13:16:27 +01:00
parent bf83f099ba
commit ed45883a44
5 changed files with 4 additions and 4 deletions
Binary file not shown.
Binary file not shown.
@@ -77,8 +77,8 @@ XSNamespaceItem *XSAttributeDeclaration::getNamespaceItem()
XSConstants::VALUE_CONSTRAINT XSAttributeDeclaration::getConstraintType() const
{
if (fScope != XSConstants::SCOPE_GLOBAL)
return XSConstants::VALUE_CONSTRAINT_NONE;
//if (fScope != XSConstants::SCOPE_GLOBAL)
// return XSConstants::VALUE_CONSTRAINT_NONE;
if (fAttDef->getDefaultType() == XMLAttDef::Default)
return XSConstants::VALUE_CONSTRAINT_DEFAULT;
@@ -92,10 +92,10 @@ XSConstants::VALUE_CONSTRAINT XSAttributeDeclaration::getConstraintType() const
const XMLCh *XSAttributeDeclaration::getConstraintValue()
{
if (fScope == XSConstants::SCOPE_GLOBAL)
//if (fScope == XSConstants::SCOPE_GLOBAL)
return fAttDef->getValue();
return 0;
//return 0;
}
bool XSAttributeDeclaration::getRequired() const
Binary file not shown.
Binary file not shown.