• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Large number of external entity references

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I am using JAXP to parse through xml documents that are stored in a DB2 database. There are a total of about 2000 external entity files that may be used in these documents. The dtd does not contain references to these files. I am adding a doctype declaration at the top of each document as I read it in. Right now there are only seven external entity files. It seems like the parser is going through each one to make sure that they are well formed. I found this out because the parser gives an exception if the xml in the external file is not well formed. I am not sure if the parser also stores them in memory at this time for later expansion. My concern is if I go from 7 to 2000 entity declarations will this be practical or will it even work. Is there a better way to do this?
Thanks
Alia
reply
    Bookmark Topic Watch Topic
  • New Topic