Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] Auto-generate a DTD from multiple XML documents?

From: Jon Noring <jon@------.---->
To: xml-dev@-----.---.---
Date: 10/7/2007 4:12:00 AM
Michael Kay wrote:

> The Saxon DTDGenerator only handles one input document, but I've used it for
> this scenario in the past, simply by concatenating all the documents within
> a dummy root element, generating the DTD, and then discarding the dummy root
> element definition. (It doesn't need to be a physical concatenation, you can
> set up a document that brings all the others in as external entities).

<slappinghandonhead andsaying="duh"/>


> I produced a new version of the DTDGenerator a couple of weeks ago, as it
> happens - the first release for 6 years, fixing a bug that caused it to
> slowly eat memory in proportion to the number of distinct attribute values.
> After fixing that, I was able to process 20Gb of input in about 25 minutes.
> It's available as a free-standing download from the Saxon project on
> sourceforge.

Thanks Michael! I'll let the others know about the new DTDGenerator.
Seems like it was fixed just in time.

Jon Noring


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent