axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From din...@apache.org
Subject svn commit: r387015 - in /webservices/axis2/trunk/c/modules/xml/parser/guththila/impl/src: guththila_main.c guththila_xml_pull_parser.c
Date Sun, 19 Mar 2006 18:43:42 GMT
Author: dinesh
Date: Sun Mar 19 10:43:41 2006
New Revision: 387015

URL: http://svn.apache.org/viewcvs?rev=387015&view=rev
Log:
added a method to get encoding method

Modified:
    webservices/axis2/trunk/c/modules/xml/parser/guththila/impl/src/guththila_main.c
    webservices/axis2/trunk/c/modules/xml/parser/guththila/impl/src/guththila_xml_pull_parser.c

Modified: webservices/axis2/trunk/c/modules/xml/parser/guththila/impl/src/guththila_main.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/parser/guththila/impl/src/guththila_main.c?rev=387015&r1=387014&r2=387015&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/parser/guththila/impl/src/guththila_main.c (original)
+++ webservices/axis2/trunk/c/modules/xml/parser/guththila/impl/src/guththila_main.c Sun Mar
19 10:43:41 2006
@@ -138,7 +138,7 @@
             {
                 char *p;
                 printf ("</");
-
+		/* printf ("\n %s \n", guththila_xml_pull_parser_get_encoding (environment, parser)); */
                 p = guththila_xml_pull_parser_get_prefix (environment,
                                                           parser);
                 if (p)

Modified: webservices/axis2/trunk/c/modules/xml/parser/guththila/impl/src/guththila_xml_pull_parser.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/parser/guththila/impl/src/guththila_xml_pull_parser.c?rev=387015&r1=387014&r2=387015&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/parser/guththila/impl/src/guththila_xml_pull_parser.c
(original)
+++ webservices/axis2/trunk/c/modules/xml/parser/guththila/impl/src/guththila_xml_pull_parser.c
Sun Mar 19 10:43:41 2006
@@ -1426,6 +1426,8 @@
      guththila_xml_pull_parser_get_encoding(guththila_environment_t *environment,
 				       guththila_xml_pull_parser_t *parser)
 {
+  /* parser will find character encoding base on Byte Order Mark
+     (BOM). */
   switch (parser->unicode_state)
     {
     case None:



Mime
View raw message