[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XML Support in IE 4.0

  • From: Chris Lovett <clovett@m...>
  • To: Andrew Layman <andrewl@m...>, xml-dev <xml-dev@i...>
  • Date: Tue, 7 Oct 1997 16:54:37 -0700

com.ms.xml.om
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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.