Comment on Tutorial - XML and Java - Parsing XML using Java Tutorial By totheriver.com



Comment Added by : Madhu

Comment Added at : 2011-06-29 09:47:51

Comment on Tutorial : XML and Java - Parsing XML using Java Tutorial By totheriver.com
xml response is :

<?xml version="1.0" encoding="UTF-8"?><oas:changeNotificationTriggerStatus xmlns:oas="http://xml.massive.com.au/bt/oas/api" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xml.massive.com.au/bt/oas/api oas_changeNotificationTriggerStatusRequest3.0 v2.xsd "><numberOfResultsReturned>1</numberOfResultsReturned><triggerStateResults> <triggerStateResult> <triggerDocId>1234</triggerDocId> <triggerReference>1234</triggerReference> <changeReasonCode>5105</changeReasonCode> <changeReasonDescription>No notification trigger found: [triggerReference : 1234]</changeReasonDescription> <changeAction>disable</changeAction> <triggerStateBefore></triggerStateBefore> <triggerStateAfter></triggerStateAfter> <changeDateTime>2011-06-29T07:04:30</changeDateTime> </triggerStateResult> <triggerStateResult> <triggerDocId>1236</triggerDocId> <triggerReference>1236</triggerReference> <changeReasonCode>5105</changeReasonCode> <changeReasonDescription>No notification trigger found: [triggerDocId :1236]</changeReasonDescription> <changeAction>disable</changeAction> <triggerStateBefore></triggerStateBefore> <triggerStateAfter></triggerStateAfter> <changeDateTime>2011-06-29T07:04:30</changeDateTime> </triggerStateResult> <triggerStateResult> <triggerDocId>1236</triggerDocId> <triggerReference>1237</triggerReference> <changeReasonCode>5105</changeReasonCode> <changeReasonDescription>No notification trigger found: [triggerDocId :1236]</changeReasonDescription> <changeAction>disable</changeAction> <triggerStateBefore></triggerStateBefore> <triggerStateAfter></triggerStateAfter> <changeDateTime>2011-06-29T07:04:30</changeDateTime> </triggerStateResult> <triggerStateResult> <triggerDocId>1236</triggerDocId> <triggerReference>1111</triggerReference> <changeReasonCode>5105</changeReasonCode> <changeReasonDescription>No notification trigger found: [triggerDocId :1236]</changeReasonDescription> <changeAction>disable</changeAction> <triggerStateBefore></triggerStateBefore> <triggerStateAfter></triggerStateAfter> <changeDateTime>2011-06-29T07:04:30</changeDateTime> </triggerStateResult> <triggerStateResult> <triggerDocId>1236</triggerDocId> <triggerReference>1222</triggerReference> <changeReasonCode>5105</changeReasonCode> <changeReasonDescription>No notification trigger found: [triggerDocId :1236]</changeReasonDescription> <changeAction>disable</changeAction> <triggerStateBefore></triggerStateBefore> <triggerStateAfter></triggerStateAfter> <changeDateTime>2011-06-29T07:04:30</changeDateTime> </triggerStateResult> <triggerStateResult> <triggerDocId>1236</triggerDocId> <triggerReference>1333</triggerReference> <changeReasonCode>5105</changeReasonCode> <changeReasonDescription>No notification trigger found: [triggerDocId :1236]</changeReasonDescription> <changeAction>disable</changeAction> <triggerStateBefore></triggerStateBefore> <triggerStateAfter></triggerStateAfter> <changeDateTime>2011-06-29T07:04:30</changeDateTime> </triggerStateResult> <triggerStateResult> <triggerDocId>1236</triggerDocId> <triggerReference>1777</triggerReference> <changeReasonCode>5105</changeReasonCode> <changeReasonDescription>No notification trigger found: [triggerDocId :1236]</changeReasonDescription> <changeAction>disable</changeAction> <triggerStateBefore></triggerStateBefore> <triggerStateAfter></triggerStateAfter> <changeDateTime>2011-06-29T07:04:30</changeDateTime> </triggerStateResult> <triggerStateResult> <triggerDocId>null</triggerDocId> <triggerReference>1212</triggerReference> <changeReasonCode>5105</changeReasonCode> <changeReasonDescription>No notification trigger found: [triggerDocId :null]</changeReasonDescription> <changeAction>disable</changeAction> <triggerStateBefore></triggerStateBefore> <triggerStateAfter></triggerStateAfter> <changeDateTime>2011-06-29T07:04:30</changeDateTime> </triggerStateResult> <triggerStateResult> <triggerDocId>null</triggerDocId> <triggerReference>1313</triggerReference> <changeReasonCode>5105</changeReasonCode> <changeReasonDescription>No notification trigger found: [triggerDocId :null]</changeReasonDescription> <changeAction>disable</changeAction> <triggerStateBefore></triggerStateBefore> <triggerStateAfter></triggerStateAfter> <changeDateTime>2011-06-29T07:04:30</changeDateTime> </triggerStateResult></triggerStateResults></oas:changeNotificationTriggerStatusResult>

but i m getting this error :

[Fatal Error] :1:4730: The end-tag for element type "oas:changeNotificationTriggerStatus" must end with a '>' delimiter.
org.xml.sax.SAXParseException: The end-tag for element type "oas:changeNotificationTriggerStatus" must end with a '>' delimiter.

pls suggest..


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Really The Best Start for mE
View Tutorial          By: neeraj at 2012-01-26 13:27:31

2. its really a good post... very informative..
View Tutorial          By: javagava at 2011-12-13 19:49:08

3. Plz. help me in getting code to read messages usin
View Tutorial          By: Jaydatta at 2009-04-03 20:58:57

4. i am try this codeing in vb . i am using nokia n73
View Tutorial          By: kanyaraj at 2010-02-09 19:10:10

5. Thanks sir i am understand to jdbc but who will ru
View Tutorial          By: Ranjeet singh at 2012-05-04 07:40:29

6. simply nice.. Thank you.
View Tutorial          By: Anil at 2011-11-30 06:36:23

7. It would be nice to add the line,


View Tutorial          By: Anonymous at 2009-08-30 07:59:10

8. it is a good example thanks
View Tutorial          By: tadeleh at 2012-11-13 12:46:08

9. I am getting error in setContentView(R.layout.main
View Tutorial          By: user at 2012-01-13 06:49:42

10. nice one to understand the basic steps of jdbc....
View Tutorial          By: trishna at 2011-06-10 00:04:21