[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

update on eduml/dtd



Alright, I finished a new DTD.  It follows.  Sorry I've been a bit 
quiet.  My email up at school is on the fritz. 

Someone mentioned that _ is allowed in tags by the XML standard.  All I
know is that the parser I used complained about them.  Perhaps it isn't
fully xml-compliant.  Does anyone else have a validating parser with which
they'd care to try Bruno's example data? 

Also, I ran the example data that you posted, Bruno, through the DTD, and 
it screamed some 50 errors at me.  I'm not sure whether this means that 
the DTD isn't tracking eduml closely enough, or whether you just forgot 
to put in some tags, or a combination of the two.  Probably the last.  I 
enclosed the errors below.  Suggestions appreciated.

Regardless, I do think that v0.8 is much more elegant than the previous 
versions.  Having one <person>, be it teacher or student, makes a lot of 
things simpler.  Good work.

One nitpicky detail.  There is a <responsibility> tag in the library 
section that is misspelled.  

Thanks,
Dan



Errors from posted eduml example:

nsgmls:eduml-ex1.xml:7:9:E: document type does not allow element "GROUPS" here
nsgmls:eduml-ex1.xml:9:9:E: document type does not allow element "NAME" here
nsgmls:eduml-ex1.xml:18:9:E: document type does not allow element "NAME" here
nsgmls:eduml-ex1.xml:22:9:E: document type does not allow element "NAME" here
nsgmls:eduml-ex1.xml:27:9:E: document type does not allow element "NAME" here
nsgmls:eduml-ex1.xml:32:21:E: document type does not allow element "COURSE" here
nsgmls:eduml-ex1.xml:33:8:E: document type does not allow element "NAME" here
nsgmls:eduml-ex1.xml:34:9:E: document type does not allow element "START" here
nsgmls:eduml-ex1.xml:35:7:E: document type does not allow element "END" here
nsgmls:eduml-ex1.xml:36:11:E: required attribute "ID" not specified
nsgmls:eduml-ex1.xml:36:11:E: document type does not allow element "TEACHER" here
nsgmls:eduml-ex1.xml:37:11:E: required attribute "ID" not specified
nsgmls:eduml-ex1.xml:37:11:E: document type does not allow element "STUDENT" here
nsgmls:eduml-ex1.xml:37:13:E: character data is not allowed here
nsgmls:eduml-ex1.xml:37:32:E: end tag for "STUDENT" which is not finished
nsgmls:eduml-ex1.xml:38:11:E: required attribute "ID" not specified
nsgmls:eduml-ex1.xml:38:11:E: document type does not allow element "STUDENT" here
nsgmls:eduml-ex1.xml:38:13:E: character data is not allowed here
nsgmls:eduml-ex1.xml:38:31:E: end tag for "STUDENT" which is not finished
nsgmls:eduml-ex1.xml:39:11:E: document type does not allow element "CONTACT" here
nsgmls:eduml-ex1.xml:41:13:E: end tag for "CONTACT" which is not finished
nsgmls:eduml-ex1.xml:45:14:E: there is no attribute "ID"
nsgmls:eduml-ex1.xml:46:9:E: document type does not allow element "NAME" here
nsgmls:eduml-ex1.xml:47:12:E: document type does not allow element "FAMILY" here
nsgmls:eduml-ex1.xml:48:11:E: document type does not allow element "GIVEN" here
nsgmls:eduml-ex1.xml:50:23:E: there is no attribute "DATE"
nsgmls:eduml-ex1.xml:50:35:E: element "SCHOOLSTATUS" undefined
nsgmls:eduml-ex1.xml:50:52:E: end tag for element "STATUS" which is not open
nsgmls:eduml-ex1.xml:53:14:E: end tag for "CONTACT" which is not finished
nsgmls:eduml-ex1.xml:55:12:E: end tag for "PERSON" which is not finished
nsgmls:eduml-ex1.xml:58:9:E: document type does not allow element "NAME" here
nsgmls:eduml-ex1.xml:59:12:E: document type does not allow element "FAMILY" here
nsgmls:eduml-ex1.xml:60:11:E: document type does not allow element "GIVEN" here
nsgmls:eduml-ex1.xml:62:35:E: element "SCHOOLSTATUS" undefined
nsgmls:eduml-ex1.xml:62:52:E: end tag for element "STATUS" which is not open
nsgmls:eduml-ex1.xml:65:14:E: end tag for "CONTACT" which is not finished
nsgmls:eduml-ex1.xml:67:12:E: end tag for "PERSON" which is not finished
nsgmls:eduml-ex1.xml:70:9:E: document type does not allow element "NAME" here
nsgmls:eduml-ex1.xml:71:12:E: document type does not allow element "FAMILY" here
nsgmls:eduml-ex1.xml:72:11:E: document type does not allow element "GIVEN" here
nsgmls:eduml-ex1.xml:74:35:E: element "SCHOOLSTATUS" undefined
nsgmls:eduml-ex1.xml:74:52:E: end tag for element "STATUS" which is not open
nsgmls:eduml-ex1.xml:77:14:E: end tag for "CONTACT" which is not finished
nsgmls:eduml-ex1.xml:79:12:E: end tag for "PERSON" which is not finished
nsgmls:eduml-ex1.xml:82:10:E: end tag for "SCHOOL" which is not finished
nsgmls:eduml-ex1.xml:26:14:X: reference to non-existent ID "IT12SP"
nsgmls:eduml-ex1.xml:21:14:X: reference to non-existent ID "IT11SP"
nsgmls:eduml-ex1.xml:10:16:X: reference to non-existent ID "REC.VERNIER"
nsgmls:eduml-ex1.xml:19:16:X: reference to non-existent ID "REC.VERNIER"
nsgmls:eduml-ex1.xml:23:16:X: reference to non-existent ID "REC.VERNIER"
nsgmls:eduml-ex1.xml:28:16:X: reference to non-existent ID "REC.VERNIER"
nsgmls:eduml-ex1.xml:8:14:X: reference to non-existent ID "IT98"
nsgmls:eduml-ex1.xml:14:16:X: reference to non-existent ID "REC.NABU"
nsgmls:eduml-ex1.xml:24:16:X: reference to non-existent ID "REC.NABU"
nsgmls:eduml-ex1.xml:17:14:X: reference to non-existent ID "IT99A"
nsgmls:eduml-ex1.xml:13:16:X: reference to non-existent ID "REC.MARIA"