I
see nobody replied to you on this so I'll give it a
try.
> ... am trying to figure out a way to use
single quote for attributes when an object is marshalled using castor Marshaller
class.
After
looking at the code a little it seems to be that the double quote on attributes
is hard coded behavior that you can't change.
> I also noticed that double quotes in the actual value of an attribute is escaped while single quote is not.
True. It only needs to encode the quote type used to contain the data.
> the ">" symbol are not escaped, but the "<" are
True. ">" is not a relevant character inside XML data. It only has meaning when inside a tag and outside of an attribute.
> I am not supposed to write the encoding information in <?xml version="1.0" encoding="UTF-8"?>
CODE: marshaller.setSupressXMLDeclaration(false
)Good Luck,
Chris Elvart, AT&T

