You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2003/01/31 20:40:35 UTC

cvs commit: xml-xerces/c/tests/DOM/TypeInfo TypeInfo.cpp

tng         2003/01/31 11:40:35

  Modified:    c/tests/DOM/TypeInfo TypeInfo.cpp
  Log:
  Fix DOMTypeInfo on ns attributes.
  
  Revision  Changes    Path
  1.2       +2 -2      xml-xerces/c/tests/DOM/TypeInfo/TypeInfo.cpp
  
  Index: TypeInfo.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/tests/DOM/TypeInfo/TypeInfo.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TypeInfo.cpp	29 Jan 2003 20:04:15 -0000	1.1
  +++ TypeInfo.cpp	31 Jan 2003 19:40:35 -0000	1.2
  @@ -329,10 +329,10 @@
   
       //ns attr
       testAttr = testEle->getAttributeNodeNS(X("http://www.w3.org/2000/xmlns/"), X("prefix"));
  -    DOMTYPEINFOTEST(testAttr->getTypeInfo(), X(""), X(""), __LINE__);
  +    DOMTYPEINFOTEST(testAttr->getTypeInfo(), SchemaSymbols::fgDT_ANYURI, SchemaSymbols::fgURI_SCHEMAFORSCHEMA, __LINE__);
   
       testAttr = testEle->getAttributeNodeNS(X("http://www.w3.org/2001/XMLSchema-instance"), X("noNamespaceSchemaLocation"));
  -    DOMTYPEINFOTEST(testAttr->getTypeInfo(), X(""), X(""), __LINE__);
  +    DOMTYPEINFOTEST(testAttr->getTypeInfo(), SchemaSymbols::fgDT_ANYURI, SchemaSymbols::fgURI_SCHEMAFORSCHEMA, __LINE__);
   
       return passed;
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org