This isn't really a "fix". Looks like they hacked in a custom feature that they needed for some reason. There's probably a cleaner way of implementing it internally, but worth pointing out that line/column information of attributes isn't something a user is going to be able to access from the standard JAXP APIs.
Michael Glavassevich XML Technologies and WAS Development IBM Toronto Lab E-mail: mrgla...@ca.ibm.com E-mail: mrgla...@apache.org Christofer Dutz <christofer.d...@c-ware.de> wrote on 10/06/2015 06:07:54 AM: > Ok so they seem to have actually only adjusted 3 classes: > org.apache.xerces.util.XMLAttributesImpl which they call XMLAttributesMMImpl > org.apache.xerces.impl.XML11DocumentScannerImpl which they call > XMLDocumentScannerMMImpl > and > org.apache.xerces.impl.XMLDocumentScannerImpl which they call > XMLNSDocumentScannerMMImpl > All other changes simply only have the purpose of using the changed > classes instead of the original ones. > > The changes in these classes however seem quite significant ... so > I'd be really happy to hear that newer versions of xalan have > addressed the "problem" Adobe (but judging from the MM insertion it > was probably even Macromedia) was having. > > Chris > > Von: Christofer Dutz <christofer.d...@c-ware.de> > Gesendet: Dienstag, 6. Oktober 2015 11:52 > An: j-dev@xerces.apache.org > Betreff: AW: Add fix from the Apache Flex project? > > I'm currently trying to whip up a patch file so you can see what > they thought needed changing ... hopefully this has been already > fixed in a newer version and I/we don't have to do anything but > update to a more recent version. > > Chris > > > Von: Christofer Dutz <christofer.d...@c-ware.de> > Gesendet: Dienstag, 6. Oktober 2015 11:07 > An: j-dev@xerces.apache.org > Betreff: Add fix from the Apache Flex project? > > Hi, > > I am currently cleaning up a real messy build we inherited from > Adobe. Part of this build builds a "patched" version of xerces, that > seems to fix some problems they were having: > > A patch for Apache Xerces 2.9.1 to retain line number information > for XML tag attributes that may extend onto multiple lines. > > So I thought it might have been Adobe's way of dealing with things, > the proper way however to have this sorted out would be to actually > have this fixed in the original project. > > If you could please have a look at this: > https://github.com/apache/flex-sdk/tree/develop/modules/thirdparty/ > xerces-patch > > [image removed] > > flex-sdk/modules/thirdparty/xerces-patch at develop · apache/flex-sdk · GitHub > flex-sdk - Mirror of Apache Flex SDK > Weitere Informationen... > > > > I would be glad to be of assistance in sorting out any problems. > > Chris --------------------------------------------------------------------- To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org