Perhaps create your own stream class that prefixes and postfixes a valid root,
and pass that to the parser.
Quoting Sogol G <[EMAIL PROTECTED]>:
> Hello,
>
> I have an XML document that's not well-formed. It's
> missing its root element. The rest of it is
> well-formed.
>
> EX: it's like this
This solution has nothing to do with xml, just create your own Reader or stream
class, and before returning the real data, return the "" string. When all
the real data is exhausted, return
here's some pseudo code, haven't tried it just typing it in to email.
you'd probably have to handle reading
actually that is stupid.
Your stream should just be
class MultiStream extends FilterStream
{
InputStream[] streams;
int curStream = 0;
public MultiStream(InputStream[] streams)
{
this.streams = streams;
}
public int read()
{
int b;
while (
Convert the numbers to Strings
String.valueOf(myDouble);
and add them as Text type nodes.
Quoting Uli Franke <[EMAIL PROTECTED]>:
> Hi there
>
> I'm new to the DOM/xerces stuff. So far i've built my first writers and
> readers using the examples from the webpage (by serializing
> (root)nodes).
These changes makes it so you aren't using zeroes at all, just the jdk supplied
version that came from an old version
Original message
From: Eric Urban
Date: 07/17/2015 8:34 AM (GMT-05:00)
To: j-users@xerces.apache.org
Subject: Xerces constantly causing class loading at ru
Perhaps xerces should auto add a wider group of commiters as was done in Apache
Commons, in order to spur activity
Original message
From: Michael Glavassevich
Date: 1/11/18 3:29 PM (GMT-05:00)
To: j-users@xerces.apache.org
Subject: Re: Any Xerces-J 2.12.0 release date to a
You missed the point. If I publish an artifact to maven when my artifact
depends on xerces, my users will come at me with pitch forks.
Original message
From: "Eric J. Schwarzenbach"
Date: 5/10/18 5:28 PM (GMT-05:00)
To: j-users@xerces.apache.org
Subject: Re: [ANNOUNCEMENT