Community
Participate
Working Groups
Build Identifier: If my understanding is right DIV is perfectly valid within OBJECT, yet Eclipse complains "Invalid location of tag (div)" http://www.w3.org/TR/REC-html40/struct/objects.html#edef-OBJECT Reproducible: Always
Created attachment 174295 [details] patch Although , it is not mentioned(or i missed?) in this link that div can be inside Object, i took this link as reference http://www.comptechdoc.org/independent/web/html/terms/html-div-tag.html. Created patch, assuming div can be inside Object .
(In reply to comment #1) > Created an attachment (id=174295) [details] > patch > > Although , it is not mentioned(or i missed?) in this link that div can be > inside Object, i took this link as reference > http://www.comptechdoc.org/independent/web/html/terms/html-div-tag.html. > Created patch, assuming div can be inside Object . This is what makes me believe DIV is allowed in OBJECT: http://www.w3.org/TR/REC-html40/struct/objects.html#edef-OBJECT OBJECT: <!ELEMENT OBJECT - - (PARAM | %flow;)* -- generic embedded object --> where %flow; is: <!ENTITY % flow "%block; | %inline;"> where %block; is: <!ENTITY % block "P | %heading; | %list; | %preformatted; | DL | DIV | NOSCRIPT | BLOCKQUOTE | FORM | HR | TABLE | FIELDSET | ADDRESS">
So, if my understanding is right there's whole lot of elements allowed within OBJECT.
(In reply to comment #3) > So, if my understanding is right there's whole lot of elements allowed within > OBJECT. I agree with jzaruba's assessment. There a lot of elements that are missing from our content model for OBJECT, which mostly seems to be elements under the %block entity. I'd prefer if we could account for all of them instead of just DIV. Thanks jzaruba and Rakesh.
Created attachment 174300 [details] patch taking care of all block elements now.
Second patch looks great, Rakesh. Thanks.
Code checked in.