HTML/XML Code Completion Driven by DOCTYPE/XSD? MyEclipse IDE > General Development This topic has 3 replies, 2 voices, and was last updated 20 years, 2 months ago by Riyad Kalla. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts September 29, 2004 at 11:37 am #216406 Reply Paul KaiserMember Are the choices shown in the XML and HTML editor for code completion driven by the declared DOCTYPE or schema? If yes, how are fragments treated? If no, how is the code completion content controlled? Thanks, Paul September 29, 2004 at 5:35 pm #216455 Reply Riyad KallaMember Yes, by DTD. What do you mean fragment w.r.t. HTML files? XML Fragments? September 30, 2004 at 9:56 am #216514 Reply Paul KaiserMember HTML fragments exist when you use SSI. A simple fragment might be <body> <div> This is my HTML page. <br> </div> </body> When I open this in the HTML editor, code completion still works even though there is no DOCTYPE declared. As far as XML fragments, I haven’t tried this, but I believe they would occur when external entities are used. Paul September 30, 2004 at 10:02 am #216517 Reply Riyad KallaMember Paul, IIRC the default for HTML fragments is just the HTML 4.01 DTD. Author Posts Viewing 4 posts - 1 through 4 (of 4 total) Reply To: HTML/XML Code Completion Driven by DOCTYPE/XSD? You must be logged in to post in the forum log in