Help, Generate XML with special chinese character (JDOM) failure

Discussion in 'Java' started by KFC, Nov 30, 2004.

  1. KFC

    KFC Guest

    Dear all,

    Do you have experience on handling special chinese (Hong Kong)
    character with JDOM?
    I use JDOM to build the XML file with these chinese character, and
    then try to check the well-formedness with JDOM. .. Strange!! it is
    invalid.

    XML file produced by JDOM 1.0 fails the checking by JDOM.

    xml file contains this "錦&#xfffd"

    According to http://www.w3.org/TR/REC-xml/#charsets, XML char disallow
    undefined UNICODE character.

    Do you guys have any idea how to solve the problem?

    Thank you very much!

    Regards,
    KFC
     
    KFC, Nov 30, 2004
    #1
    1. Advertisements

  2. KFC

    Guest

    sorry all,
    nothing wrong with JDOM.
    I guess there is something wrong with my FTP client.

    unzip and download with problem
    download and unzip with no problem.

    thanks for your time!
     
    , Dec 12, 2004
    #2
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?UHVzaHBlbmRyYQ==?=

    Error reading special character '{' hexadecimal value 0x7B in xml

    =?Utf-8?B?UHVzaHBlbmRyYQ==?=, Jul 24, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    4,946
    Shan Plourde
    Jul 27, 2004
  2. Wendy S
    Replies:
    1
    Views:
    6,918
    Darren Davison
    Aug 5, 2003
  3. Bernd Oninger
    Replies:
    4
    Views:
    15,240
    GIMME
    Jun 21, 2004
  4. Tinker
    Replies:
    4
    Views:
    6,139
    Harry Bosch
    Oct 9, 2005
  5. Replies:
    1
    Views:
    1,035
    Roedy Green
    Oct 27, 2005
  6. Bernd Oninger
    Replies:
    3
    Views:
    3,149
    GIMME
    Jun 21, 2004
  7. Replies:
    1
    Views:
    1,768
    Peter Flynn
    Jan 8, 2005
  8. havel.zhang
    Replies:
    9
    Views:
    757
    Bart Lateur
    Jun 18, 2007
Loading...