On Tue, Mar 25, 2003 at 09:09:09AM -0500, Sandy Gao wrote: > Unfortunately, it doesn't work that way. One schema grammar in Xerces > includes all components that belong to a certain namespace. These > components can come from different schema documents (via <include> and > <redefine>). And the different schema documents can have different > attribute/elementFormDefault values. So the single value on the grammar > object can't reflect what was in all those schema documents.
Ah, I meant it to be accessible because I thought it defined how the XML document that uses that grammar should be serialized. So it defines wether elements or attributes should be qualified or not in instance documents. This is useful if I want to get the default for an attribute or element that has no 'form' specified. I understand how it could be messed up by include or redefines, though, but I'm not sure how I can fix that, other than by querying the right SchemaGrammar for a given declaration. -- # Stef Epardaud, # Teachers have potentially more power than military, # Java Defeater # the former can teach us how to not need the latter. # Earth # Lunatech Research, # Solar System # soon we'll quit researching and start finding... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
