axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa.abeysin...@gmail.com>
Subject Re: [Axis2]Guthtila XMLStreamWriter
Date Tue, 04 Oct 2005 12:37:36 GMT
Dinesh Premalal wrote:

>Hi all,
> 
>     I implemented xmlstreamwriter for Guththila as a Independent parser
>and added some test cases under Guththila/test/xmlstreamwriter please
>have a look on it. 
>  
>
Have you had a look into my implementation? I am already using it for 
OM? How different is your's to mine?

Thanks,
Samisa...

>http://www.cse.mrt.ac.lk/~premalwd/Projects/Guththila-c-p3.tar.gz
>
>If it is OK with with you all. then I could send a patch.
>
>thanks,
>Dinesh
>
>PS:
>API for xmlstreamwriter is attached here with.
>
>On Sun, 2005-10-02 at 12:45 +0100, Paul Fremantle wrote:
>  
>
>>I agree.... let's use APR to start with. BUT can I suggest we keep
>>careful track of where and how we use it. Then if we wish to remove
>>the usage later by writing our own code we can. 
>>
>>My personal preference is that something like AXIOM could be done
>>without a portability layer ( i.e. in pure standard C) - but I don't
>>want to hold anyone up.
>>
>>Paul
>>
>>On 10/1/05, Sanjiva Weerawarana <sanjiva@opensource.lk> wrote:
>>        On Sat, 2005-10-01 at 19:40 +0600, Samisa Abeysinghe wrote:
>>        >
>>        > IMHO, use of APR in guththila is not a big issue. Why should
>>        we keep on
>>        > re-inventing the wheel when we have all the things alredy
>>        implemented by
>>        > APR already?
>>        
>>        +1.
>>        
>>        Sanjiva.
>>        
>>
>>    
>>
>>------------------------------------------------------------------------
>>
>>void XML_PullParser_createXmlStreamWriter (XML_PullParser *p, FILE *fp);
>>int XML_PullParser_checkXmlStreamWriter (XML_PullParser *p);
>>
>>void  XML_PullParser_writeStartDocument (XML_PullParser *p);
>>void  XML_PullParser_writeStartElement (XML_PullParser *p, char *start_element);
>>void  XML_PullParser_writeEndElement (XML_PullParser *p);
>>
>>void  XML_PullParser_flush (XML_PullParser *p);
>>void XML_PullParser_close (XML_PullParser *p);
>>
>>void  XML_PullParser_writeCharacters (XML_PullParser *p,const char  *buff);
>>void  XML_PullParser_writeComment (XML_PullParser *p, const char *buff);
>>void  XML_PullParser_writeEscapeCharacter (XML_PullParser *p, const char *buff);
>>void  XML_PullParser_writeEmptyElement (XML_PullParser *p, char *empty_element);
>>
>>void XML_PullParser_writeDefaultNamespace (XML_PullParser *p, char *namespace_uri);
>>void XML_PullParser_writeNamespace (XML_PullParser *p, char *prefix, char *uri);
>>
>>void  XML_PullParser_writeAttribute (XML_PullParser *p, const char *localname, const
char *value);
>>void  XML_PullParser_writeAttribute_with_prefix_and_namespace (XML_PullParser *p,
>>                                                               const char *prefix,
const char 	                                 *namespace_uri,const char *localname, const char
*value);
>>void  XML_PullParser_writeAttribute_with_prefix (XML_PullParser *p,const char *prefix,
>>                                                 const char *localname, const char
*value);
>>void  XML_PullParser_writeAttribute_with_namespace (XML_PullParser *p,const char *namespace,
>>                                                    const char *localname, const char
*value);
>>
>>
>>void XML_PullParser_writeStartElement_with_prefix_and_namespace (XML_PullParser *p,
const char*    prefix, const char *namespace_uri, const char *local_name);
>>void XML_PullParser_writeStartElement_with_namespace (XML_PullParser *p, const char
*namespace_uri, const char *local_name);
>>void XML_PullParser_writeStartElement_with_prefix (XML_PullParser *p, const char *prefix,
const char *local_name);
>>
>>
>>void XML_PullParser_writeEmptyElement_with_prefix_and_namespace (XML_PullParser *p,
const char* prefix, const char *namespace_uri, const char *local_name);
>>void XML_PullParser_writeEmptyElement_with_namespace (XML_PullParser *p, const char
*namespace_uri, const char *local_name);
>>void XML_PullParser_writeEmptyElement_with_prefix (XML_PullParser *p, const char *prefix,
const char *local_name);
>>
>>void XML_PullParser_writeEndDocument (XML_PullParser *p);
>>void XML_PullParser_writeLine (XML_PullParser *p, char *local_name, char *characters);
>>    
>>


Mime
View raw message