Menu

#4 XML outline should work for non-well-formed documents

open
nobody
XML Support (1)
5
2004-02-18
2004-02-18
No

The XML outline currently only displays the structure
of an XML document if it is well-formed, i.e. the SAX
parser doesn't report any fatal errors. However, most
problems are reported as fatal errors, thus leaving the
outline blank.

Because the outline page is used while a document is
edited, it should try its best to present as much of
the document structure as possible, even if parts of
the tree have problems.

This is not possible using XML APIs such as SAX or even
XNI.

Discussion

  • Igor Malinin

    Igor Malinin - 2004-02-25

    Logged In: YES
    user_id=346040

    IMHO the better way is to extend partitioner so it will
    build tree relations between start/end tags. It is enough to
    build good outline with fast reconcile. I did some work in
    this direction, but have no tome yet to finish it

     
  • Christopher Lenz

    Logged In: YES
    user_id=10889

    Yes, that is the approach apparently used by the X-Men plugin, and it
    seems to be working well.

     

Log in to post a comment.

MongoDB Logo MongoDB