public void checkNsDefaults(InputElementStack nsStack) throws XMLStreamException { // We only get called if mCurrElem != null, and has defaults HashMap m = mCurrElem.getNsDefaults(); if (m != null) { Iterator it = m.entrySet().iterator(); while (it.hasNext()) { Map.Entry me = (Map.Entry) it.next(); String prefix = (String) me.getKey(); if (!nsStack.isPrefixLocallyDeclared(prefix)) { DTDAttribute attr = (DTDAttribute) me.getValue(); String uri = attr.getDefaultValue(mContext, this); nsStack.addNsBinding(prefix, uri); } } } }
String exp = attr.getDefaultValue(mContext, this); boolean match; if (result == null) {
if (mCurrHasAnyFixed && attr.isFixed()) { String act = (result == null) ? value : result; String exp = attr.getDefaultValue(mContext, this); if (!act.equals(exp)) { reportValidationProblem("Value of attribute \""+attr+"\" (element <"+mCurrElem+">) not \""+exp+"\" as expected, but \""+act+"\"");
String def = attr.getDefaultValue(mContext, this); if (def == null) { ExceptionUtil.throwInternal("null default attribute value");
public void checkNsDefaults(InputElementStack nsStack) throws XMLValidationException { // We only get called if mCurrElem != null, and has defaults HashMap m = mCurrElem.getNsDefaults(); if (m != null) { Iterator it = m.entrySet().iterator(); while (it.hasNext()) { Map.Entry me = (Map.Entry) it.next(); String prefix = (String) me.getKey(); if (!nsStack.isPrefixLocallyDeclared(prefix)) { DTDAttribute attr = (DTDAttribute) me.getValue(); String uri = attr.getDefaultValue(mContext); nsStack.addNsBinding(prefix, uri); } } } }
public void checkNsDefaults(InputElementStack nsStack) throws XMLValidationException { // We only get called if mCurrElem != null, and has defaults HashMap m = mCurrElem.getNsDefaults(); if (m != null) { Iterator it = m.entrySet().iterator(); while (it.hasNext()) { Map.Entry me = (Map.Entry) it.next(); String prefix = (String) me.getKey(); if (!nsStack.isPrefixLocallyDeclared(prefix)) { DTDAttribute attr = (DTDAttribute) me.getValue(); String uri = attr.getDefaultValue(mContext); nsStack.addNsBinding(prefix, uri); } } } }
public void checkNsDefaults(InputElementStack nsStack) throws XMLValidationException { // We only get called if mCurrElem != null, and has defaults HashMap m = mCurrElem.getNsDefaults(); if (m != null) { Iterator it = m.entrySet().iterator(); while (it.hasNext()) { Map.Entry me = (Map.Entry) it.next(); String prefix = (String) me.getKey(); if (!nsStack.isPrefixLocallyDeclared(prefix)) { DTDAttribute attr = (DTDAttribute) me.getValue(); String uri = attr.getDefaultValue(mContext); nsStack.addNsBinding(prefix, uri); } } } }
public void checkNsDefaults(InputElementStack nsStack) throws XMLStreamException { // We only get called if mCurrElem != null, and has defaults HashMap m = mCurrElem.getNsDefaults(); if (m != null) { Iterator it = m.entrySet().iterator(); while (it.hasNext()) { Map.Entry me = (Map.Entry) it.next(); String prefix = (String) me.getKey(); if (!nsStack.isPrefixLocallyDeclared(prefix)) { DTDAttribute attr = (DTDAttribute) me.getValue(); String uri = attr.getDefaultValue(mContext, this); nsStack.addNsBinding(prefix, uri); } } } }
@Override public void checkNsDefaults(InputElementStack nsStack) throws XMLStreamException { // We only get called if mCurrElem != null, and has defaults HashMap<String,DTDAttribute> m = mCurrElem.getNsDefaults(); if (m != null) { for (Map.Entry<String,DTDAttribute> me : m.entrySet()) { String prefix = me.getKey(); if (!nsStack.isPrefixLocallyDeclared(prefix)) { DTDAttribute attr = me.getValue(); String uri = attr.getDefaultValue(mContext, this); nsStack.addNsBinding(prefix, uri); } } } }
@Override public void checkNsDefaults(InputElementStack nsStack) throws XMLStreamException { // We only get called if mCurrElem != null, and has defaults HashMap<String,DTDAttribute> m = mCurrElem.getNsDefaults(); if (m != null) { for (Map.Entry<String,DTDAttribute> me : m.entrySet()) { String prefix = me.getKey(); if (!nsStack.isPrefixLocallyDeclared(prefix)) { DTDAttribute attr = me.getValue(); String uri = attr.getDefaultValue(mContext, this); nsStack.addNsBinding(prefix, uri); } } } }
@Override public void checkNsDefaults(InputElementStack nsStack) throws XMLStreamException { // We only get called if mCurrElem != null, and has defaults HashMap<String,DTDAttribute> m = mCurrElem.getNsDefaults(); if (m != null) { for (Map.Entry<String,DTDAttribute> me : m.entrySet()) { String prefix = me.getKey(); if (!nsStack.isPrefixLocallyDeclared(prefix)) { DTDAttribute attr = me.getValue(); String uri = attr.getDefaultValue(mContext, this); nsStack.addNsBinding(prefix, uri); } } } }
String exp = attr.getDefaultValue(mContext, this); boolean match; if (result == null) {
if (mCurrHasAnyFixed && attr.isFixed()) { String act = (result == null) ? value : result; String exp = attr.getDefaultValue(mContext); if (!act.equals(exp)) { reportValidationProblem("Value of attribute \""+attr+"\" (element <"+mCurrElem+">) not \""+exp+"\" as expected, but \""+act+"\"");
if (mCurrHasAnyFixed && attr.isFixed()) { String act = (result == null) ? value : result; String exp = attr.getDefaultValue(mContext); if (!act.equals(exp)) { reportValidationProblem("Value of attribute \""+attr+"\" (element <"+mCurrElem+">) not \""+exp+"\" as expected, but \""+act+"\"");
if (mCurrHasAnyFixed && attr.isFixed()) { String act = (result == null) ? value : result; String exp = attr.getDefaultValue(mContext); if (!act.equals(exp)) { reportValidationProblem("Value of attribute \""+attr+"\" (element <"+mCurrElem+">) not \""+exp+"\" as expected, but \""+act+"\"");
if (mCurrHasAnyFixed && attr.isFixed()) { String act = (result == null) ? value : result; String exp = attr.getDefaultValue(mContext, this); if (!act.equals(exp)) { reportValidationProblem("Value of attribute \""+attr+"\" (element <"+mCurrElem+">) not \""+exp+"\" as expected, but \""+act+"\"");
if (mCurrHasAnyFixed && attr.isFixed()) { String act = (result == null) ? value : result; String exp = attr.getDefaultValue(mContext, this); if (!act.equals(exp)) { reportValidationProblem("Value of attribute \""+attr+"\" (element <"+mCurrElem+">) not \""+exp+"\" as expected, but \""+act+"\"");
if (mCurrHasAnyFixed && attr.isFixed()) { String act = (result == null) ? value : result; String exp = attr.getDefaultValue(mContext, this); if (!act.equals(exp)) { reportValidationProblem("Value of attribute \""+attr+"\" (element <"+mCurrElem+">) not \""+exp+"\" as expected, but \""+act+"\"");
String def = attr.getDefaultValue(mContext, this); if (def == null) { ExceptionUtil.throwInternal("null default attribute value");
String def = attr.getDefaultValue(mContext); if (def == null) { ExceptionUtil.throwInternal("null default attribute value");