Re: The subsetting has begun
mc@x... (Mike Champion) writes: >I'm not sure what "processing" a DTD means in a technical sense. >Accepting the entity declarations, setting the default attribute >values, etc. but not enforcing any content model constraints? Or >just parsing DTDs and ignoring everthing in there. (IIRC either would >be "legal" for a non- validating parser). What would you suggest J2ME >parsers do? XML 1.0 non-validating parsers are required to process the internal subset of the DOCTYPE. They're only allowed to ignore the external subset and references to external resources. In practice, this means that NVPs have to understand ENTITY declarations and ATTLIST declarations whether or not they care about external DTDs. For TAM, I left that work up to the application. If it cares about the contents of the DOCTYPE, it can do the parsing and retrieval and merge that information with TAM events as they arrive. If it doesn't care, it doesn't care. -- Simon St.Laurent Ring around the content, a pocket full of brackets Errors, errors, all fall down! http://simonstl.com -- http://monasticxml.org
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