[xml-h] xml validate help

karunesh reddy karuneshr at yahoo.co.nz
Wed Aug 20 11:31:09 BST 2003


iam try to validate this 2 files prxxx.rnc and
pr111.xml

i get alot of error i dont knows what wrong
?
i have use jing -c prxxx.rnc to validate alone  with
no errors
but when use jing -c prxxx.rnc pr111.xml

there is alot of errors?

help please

http://search.yahoo.com.au - Yahoo! Search
- Looking for more? Try the new Yahoo! Search
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr111.xml
Type: text/xml
Size: 9819 bytes
Desc: pr111.xml
Url : http://lists.usefulinc.com/pipermail/xml-hypertext/attachments/20030820/fa339bab/pr111.xml
-------------- next part --------------
start = CourseOutlines
CourseOutlines = element courseOutlines {CourseOutline +}
CourseOutline = element courseOutline {CourseOutlineAttributes,Staffmembers,
        Classtimes,Handbooks,Priorlearning,Coursedescriptions,LearningStrategies,TextAndResources,CourseDiary}
       

CourseOutlineAttributes = attribute courseCode{text},
  		          attribute courseTitle{text},
  		          attribute programme{text},
  		          attribute term{text},
  		          attribute year{text}
  		      
Staffmembers = element staffmembers {Staffmember +}
Staffmember  = element staffmember {
	       element type {text},
	       element firstName {text},
	       element lastName {text},
	       element roomNo {text},
	       element contactNo {text},
	       element email {text}}
	       
Classtimes = element classtimes {Classtime +}
Classtime  = element classtime {
	     element day {text},
	     element starttime{text},
	     element finishtime{text},
	     element roomno {text}}
	
Handbooks = element handbooks {Handbook +}
Handbook = element handbook {text}

Priorlearning = element priorlearning {Para +}
Para = element para {text}
	       
Coursedescriptions = element coursedescriptions {Coursedescription +}
Coursedescription = element coursedescription {CoursedescriptorAttributes,Requisites,Aims,Outcomes,Assessments}

CoursedescriptorAttributes = attribute credits{text},
			     attribute level{text},
			     attribute contacthours{text},
			     attribute otherdirectedhours{text},
			     attribute selfdirectedhours {text},
			     attribute totalhours {text}
			     
Requisites = element requisites {Requisite +}
Requisite = element requisite {RequisiteAttributes,CourseCode,CourseTitle}

RequisiteAttributes = attribute type {text}

CourseCode = element courseCode {text}
CourseTitle = element courseTitle {text}

Aims = element aims {Aim +}
Aim = element aim{text}

Outcomes = element outcomes {Outcome +}
Outcome = element outcome {OutcomeAttributes}

OutcomeAttributes = attribute outcomeNo {text}

Assessments = element assessments {Assessment +}
Assessment = element assessment {AssessNo,AssessType,Passcriteria,Weighting}

AssessNo = element assessNo{text}
AssessType = element assessType{text}
Passcriteria = element passcriteria{text}
Weighting = element weighting{text}

LearningStrategies = element learningStrategies{text}

TextAndResources = element textAndResources{TextAndResource +}
TextAndResource = element textAndResource{text}

CourseDiary = element courseDiary {Diaryline +}
Diaryline = element diaryline {Week,Commencing,Topic,Workbook}
Week = element week{text}
Commencing = element commencing{text}
Topic = element topic {text}
Workbook = element workbook {text}







  		       




More information about the xml-hypertext mailing list