Hi Darren, Not sure when we'll have our next release. It hasn't been discussed yet. In the meantime you can probably workaround this problem by validating during a parse instead of in memory. For example,
Schema schema = ...; DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); dbf.setNamespaceAware(true); dbf.setSchema(schema); DocumentBuilder db = dbf.newDocumentBuilder(); Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] "Darren Hurt" <[EMAIL PROTECTED]> wrote on 04/12/2007 04:43:48 AM: > Hi Michael, > > Sorry to bother you again, but I'd like to just say thanks for replying > so quickly, and I'll definitely give these patches a try. > Do you have any idea when they patches will get into a released version > of Xerces? > > Thanks, > Darren > > > > -----Original Message----- > From: Michael Glavassevich [mailto:[EMAIL PROTECTED] > Sent: 11 April 2007 19:22 > To: Darren Hurt > Cc: [EMAIL PROTECTED] > Subject: Re: XercesJ-122 > > Hi Darren, > > I can assure you that the specific bug [1] which Takuki reported was > fixed > a long time ago (assuming anything was broken there to begin with). The > problem you're running into is part of a different issue [2]. A number > of > features that the JAXP 1.3 Validator relies on are missing from the > config, including the one [3] which controls whether element default > values are reported with characters() events in XNI. Peter already > posted > a patch to fix this problem. Just haven't got around to reviewing and > applying it yet. > > Thanks. > > [1] http://issues.apache.org/jira/browse/XERCESJ-122 > [2] http://issues.apache.org/jira/browse/XERCESJ-1142 > [3] > http://xerces.apache.org/xerces2-j/features.html#validation.schema.eleme > nt-default > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: [EMAIL PROTECTED] > E-mail: [EMAIL PROTECTED] > > "Darren Hurt" <[EMAIL PROTECTED]> wrote on 04/11/2007 08:04:40 AM: > > > I have updated the 5891 Xerces bug regarding the augmentation of > > elements with default values when validated using the > > Validation API. > > > > I am convinced that this is not yet fixed (despite the fact it is > > marked as resolved), and would be grateful if you could either run > > my example to verify this, or update the bug to tell me what > > I am doing wrong. > > > > > > > > > > https://issues.apache.org/jira/browse/XERCESJ-122. > > > > > > Thanks, > > > > Darren --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]