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 b

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
On 06/08/2011 04:05 AM, Chris Simmons wrote: On 08/06/11 05:06, Michael Glavassevich wrote: Hi John, None of Xerces' DOM implementations are thread-safe, even the non-deferred ones. This is true even for read operations. In particular, the implementation of the NodeList methods (i.e. item()

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
ise you'll get a fatal error. Thanks. [1] http://www.w3.org/TR/2006/REC-xml-20060816/#vc-entdeclared [2] http://www.w3.org/TR/2006/REC-xml-20060816/#wf-entdeclared Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: mrgla...@ca.ibm.com E-mail: mrgla...@apache.org Dave Brosi

Re: LexicalHandler for DocumentBuilder?

2009-11-09 Thread Dave Brosius
Your assumptions are correct. the nbsp is not in the dtd. I get javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: The entity "nbsp" was referenced, but not declared. at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502) I am

Internal packages of xerces

2009-02-21 Thread Dave Brosius
Hi folks, Could someone tell me what packages of the xerces J2 source tree are considered off limits to client developers? I see in the standard api, that org.apache.xerces is not mentioned, so i'd assume any use of classes in package that starts with that is a mistake. However, I see

Re: Proper replacement for XMLGregorianCalendarImpl.createTime

2009-02-12 Thread Dave Brosius
ax/xml/datatype/DatatypeFactory.html#newXMLGregorianCalendarTime(int,%20int,%20int,%20int) Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: mrgla...@ca.ibm.com E-mail: mrgla...@apache.org "Dave Brosius" wrote on 02/12/2009 05:59:50 PM: > I ran acr

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
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 are the jars xml-apis.jar and xercesImpl.jar. I do System.out.println((null != PatchAnimIO.class.getResourceAsStream(PATCHANIMDOC_SCHEMA)) ? "loaded" : "null"); Sys

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

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
From: "Joseph Kesselman" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 29, 2006 11:30 AM Subject: [OT] A Sax response to Stax On Tuesday, 03/28/2006 at 09:02 EST, "Dave Brosius" <[EMAIL PROTECTED]> wrote: I've always wondered why ContentHandler's sta

[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