[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XML Support in IE 4.0
The Java SDK 2.0 final release is now available from http://www.microsoft.com/java and this includes documentation of the latest version of the Java parser that is included in IE 4.0. In particular you will want to look at the com.ms.xml.om and com.ms.xml.parser packages. The Java parser throws an exception when it finds a problem and the exception includes information that you could display to the user. We even have a standard way of describing the error, for example, the following is a typical error you might get: Close tag WOOPS does not match start tag TREE Location: file:/d:/java/msxml/foo.xml(7,25) Context: <GARDEN><TREE> Location shows the file that contains the error, then the line number then the character position on that line, so in this example it's line 7 character position 25. The Context will list all the tags from the scope of the error out to the root of the document. In this case the error is inside the <TREE> element which is inside the root <GARDEN> element. So yes, you could write an authoring tool using this approach. > -----Original Message----- > From: Andrew Layman > Sent: Tuesday, October 07, 1997 1:36 PM > To: xml-dev > Subject: RE: XML Support in IE 4.0 > > The two parsers had very different goals. The C++ parser was built > with > performance as its main target. It does not include validation. The > Java parser is a fully validating parser and ships with source code > (and > we hope to ship a new one shortly that reflects recent changes in the > specifications). > > --Andrew Layman > AndrewL@m... > > > xml-dev: A list for W3C XML Developers. To post, > mailto:xml-dev@i... > Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ > To (un)subscribe, mailto:majordomo@i... the following message; > (un)subscribe xml-dev > To subscribe to the digests, mailto:majordomo@i... the following > message; > subscribe xml-dev-digest > List coordinator, Henry Rzepa (mailto:rzepa@i...) xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|