Results 1 to 3 of 3
  1. #1
    glitch003 is offline Member
    Join Date
    Aug 2012
    Posts
    2
    Rep Power
    0

    Default Reading something that was XMLSerialized by C# with JAXB

    I'm trying to read some data that was created by a C# program. The C# program uses an XMLSerializer to serialize the xml data. I want to read this data (and therefore unserialize it) using Java.

    From some research it appears that JAXB is Java's implementation of XMLSerialization. So what format does the XMLSerializer in JAXB use? Is it a "standard" format meaning it's likely the same as the C# XMLSerializer?

    Thank you

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: Reading something that was XMLSerialized by C# with JAXB

    What do you mean by "what format does the XMLSerializer in JAXB use"? Have you gone through any of the short, or the official long tutorial on JAXB? Its requirements are all well spelled out there.

  3. #3
    glitch003 is offline Member
    Join Date
    Aug 2012
    Posts
    2
    Rep Power
    0

    Default Re: Reading something that was XMLSerialized by C# with JAXB

    Quote Originally Posted by Fubarable View Post
    What do you mean by "what format does the XMLSerializer in JAXB use"? Have you gone through any of the short, or the official long tutorial on JAXB? Its requirements are all well spelled out there.
    I meant that when something is XML serialized, is it in a standard format? Meaning is the schema of the resulting XML a standard across programming languages. I found my answer in this document: Easy XML Serialization of C# and Java Objects

    From the above link: "We have not found any out of the box XML serializer to interoperate between different programming languages. In this section we present a series of frameworks and libraries to serialize objects to XML. All of the libraries explored (except one of them) are not able to generate a standard XML object representation to interoperate between different programming languages."

Similar Threads

  1. JAXB type help!!!
    By mafyou in forum XML
    Replies: 1
    Last Post: 04-23-2012, 10:53 AM
  2. JAXB Unmarshalling
    By milan.nosal in forum XML
    Replies: 0
    Last Post: 09-01-2010, 02:15 PM
  3. JAXB Binding
    By Fusebox in forum XML
    Replies: 0
    Last Post: 06-11-2010, 10:06 PM
  4. Jaxb
    By Paul Richards in forum XML
    Replies: 1
    Last Post: 08-03-2009, 09:56 PM
  5. JAXB Unmarshalling
    By prateek in forum XML
    Replies: 0
    Last Post: 07-10-2008, 06:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •