You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by kn...@apache.org on 2004/03/05 16:57:13 UTC

cvs commit: xml-xerces/c/samples/PSVIWriter PSVIWriterHandlers.cpp

knoaman     2004/03/05 07:57:13

  Modified:    c/samples/PSVIWriter PSVIWriterHandlers.cpp
  Log:
  xmlns should be treated as NS attribute. patch by Mike Boos.
  
  Revision  Changes    Path
  1.4       +1 -1      xml-xerces/c/samples/PSVIWriter/PSVIWriterHandlers.cpp
  
  Index: PSVIWriterHandlers.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/samples/PSVIWriter/PSVIWriterHandlers.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- PSVIWriterHandlers.cpp	16 Feb 2004 10:07:14 -0000	1.3
  +++ PSVIWriterHandlers.cpp	5 Mar 2004 15:57:13 -0000	1.4
  @@ -870,7 +870,7 @@
   	bool firstFlag = true;
   	for (unsigned int count=0; count < attrs->getLength(); count++) {
   		DOMAttr* attr = (DOMAttr*)attrs->item(count);
  -		if (XMLString::equals(attr->getPrefix(), XMLUni::fgXMLNSString)) {
  +        if (XMLString::equals(attr->getNamespaceURI(), XMLUni::fgXMLNSURIName)) {
   			fNSAttributes->addElement(count);
   		} else {
   			if (firstFlag) {
  
  
  

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