Hello, If there's a more appropriate list for this question, please tell me.. I'm trying to implement the Abstract Schema DOM API (for DTD), but I've encountered a problem for example: <!ELEMENT z (a+,b*) > now there's an interface ASElementDeclaration which is used for z, it contains an ASContentModel for (a+,b*) Is is stated that ASContentModel::subModels is :Pointers to ASObjects such as ASElementDeclarations and further ASContentModels. ASContentModel::subModels (which would contain a and b) as ASElementDeclaration? the problem is then that what happens to the + after a, since there's no thing like this in ASElementDeclaration shouldn't there be defined some interfaces like this: ASContentModel { int minOccurs; int maxOccurs; int listoperator; } ASContentModelGroup : ASContentModel { subModels; } ASContentModelElement : ASContentModel { ASElementDeclaration* elementRef; } or am I missing something? thanks, -- Sigurd LerstadReceived on Wednesday, 7 November 2001 16:42:45 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:26 GMT