static const XMLCh type[]= UNICODE_LITERAL_4(t,y,p,e);
static const XMLCh schemaLocation[]= UNICODE_LITERAL_14(s,c,h,e,m,a,L,o,c,a,t,i,o,n);
static const XMLCh noNamespaceSchemaLocation[]= UNICODE_LITERAL_25(n,o,N,a,m,e,s,p,a,c,e,S,c,h,e,m,a,L,o,c,a,t,i,o,n);
+ static const XMLCh _nil[]= UNICODE_LITERAL_3(n,i,l);
if (XMLString::equals(attribute->getLocalName(),type)) {
m_log.debug("skipping xsi:type declaration");
continue;
m_noNamespaceSchemaLocation=XMLString::replicate(attribute->getValue());
continue;
}
+ else if (XMLString::equals(attribute->getLocalName(), _nil)) {
+ m_log.debug("processing xsi:nil attribute");
+ setNil(attribute->getValue());
+ continue;
+ }
}
else if (nsuri && !XMLString::equals(nsuri,XML_NS)) {
m_log.debug("found namespace-qualified attribute, adding prefix to the list of namespaces on the XMLObject");