version 1.115, 2004/11/10 10:34:13
|
version 1.116, 2004/11/15 09:19:46
|
Line 556 void XhtmlElementComplete (ParserData *c
|
Line 556 void XhtmlElementComplete (ParserData *c
|
} |
} |
break; |
break; |
|
|
|
case HTML_EL_Form: |
|
/* Check the mandatory action attribute */ |
|
CheckMandatoryAttribute (el, doc, HTML_ATTR_Script_URL); |
|
break; |
|
|
case HTML_EL_Input: /* it's an INPUT without any TYPE attribute */ |
case HTML_EL_Input: /* it's an INPUT without any TYPE attribute */ |
/* Create a child of type Text_Input */ |
/* Create a child of type Text_Input */ |
elType.ElTypeNum = HTML_EL_Text_Input; |
elType.ElTypeNum = HTML_EL_Text_Input; |
Line 567 void XhtmlElementComplete (ParserData *c
|
Line 572 void XhtmlElementComplete (ParserData *c
|
TtaInsertFirstChild (&child, el, doc); |
TtaInsertFirstChild (&child, el, doc); |
/* now, process it like a Text_Input element */ |
/* now, process it like a Text_Input element */ |
|
|
case HTML_EL_Form: |
|
/* Check the mandatory action attribute */ |
|
CheckMandatoryAttribute (el, doc, HTML_ATTR_Script_URL); |
|
break; |
|
|
|
case HTML_EL_Text_Input: |
case HTML_EL_Text_Input: |
case HTML_EL_Password_Input: |
case HTML_EL_Password_Input: |
case HTML_EL_File_Input: |
case HTML_EL_File_Input: |
Line 612 void XhtmlElementComplete (ParserData *c
|
Line 612 void XhtmlElementComplete (ParserData *c
|
} |
} |
} |
} |
} |
} |
/* Check the mandatory name attribute */ |
|
CheckMandatoryAttribute (el, doc, HTML_ATTR_NAME); |
|
break; |
break; |
|
|
case HTML_EL_META: |
case HTML_EL_META: |
Line 762 void XhtmlElementComplete (ParserData *c
|
Line 760 void XhtmlElementComplete (ParserData *c
|
TtaAttachAttribute (el, attr, doc); |
TtaAttachAttribute (el, attr, doc); |
TtaSetAttributeValue (attr, HTML_ATTR_Checked_VAL_No_, el, doc); |
TtaSetAttributeValue (attr, HTML_ATTR_Checked_VAL_No_, el, doc); |
} |
} |
/* Check the mandatory name attribute */ |
|
CheckMandatoryAttribute (el, doc, HTML_ATTR_NAME); |
|
break; |
|
|
|
case HTML_EL_Button_Input: |
|
case HTML_EL_Hidden_Input: |
|
case HTML_EL_BUTTON_: |
|
/* Check the mandatory name attribute */ |
|
CheckMandatoryAttribute (el, doc, HTML_ATTR_NAME); |
|
break; |
break; |
|
|
case HTML_EL_Option_Menu: |
case HTML_EL_Option_Menu: |
Line 780 void XhtmlElementComplete (ParserData *c
|
Line 769 void XhtmlElementComplete (ParserData *c
|
CheckMandatoryAttribute (el, doc, HTML_ATTR_NAME); |
CheckMandatoryAttribute (el, doc, HTML_ATTR_NAME); |
break; |
break; |
|
|
case HTML_EL_Option: |
|
/* Check the mandatory value attribute */ |
|
CheckMandatoryAttribute (el, doc, HTML_ATTR_Value_); |
|
break; |
|
|
|
case HTML_EL_OptGroup: |
case HTML_EL_OptGroup: |
/* Check the mandatory label attribute */ |
/* Check the mandatory label attribute */ |
CheckMandatoryAttribute (el, doc, HTML_ATTR_label); |
CheckMandatoryAttribute (el, doc, HTML_ATTR_label); |
break; |
break; |
|
|
|
case HTML_EL_MAP: |
|
case HTML_EL_map: |
|
/* Check the mandatory name attribute */ |
|
CheckMandatoryAttribute (el, doc, HTML_ATTR_NAME); |
|
break; |
|
|
|
case HTML_EL_AREA: |
|
/* Check the mandatory alt attribute */ |
|
CheckMandatoryAttribute (el, doc, HTML_ATTR_ALT); |
|
break; |
|
|
case HTML_EL_PICTURE_UNIT: |
case HTML_EL_PICTURE_UNIT: |
/* Check the mandatory ALT attribute */ |
/* Check the mandatory ALT attribute */ |
attrType.AttrSSchema = htmlSchema; |
attrType.AttrSSchema = htmlSchema; |