Forums Register Login

ask a simple question

+Pie Number of slices to send: Send
Hi,javaRancher,
Here is my xml:

question:
when I use xercer2.0 parser parse the xml file,
the content of <family>,<given> and <email> are null,or empty.
but if I change the xml file to :

every thing is OK !
could some one give me the reason ?
Thanks
David

[CODE tags added by Val]
[ January 03, 2003: Message edited by: Valentin Crettaz ]
+Pie Number of slices to send: Send
The only reason seems that you can't leave space at the beginning of the content of the lowest level tag, if you want to have space, you have to use escape.
I think this may also have something to do with specific parser requirement.
+Pie Number of slices to send: Send
My guess is the encoding GBK was the culprit.
Bras cause cancer. And tiny ads:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 713 times.
Similar Threads
validate xml dom with schema
PCDATA and CDATA
Xerces
XML valiadation using schema
passing parameters
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 08:27:15.