castor-xml is
pretty good - although I don't know if you can control what parser method to use
(SAX vs DOM).
http://castor.exolab.org/
Pete
-Original Message-From: Shital Joshi
[mailto:[EMAIL PROTECTED]Sent: 24 April 2003 16:25To:
[EMAIL PROTECTED]Subject: XML mapping to J
OK, fixed this myself - of course it was an encoding issue but knowing what the
problem is and fixing it are different altogheter!
I had to change from using a StringWriter to using a ByteArrayOutputStream (cos
you can't specify an encoding with Writers, but you can with OutputStreams):
Then us
Hi folks,
This has probably been asked before, but I can't seem to access the
archives of the mail list, and I can't find a reference in any of the FAQs
Anyway, my question is this:
I have a method which is being called with a DOM Document, and I need to
serialize this DOM as XML an
I saw
a thing in the ant documentation which you may be able to pick up a few tips
from - it sounds like what you are trying to do (although they validate against
DTDs). You may need to peek at their code to see how to do
it...
http://jakarta.apache.org/ant/manual/OptionalTasks/xmlvalidat
Perhaps it fundamentally is a stylesheet problem: IE displays the XML that it
receives using a stylesheet (that's how you get all the fancy colours and
indenting etc). It could be that the default stylesheet that IE is using (from
the MS install) is broken in this respect for XHTML. I suspect
I was trying to head off an inevitable flame fest that you are going to get for
suggesting that:
a) Neil's standards based solution is not a good solution
b) that you could not change your code to implment a standards based approach
and Xerces should implment a non-standard path handling routine
I suggest you read the following
http://www.tuxedo.org/~esr/faqs/smart-questions.html
Pete
> -Original Message-
> From: Panos Konstantinidis [mailto:[EMAIL PROTECTED]
> Sent: 25 November 2002 15:37
> To: [EMAIL PROTECTED]
> Subject: Re: problems with spaces and special characters...
>
I agree - I have found this to be an issue in the past and have reverted to
comparing filesizes. Is there any way that future versions of the xerces.jar
could have a Version entry in the Manifest.MF? (as well as the Created-By
property)? This should be simple to add to the build.xml...
I see
can I add to this question - does anyone know how to do this using DOM1/DOM2
and not the experimental DOM3 stuff...
> -Original Message-
> From: Hellmann Peter (ext) [mailto:[EMAIL PROTECTED]
> Sent: 07 November 2002 08:20
> To: '[EMAIL PROTECTED]'
> Subject: right-sequencing child nodes
> Doesn't make much practical difference, and there may be performance
> issues which make assuming one is literal and the other is escaped a
> desirable choice.
I guess it's the inconsistency that's confusing (and it would be nice if there
was some reference to the relevant XML spec section in
Title: Stoopid question about XMLSerializer and OutputFormat
Folks,
I've noticed something when using XMLSerialzer to write out DOMs. Something seems to be wrong with the way entities are being written out. To demonstrate, the following is a slight modification of the DOMGenerate e
11 matches
Mail list logo