2000-11-01 Manuel Guesdon <mguesdon@orange-concept.com>

* GSWeb.framework/GSWApplication.m: removed a trace
	* GSWeb.framework/GSWTemplateParserXML.m: fix XML
		properties key case bug
	* GSWeb.framework/GSWElementIDString.[hm]: changed
		implementation to conform to NSString cluster.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@7968 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Manuel Guesdon 2000-11-01 14:19:46 +00:00
parent 4e5087d1bc
commit ca9f69d06a
5 changed files with 21 additions and 7 deletions

View file

@ -1,3 +1,11 @@
2000-11-01 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWeb.framework/GSWApplication.m: removed a trace
* GSWeb.framework/GSWTemplateParserXML.m: fix XML
properties key case bug
* GSWeb.framework/GSWElementIDString.[hm]: changed
implementation to conform to NSString cluster.
2000-11-01 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* GSWeb.framework/GSWApplication.m (GSWApplicationMain): fixed path

View file

@ -769,7 +769,6 @@ int GSWApplicationMain(NSString* _applicationClassName,
NSString* _path=nil;
LOGObjectFnStart();
NSDebugMLLog(@"bundles",@"[GSWResourceManager _applicationGSWBundle]:%@",[GSWResourceManager _applicationGSWBundle]);
GSWLogDumpObject([GSWResourceManager _applicationGSWBundle],2);
_path=[[GSWResourceManager _applicationGSWBundle] path]; //return : H:\Wotests\ObjCTest3
NSDebugMLLog(@"low",@"_path:%@",_path);
LOGObjectFnStop();

View file

@ -26,13 +26,16 @@
#ifndef _GSWElementIDString_h__
#define _GSWElementIDString_h__
/*
//====================================================================
@interface GSWElementIDString : NSMutableString
@end
*/
//====================================================================
/*
@interface GSWElementIDString (GSWElementIDStringGSW)
*/
@interface NSMutableString (GSWElementIDStringGSW)
-(void)deleteAllElementIDComponents;
-(void)deleteLastElementIDComponent;
-(void)incrementLastElementIDComponent;
@ -44,6 +47,8 @@
#endif
@end
#define GSWElementIDString NSMutableString
#endif //_GSWElementIDString_h__

View file

@ -25,9 +25,10 @@ static char rcsId[] = "$Id$";
#include <GSWeb/GSWeb.h>
#undef GSWElementIDString
/*
//====================================================================
@implementation GSWElementIDString
//--------------------------------------------------------------------
-(id)copyWithZone:(NSZone*)zone
{
@ -39,10 +40,11 @@ static char rcsId[] = "$Id$";
{
return [[[self class] allocWithZone: zone] initWithString: self];
};
@end
@end
*/
//====================================================================
@implementation GSWElementIDString (GSWElementIDStringGSW)
@implementation NSMutableString (GSWElementIDStringGSW)
//--------------------------------------------------------------------
-(void)deleteAllElementIDComponents

View file

@ -643,7 +643,7 @@ text [Type:XML_TEXT_NODE] [{}] ####
};
//if (currentNode->type==XML_ELEMENT_NODE)
{
nodeAttributes=[currentNode propertiesAsDictionary];
nodeAttributes=[currentNode propertiesAsDictionaryWithKeyTransformationSel:@selector(lowercaseString)];
nodeNameAttribute=[nodeAttributes objectForKey:@"name"];
NSDebugMLog(@"node=%p nodeAttributes=%@",currentNode,nodeAttributes);
NSDebugMLog(@"node=%p nodeNameAttribute=%@",currentNode,nodeNameAttribute);