xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] Performance problems with very large attribute strings
- From: Peter Murray-Rust <pm286 AT cam.ac.uk>
- To: XOM API for Processing XML with Java <xom-interest AT lists.ibiblio.org>
- Subject: Re: [XOM-interest] Performance problems with very large attribute strings
- Date: Sun, 6 Oct 2013 09:05:25 +0100
Thanks very much, Michael
On Sat, Oct 5, 2013 at 11:43 PM, Michael Kay <mike AT saxonica.com> wrote:
> I would expect most parts of the XML stack to buckle under that load.
Thanks for the reality check! I'm raising it because it may hit other
people who consume SVG. We are now in a world where 20 Mb images are common.
Would there be any difference between attribute content and element
content?
Are you sure it's XOM that's showing the strain, rather than the XML parser?
>
No, I'm not sure, and now that you have raised it I'd guess it was at that
level.
My current workaround will be to parse the string content of the file,
extract the contents of xlink:href, turn that into PNG files (or whatever)
and replace the xlink data with an href to the file. It's pretty safe as
the XML is originally output by XOM.
FWIW for anyone interested in the problem I have written an Open Source
PDF-to-XML tool for (including diagrams) and this is based on XOM and
PDFBox
>
> Michael Kay
>
--
Peter Murray-Rust
Reader in Molecular Informatics
Unilever Centre, Dep. Of Chemistry
University of Cambridge
CB2 1EW, UK
+44-1223-763069
-
[XOM-interest] Performance problems with very large attribute strings,
Peter Murray-Rust, 10/05/2013
-
Re: [XOM-interest] Performance problems with very large attribute strings,
Michael Kay, 10/05/2013
-
Re: [XOM-interest] Performance problems with very large attribute strings,
Peter Murray-Rust, 10/06/2013
-
Re: [XOM-interest] Performance problems with very large attribute strings,
Dave Pawson, 10/06/2013
- Re: [XOM-interest] Performance problems with very large attribute strings, Peter Murray-Rust, 10/06/2013
-
Re: [XOM-interest] Performance problems with very large attribute strings,
Michael Kay, 10/06/2013
- Re: [XOM-interest] Performance problems with very large attribute strings, Peter Murray-Rust, 10/06/2013
-
Re: [XOM-interest] Performance problems with very large attribute strings,
Dave Pawson, 10/06/2013
-
Re: [XOM-interest] Performance problems with very large attribute strings,
Peter Murray-Rust, 10/06/2013
-
Re: [XOM-interest] Performance problems with very large attribute strings,
Elliotte Rusty Harold, 10/06/2013
- Re: [XOM-interest] Performance problems with very large attribute strings, Peter Murray-Rust, 10/06/2013
-
Re: [XOM-interest] Performance problems with very large attribute strings,
Michael Kay, 10/05/2013
Archive powered by MHonArc 2.6.24.