Re: Maven release (was: [ANNOUNCEMENT]: Apache Xerces-J 2.12.0 now available)

2018-05-14 Thread Dave Brosius
al message From: "Eric J. Schwarzenbach" Date: 5/10/18 5:28 PM (GMT-05:00) To: j-users@xerces.apache.org Subject: Re: [ANNOUNCEMENT]: Apache Xerces-J 2.12.0 now available On 05/10/2018 02:39 AM, Mukul Gandhi wrote: Hi Dave, On Thu, May 10, 2018 at 11:23 AM, Dave Brosius w

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

2018-05-11 Thread Dave Brosius
CEMENT]: Apache Xerces-J 2.12.0 now available On 05/10/2018 02:39 AM, Mukul Gandhi wrote: Hi Dave, On Thu, May 10, 2018 at 11:23 AM, Dave Brosius mailto:dbros...@mebigfatguy.com>> wrote: Yes, but if i want to publish an artifact to maven, and my artifact depends on xerces, are

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

2018-05-10 Thread Dave Brosius
feel passionate about seeing implemented of fixed in Xerces. Thanks. Michael Glavassevich XML Technologies and WAS Development IBM Toronto Lab E-mail: mrgla...@ca.ibm.com E-mail: mrgla...@apache.org Mukul Gandhi wrote on 05/10/2018 02:39:32 AM: > Hi Dave, > > On Thu, May 10, 2018 at 11:23 AM

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

2018-05-09 Thread Dave Brosius
es it, so far as i'm aware (ok so TIL not _all_ of apache does).. It's a solved problem. --dave On 05/10/2018 01:17 AM, Mukul Gandhi wrote: Hi Dave, On Thu, May 10, 2018 at 5:43 AM, Dave Brosius mailto:dbros...@mebigfatguy.com>> wrote: Sorry it's 2018, that's

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

2018-05-09 Thread Dave Brosius
Sorry it's 2018, that's just silly; maven, ivy, gradle, cobalt ... all use the maven repository. I agree ... if it's not on maven, it doesn't exist. On 05/09/2018 01:14 AM, Mukul Gandhi wrote: On Tue, May 8, 2018 at 7:58 PM, Gary Gregory mailto:ggreg...@rocketsoftware.com>> wrote: +1. I

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

2018-05-07 Thread Dave Brosius
Hi Folks, xercesImpl.jar has still yet to show up on maven central, was this an oversight? --dave On 05/02/2018 11:59 PM, Mukul Gandhi wrote: Hi all,    The Apache Xerces project team is pleased to announce that version 2.12.0 of Apache Xerces-J is now available. Xerces-J 2.12.0 can

Thread safe wrapper for the DOM?

2012-11-01 Thread Dave Crooke
ight be able to line up one of our junior devs to create this would there be any interest in open sourcing it and packaging it with Xerces? Cheers Dave

DOM and String.intern(), making a re-usable cache of DOM object trees

2011-09-07 Thread Dave Crooke
dules allow user configurable XPath expressions, including XPath 2.0 JXPath only supports XPath 1.0 Has anyone used the JAXB-style object trees widely with some war stories to relate? All comments, advice and anecdotal experience most welcome. Thanks in advance. Cheers Dave

Re: requesting info

2011-06-16 Thread Dave Brosius
On 06/16/2011 02:22 PM, Greene, Ronald W. wrote: I have a need to parse a feed of XML to determine if it can be passed from one enclave to another. One side will host the JMS provider and the other will be reaching across to pull the data they need down to run certain jobs. We are looking

Re: DOM thread safety issues & disapearring children

2011-06-08 Thread Dave Brosius
B or something. The performance for multithreaded reads is going to smoke any DOM based implementation. Therefore i don't see why synchronization would want to be added on top of the DOM protocol, it would be recommending bad practices, in my mind. dave

Re: RuntimeException problem in xerces.AbstractXMLParser impl

2010-12-04 Thread Dave Brosius
On 12/04/2010 01:55 PM, vardja wrote: Hello forum, I extend AbstractXMLParser and override startElement method , wher I throw custom RuntimeException, and whant to handle it in other class ,but AbstractXMLParser defines ErrorHandler and somehow deals or wraps Exception objects thrown in method .I

Re: [POLL]: Dropping JDK 1.3 support for Xerces-J?

2010-07-12 Thread Dave Brosius
On 8 July 2010 19:27, Dave Brosius wrote: the end of life on 1.4 was fall 2008! +1 in going to 1.5 directly Michael Glavassevich wrote: Hi Jake, "Jacob Kjome" wrote on 07/08/2010 12:58:49 PM: I have a library I develop (XMLC [1]) that depends on JDK1.3 and als

Re: [POLL]: Dropping JDK 1.3 support for Xerces-J?

2010-07-10 Thread Dave Brosius
the end of life on 1.4 was fall 2008! +1 in going to 1.5 directly Michael Glavassevich wrote: > >Hi Jake, > >"Jacob Kjome" wrote on 07/08/2010 12:58:49 PM: > >> I have a library I develop (XMLC [1]) that depends on JDK1.3 and also >depends >> on Xerces.  That said, part of the reason of depen

RE: urn: in system ids in doctypes

2009-11-17 Thread Dave Brosius
I'd expect that if you set up your own EntityResolver that looked for "-//[http://basistech.com//DTD] basistech.com//DTD RLP Regular Expression Config 1.0//EN" and supplied a local copy for the dtd, you would fix the problem. That's assuming of course you know what ids you are expecting. see [

Re: LexicalHandler for DocumentBuilder?

2009-11-10 Thread Dave Brosius
ide those directly,and now nbsp is defined. But i learned some new stuff with this email exchange, and i appreciate the support. thanks. dave Michael Glavassevich wrote: Dave, What I had said only applies when the undeclared entity is not violating [1] a well-formedness constraint [2]. Otherw

Re: LexicalHandler for DocumentBuilder?

2009-11-09 Thread Dave Brosius
a:502) I am using xerces 2.9.1 and xalan 2.7.1 When i do XMLReader r = XMLReaderFactory.createXMLReader(); URL u = r.getClass().getClassLoader().getResource(r.getClass().getName().replace('.', '/') + ".class"); System.out.println(u);namespace aware or i get jar:

Internal packages of xerces

2009-02-21 Thread Dave Brosius
I see that org.apache.xerces.xni is probably ok to use. So is there an official use this/don't use this answer with regards to xerces packages? thanks, dave - To unsubscribe, e-mail: j-users-unsubscr...@xerces.apac

Re: Proper replacement for XMLGregorianCalendarImpl.createTime

2009-02-12 Thread Dave Brosius
ah silly me. thank you. -Original Message- From: "Michael Glavassevich" Sent: Thursday, February 12, 2009 6:42pm To: j-users@xerces.apache.org Subject: Re: Proper replacement for XMLGregorianCalendarImpl.createTime Hi Dave, You're probably looking for this method [1

Proper replacement for XMLGregorianCalendarImpl.createTime

2009-02-12 Thread Dave Brosius
I ran across some code that was using XMLGregorianCalendarImpl.parse and noticed that this class was out of the com.sun.org.apache package, which obviously isn't good. I see that i should be using DatatypeFactory.newInstance().newXMLGregorianCalendar so i'll switch that over. But i'm tryi

Re: Xerces-J Jars

2009-01-31 Thread Dave Brosius
It's more than just line numbers, it's also local variable tables, sourcefile info the line number table is 4 bytes per sourceline of code in a method. the local variable table is 10 bytes per local variable (including parms) I don't believe this information gets loaded (unless debugging) so i

Re: How to preserve an empty text node?

2008-12-15 Thread Dave Brosius
If you are stuck with a bad post processor, than you will have to post process what xerces spits out with something like xmlAsAString = xmlAsAString.replaceAll("<([^>]*)/>", "<$1>"); -Original Message- From: "Ian Hummel" Sent: Monday, December 15, 2008 3:08pm To: "j-users@xerces.apache.

Re: xpath question

2008-12-09 Thread Dave Brosius
While there are an infinite number of xpaths that represent any arbitrary node, one can be built by walking up the tree, at each level appending nodename[x] where x is the index of the child among it's same-named siblings. - Original Message - From: "Shah Asrani" <[EMAIL PROTECTED]>

Re: Problem with org.apache.xerces.internal.dom.TextImpl

2008-05-17 Thread Dave Brosius
Its a bad idea to depend on the internal classes of any api, including xerces. Why do you need to use the class vs. the interface? - Original Message - From: Oswald Soza Morice To: [EMAIL PROTECTED] Sent: Friday, May 16, 2008 8:02 PM Subject: Problem with org.apache.xerces.int

Re: using jar urls in external-noNamespaceSchemaLocation

2008-02-09 Thread Dave Brosius
IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] "Dave Brosius" <[EMAIL PROTECTED]> wrote on 02/09/2008 02:14:56 AM: I am trying to validate against an xsd file that is jar'ed up with my program that is deployed thru jnlp. Included in the jnlp a

using jar urls in external-noNamespaceSchemaLocation

2008-02-09 Thread Dave Brosius
!/com/mebigfatguy/patchanim/io/PatchAnimDoc.xsd', because 1) could not find the document So this shows that the xsd is where i said it was, but yet, setProperty seems like it doesn't know how to load it? Any ideas? dave

Re: Is there a command line validation with Xerces for XML doc against XSD schema ?

2007-12-27 Thread Dave Brosius
Hmmm, Is this a trick question? Isn't this really just the hello world of xerces? Something like import org.xml.sax.ErrorHandler; import org.xml.sax.InputSource; import org.xml.sax.SAXException; import org.xml.sax.SAXParseException; import org.xml.sax.XMLReader; import org.xml.sax.helpers.XMLRea

RE: Sample DOMGenerate.java uses deprecated classes: Can anyone offer advice how to write out a DOM as a string?

2007-06-12 Thread Dave Brosius
I usually just use a null Transformer (xalan), and transform it to a StringWriter. give d the dom node TransformerFactory tf = TransformerFactory.newInstance(); Transformer t = tf.newTransformer(); StringWriter sw = new StringWriter(); t.transform( new DOMSource(d), new StreamResult(sw)); return

entity relative URI does not work

2007-05-24 Thread Dave
ent document location. It is a relative URI. Is this a bug? or some configuration I need to do? I tried to solve this for days. I seached the web, but did not find anything. Thanks in advance for help Dave - Sucker-punch spam with award-winn

Re: Help in understanding requiremwnts

2006-09-13 Thread Dave Brosius
xerces works with text based xml files, which would mean that it wouldn't play the major part in your solution. It is theoretically possible that you massage the binary files into some xml based format, and then xerces would be used as a small part of the solution, but you are probably barki

Re: error while using SAX parser.

2006-05-28 Thread Dave Brosius
Often this is caused by two versions of xalan/xerces on the path, most probably iPlanet includes older jars for it's own needs. When you configure your application inside of iPlanet, there is probably an option to select different class loading policies, such as parent first (use iPlanet's j

Re: [OT] A Sax response to Stax

2006-03-29 Thread Dave Brosius
, but you get the idea) -- arbitrarily deep content -- arbitrarily deep content -- arbitrarily deep content -- arbitrarily deep content and you only want to fully parse and the other you just want to skip completely. --dave - Original Message -

[OT] A Sax response to Stax

2006-03-29 Thread Dave Brosius
I've always wondered why ContentHandler's startElement didn't return a boolean as to whether child content event notification was desired. Seems like that would improve sax performance significantly for many applications. - T

Odd occasional exception with parsing

2006-01-29 Thread Dave Brosius
I'm getting this odd exception showing up in my web apps log files occasionally. Now there are other places in the code were we use the parser, but don't get this error. I don't believe this code is doing anything special regarding parsing that should differentiate it. xml-apis/xercesImpl.jar are

Re: xsd file in the xml instance file

2005-08-01 Thread Dave Brosius
xsd can't be in the xml document in general, unless you write some code to create two input streams based on the same file and position them in the two correct places. schema location can be absolute or relative - Original Message - From: [EMAIL PROTECTED] To: j-dev@xerces.apache.org