Milinda Pathirage’s Blog

Let the code talk for yourself!

Entries from July 2008

Solution to XML namespace problem in getElementsByTagName

July 31st, 2008 · 1 Comment · JavaScript

Here is a simple code I used as a solution to XML namespace handling in different browsers(IE, Firefox 2, Firefox3, ..). But it requires more arguments like namespace and namespace frefix. But I think that this function can be improve based on problem that you have to solve.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
function getElementsByTagName(tagName, ns, prefix, scope){
var elementListForReturn = scope.getElementsByTagName(prefix+":"+tagName);
if(elementListForReturn.length [...]

[Read more →]

Tags:

sudo !!(”bang bang”)

July 30th, 2008 · 1 Comment · linux tips

While reading lifehacker I found this nice command. When you excute commands that need superuser previlages in operating systems like Ubuntu, it gives you permission denied message. If you want to excute that command while in the normal user mode you have to use ’sudo’. But if we don’t have something like ’sudo !!’ we [...]

[Read more →]

Tags:

July Desktop

July 29th, 2008 · No Comments · personal

July Ubuntu Desktop with Conky

Sphere: Related Content

[Read more →]

Tags:

Cuil, A new search engine

July 29th, 2008 · 1 Comment · news

A start-up led by former star Google engineers on Sunday unveiled a new Web search service that aims to outdo the Internet search leader in size, but faces an uphill battle changing Web surfing habits.

They calim that they can index, faster and more cheaply, a far larger portion of the Web [...]

[Read more →]

Tags:

Why Most Popular JavaScript libraries doesn’t support XML with namespaces?

July 28th, 2008 · No Comments · JavaScript, jQuery, yui

I am involve in developing Web Based Management Console for Apache ODE these days for Google Summer of Code 2008. For the mid term evaluation I used code developed using jQuery and I tested only in Firefox 2. But After I submit patches to ODE, developers mentioned about bugs in Firefox 3 and IE 7. [...]

[Read more →]

Tags:

WSO2 Web Services Framework for Python 1.0.0alpha released

July 25th, 2008 · No Comments · python, wsfc, wso2

WSF/Python is the Python language extension to WSO2 WSF/C. This enables you to consume/provide Web Services both with SOAP and REST.
You can download this release from: http://ww2.wso2.org/~milinda/wsf_python1.0.0alpha/WSF-Python-1.0.0alpha.tar.bz2

WSF/Python project home page: http://wso2.org/projects/wsf/python

Sphere: Related Content

[Read more →]

Tags:

WSO2 Mashup Server 1.5 Released

July 24th, 2008 · No Comments · asides

The WSO2 Mashup Server is a powerful yet simple and quick way to tailor Web-based information to the personal needs of individuals and organizations. It is a platform for acquiring data from a variety of sources including Web Services, HTML pages, feeds and data sources, and process and combine it with other data using JavaScript [...]

[Read more →]

Tags:

WSf/Ruby 1.1.0 Released

July 24th, 2008 · No Comments · asides

WSF/Ruby is the Ruby language extension to WSO2 WSF/C. This enables you to consume/provide Web Services both with REST and with the power of WS-* stack including WS-Reliable Messaging, WS-Security, WS-Addressing
and MTOM Attachments.
Sphere: Related Content

[Read more →]

Tags:

WSF/Perl 1.1 Released

July 24th, 2008 · No Comments · asides

WSO2 Web Services Framework for Perl (WSO2 WSF/Perl), is an open source, enterprise grade, Perl extension for providing and consuming Web
Services in Perl. WSO2 WSF/Perl is a complete solution for consuming Web services and is the only Perl extension with the widest range of WS-* specification implementations. It’s Key features include, clients
with [...]

[Read more →]

Tags:

Apache Axis2/C 1.5 Released

July 21st, 2008 · No Comments · axis2/c, news

Today, Apache Axis2/C Team released the version 1.5 of world class Web Services engine written entirely in C. You can download it from the following link http://ws.apache.org/axis2/c/download.cgi.

Changes since last release:

AMQP Transport support with Apache Qpid. (At an experimental stage and not working under Windows)
Modifications to IIS Module to support IIS 6 & 7.
Added a JScript [...]

[Read more →]

Tags: