Is this XML data correct?

S

steve1.yoon

Hello guys.
I've work with parsifal XML parser to parser some XML data. then, it
is occurred an error. the error code is ERR_XMLP_EXPECTED_TOKEN.
misfortunely, there is no description about the error code. so I just
guess this error code means the parser fond an illegal XML data.
please check this XML data.
------------------------------------------------------------------------------------------------------------------------
1: <book id="bk101">
2: <author name=Randall, Cynthia age=35/>
3: <title>XML Developer's Guide</title>
4: <genre>Computer</genre>
5: <price country=EUR currency=EURO>44.95</price>
6: <publish_date>2000-10-01</publish_date>
7: <description>An in-depth look at creating applications with XML.</
description>
8: </book>
------------------------------------------------------------------------------------------------------------------------
the error occurred on line 2.
I can't sure this line is correct as XML specifications.

thank you.

steve yoon
 
J

Joe Kesselman

2: <author name=Randall, Cynthia age=35/>

XML attribute values must be quoted.

You really should spend some time reading XML tutorials. Herewith my
standard pointer to the many available at http://www.ibm.com/xml
 
S

steve1.yoon

XML attribute values must be quoted.

You really should spend some time reading XML tutorials. Herewith my
standard pointer to the many available athttp://www.ibm.com/xml

Thank you very much!
I found my fault. and I'll follow your advice. :)
 
S

steve1.yoon

Thank you very much!
I found my fault. and I'll follow your advice. :)

And I delete my text before read your article, because I found my
fault before do it. It make me to be shameful :$
If I've checked your article, then I would not delete my article. I'm
sorry about it.
Anyway thank you for your answer. :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top