Arjun Karthick

Ranch Hand
+ Follow
since Jan 04, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Arjun Karthick

If your termination was in amicable manner, there is always possibility for reentering in the same company. Provided there is open position that could match you.

Better talk to hiring manager and HR.
14 years ago
I got 100% hike when I moved from service based company to product based company.

Every company has a salary range for a particular position which depends on the team's avg salary, company's avg salary and other factors. To me it doesn't make sense to expect 100% hike. Instead have a salary expectation(in terms of numbers) and then find companies that would pay your expected salary for your experience and position.



14 years ago
Hi all,

The question might seem simple, but I'm not able to figure the solution.

I need to extract the text node of a particular element. This is the sample xml document




I am using the following xpath to extract.



This is not extracting the value as the namespace prefix does not match. Is there a work around. It works if namespace prefix in the xpath is changed.

Thanks and Regards
Arjun

PS: This is a duplicate post. I have created the same post in the XML certification topic. Kindly delete the other post.


Regards,
Arjun.
Every space or new line carriage between the elements are considered as text node.
No it was my mistake.
The code was wrong.

Apologize for posting without enough analyze.
have to improve my debug skill.
Hi
When i use the getNodeValue method to get the value of the Node i get only part of the value. Need to know if the special charactor

The code to get the value.


The XML Node is :


The expected value : //*[@id='secinfo']/child::*/text()
The value i get is : //*[@ID='secinfo']

Can someone kindly let me know, the reason for this

Thanks
Arjun
Hi
Thinking about Job switch. Need your inputs on the same from others too.

I have 2 years of experience. Worked on Identity Management project.
Have got SCJP, SCWCD, IBM XML certification.
Have good knowledge in Security domain, SAML specification and Design Pattern.

No real time work experience in the UI development and Back end development.

My role in the current company
1. As I have developed the code for SAML implementation, Play lead role in all the enhancement project related to it.
2. Developer in other security releated project.
3. Take part in code review. have done Design and estimate for medium level project.

Reason for Job switch.
1. Better learning curve.
2. Quick onsite and better pay pack.


I have few doubts like
1. Does the slow down in job market makes my job switch unwise.
2. Does my skill set has good marketabilty.
3. what are the other skill set that i should add to make my resume to look more attractive.
4. What are the offers i can expect. Like pay package and job role.
16 years ago
Hi All,
Need a urgent help...

My xml when validated against the Schema, i get this error.
src-resolve: Cannot resolve the name 'saml:AttributeType' to a(n) 'type definition' component.

Can some one let me know the cause of the issue and if there any resolution that needs to done.



Regards
Arjun.
Hi All,
My application needs to be jarred to an external client. I have stored all the class file of the application in the jar.
I don't want my client to decompile the class file and understand the code. Is there any way to obsticate the code in the class file. Is there any tool available for that. Please advice me in the above case.
What coder usually do in such cases. Is this something that must have been taken into consideration during design phase itself. Please throw some light in this.

Regards
Arjun.
16 years ago
Hi all,
Is there any method supported in java to know if the XML Document contains CData section ?

regards,
Arjun.
17 years ago
Hi all,
Is there any method supported in java to know if the Document contains CData section ?

regards,
Arjun.
Hi All,
I use Java 1.5 API. I tried to get the child elements of a xml document by using getChildNodes() method of Node interface. This method reurns a NodeList. The getLength() method of NodeList interface will return the number of child elements in that particular node.

I tried this functionality for same xml node in two different forms. Both the xml documents were part of well formed xml document.

Case 1 :

The Node is Transforms.
The Number of child elements is : 2

<ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:Transforms>


Case 2 :

The Node is Transforms. But there is space or new line character between each node.
The Number of child elements is : 5

<ds:Transforms> <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> </ds:Transforms>


Can someone throw light on why the behaviour of the getLength() and item(int index) method of the NodeList interface change for the same Node but in different forms.

Regards,
Arjun.
Hi All,
I use Java 1.5 API. I tried to get the child elements of a xml document by using getChildNodes() method of Node interface. This method reurns a NodeList. The getLength() method of NodeList interface will return the number of child elements in that particular node.

I tried this functionality for same xml node in two different forms. Both the xml documents were part of well formed xml document.

Case 1 :

The Node is Transforms.
The Number of child elements is : 2



Case 2 :

The Node is Transforms. But there is space or new line character between each node.
The Number of child elements is : 5



Can someone throw light on why the behaviour of the getLength() and item(int index) method of the NodeList interface change for the same Node but in different forms.

Regards,
Arjun.
17 years ago