facebook

HTML/XML Code Completion Driven by DOCTYPE/XSD?

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #216406 Reply

    Paul Kaiser
    Member

    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

    #216455 Reply

    Riyad Kalla
    Member

    Yes, by DTD. What do you mean fragment w.r.t. HTML files? XML Fragments?

    #216514 Reply

    Paul Kaiser
    Member

    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

    #216517 Reply

    Riyad Kalla
    Member

    Paul,
    IIRC the default for HTML fragments is just the HTML 4.01 DTD.

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