Re: Parsing an XML document without a root element

2005-08-17 Thread dbrosius
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

Re: Parsing an XML document without a root element

2005-08-17 Thread dbrosius
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

Re: Parsing an XML document without a root element

2005-08-17 Thread dbrosius
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 (

Re: DOM numerical elements

2005-09-08 Thread dbrosius
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).

RE: Xerces constantly causing class loading at run time

2015-07-18 Thread dbrosIus
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

Re: Any Xerces-J 2.12.0 release date to address CVE-2012-0881?

2018-01-15 Thread dbrosIus
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

Re: [ANNOUNCEMENT]: Apache Xerces-J 2.12.0 now available

2018-05-10 Thread dbrosIus
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