schema-aware XML parser (java heap error)
Hello all, My java app. which uses the standard schema-aware XML parse (packaged with j2sdk1.5.0-01) was hanging up and sometimes I got a java heap error msg. I narrowed it to the maxOccurs attribute of a complexType element in my schema. It seems if maxOccurs> 2000 for this element, the app fails. 1) What is the working of, if you will, of a schema-aware parser? I.e. does it validate before parsing or validate as it parses? 2) Does the parser create a DOM tree for the validating process and that is why maxOccurs value effects the memory allocation? My XML file only contains 10 instances of the offending complexType! Thanx, -FaridFarid Mahini L3 Communications - Telemetry East 1515 Grundy's Lane, Bristol, PA. 19007
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format