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

RE: WF, V, and MSXML

  • From: Chris Lovett <clovett@m...>
  • To: "XML Development (E-mail)" <xml-dev@i...>
  • Date: Mon, 9 Jun 1997 19:07:57 -0700

msxml pretty print

	> I stuck the DTD in the internal subset because I couldn't get
the parser 
	> to find an external DTD.  
		I think there's a problem with resolving relative URL's
when the XML file is local and this only happens 
	under certain versions of the Java VM.  I never have a problem
if the DTD is specified with a full URL.  A fix will be posted when one
is found. 

	> WF versus Validity...
		I agree with what seems to be a general consensis that
DTD compliance should be switchable.   Currently the MSXML parser
handles internal subsets the same as external DTD's, and we decided not
to try and do any error recovery, so it is possible that there are also
bugs in the MSXML validity code.  These will be fixed promptly.  

	> Outputting the internal subset...
		The thinking here is that the MSXML "Document" and
"Element" classes should represent a complete object model for tools and
applications that wish to manipulate XML documents, which means being
able to recreate a complete XML file after being manipulated.  This is
different from the traditional "filter" approach where the XML processor
is a one-way filter.  I think the "object model" approach is a good one
for the encouragement of an XML-based application development
environment.  It just so happens that the command line "msxml" tool that
we shipped with the parser (so people could easily play with the parser)
does a full dump of the XML document - which includes any internal
subset.  In fact, the Document class separates out the DTD from the XML
Data.  If you want to get the XML data only, call Document.getRoot.
Eventually if people want to build tools to manipulate the external DTD,
it should also be possible to re-publish that DTD using the Object Model
API.  Currently the Document.save method doesn't do this, but eventually
we may add that feature.  People have also requested other options on
the Document.save method, like whether to pretty-print or not.  See
http://www.w3.org/MarkUp/DOM/ for more on this topic.  






xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo@i... the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (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.