OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: XML Support in IE 4.0

[ Lists Home | Date Index | Thread Index ]
  • From: Chris Lovett <clovett@microsoft.com>
  • To: Andrew Layman <andrewl@microsoft.com>, xml-dev <xml-dev@ic.ac.uk>
  • Date: Tue, 7 Oct 1997 16:54:37 -0700

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@microsoft.com
> 
> 
> xml-dev: A list for W3C XML Developers. To post,
> mailto:xml-dev@ic.ac.uk
> Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
> To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
> (un)subscribe xml-dev
> To subscribe to the digests, mailto:majordomo@ic.ac.uk the following
> message;
> subscribe xml-dev-digest
> List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS