473,378 Members | 1,104 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

XmlResolver -- Any improvements in the works?

Could anyone within Microsoft comment on the status of the XmlResolver
class in upcoming versions of the .NET framework? I am particularly
interested in hearing about any improvements in how PUBLIC and SYSTEM
entity references are handled.

My hope is that improvements have been made that would finally allow
one to build an XmlResolver that provides XML Catalog capabilities as
described in the OASIS-OPEN XML Catalogs Working Draft.

Without the ability to differentiate between PUBLIC and SYSTEM entities
during resolution of external resources it is very difficult to take
full advantage of the System.Xml parsers in applications that process
DocBook or other narrative form XML documents.

I realize that most of the focus seems to be on improving System.Xml
for use in data oriented XML documents for web services and the like.
Hopefully someone at Microsoft has recognized the need to support
narrative documents as well.


-- Bennett

Nov 12 '05 #1
2 1575
Hello ..... anyone out there?

Since my last post I have been experimenting with the XmlResolver class
in the .NET Framework 2.0 beta release. I built my own resolver
implementation and it seems to be working okay. I am running into
inconsistent behavior in the XmlReader logic. It seems like sometimes
the XmlReader tries to resolve the PUBLIC identifier first and follows
up with the SYSTEM identifier. Other times the XmlReader seems to skip
the PUBLIC identifier all together and just resolves the SYSTEM

Microsoft does not seem to have documented the logic in XmlReader for
when it calls the methods of the XmlResolver class. It would be very
helpful to see this documented, as it would be useful information when
building an XmlResolver implementation.

I think it would be very helpful if there were a way in the XmlResolver
calls to determine if the XmlReader was trying to resolve a PUBLIC or
SYSTEM entity reference. This would make is very straight forward to
implement the XML Catalog specification in a custom XmlResolver.
Comments anyone?

-- Bennett

Nov 12 '05 #2
Bennett Smith wrote:
Hello ..... anyone out there?

I'm not sure if anything's going on currently on that, but once Beta2 is
out I'm going to pursue the issue. We need XmlCatalogs support for .NET
and I believe chances are high we can get XmlResolver fixed to allow
that in .NET 2.0.

Oleg Tkachenko [XML MVP, MCP]
Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Showjumper | last post by:
I've got the following code. But the XSLTransform line is underlined by the blue squiggle and vs tells me c:\inetpub\wwwroot\Sites\RiderDesign\articles\test.aspx.vb(37): 'Public Sub...
by: Erwin Gabler | last post by:
Trying to validate a document with a reference to a DTD ("PUBLIC" identifier): <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE systems-description PUBLIC "-//foo/nono" ""> .... The DTD uses...
by: Paul | last post by:
Hi I'm currently having a problem with XMLResolvers. To put it simply using the same stylesheet and the same xml I am getting different results. When using the code and style sheet below. I...
by: rocio | last post by:
I'm trying ti use the example in http://support.microsoft.com/default.aspx?scid=kb;en-us;330587#appliesto but doe s not work. I keep getting the error Public WriteOnly Property XmlResolver()...
by: damien morton | last post by:
Hi, I need some help... Im trying to use XmlValidatingParser with a custom XmlResolver. Im finding, however, that the custom resolver never gets called, and that the XmlValidatingParser acts as...
by: Rouven Hertenstein | last post by:
Hi, I'm trying to test the vb.net-exercise "How to use a DataSet with the Office XP Chart Component and ASP.NET" on http://support.microsoft.com/kb/303016/en-us Visual Studio rails against the...
by: Keith Chadwick | last post by:
Have been doing a fair amount of reading but at this point no joy. The scenario is - XSL template is stored within db. - Template has a xsl:include statement as <xsl:include...
by: George Durzi | last post by:
In pre v1.1, this is how I would do an Xsl transformation: System.IO.FileStream fs = new System.IO.FileStream(sFilePath, System.IO.FileMode.Create); System.Xml.XmlTextWriter xtw = new...
by: cashdeskmac | last post by:
I have this code from an example on the MSDN site: Dim rdr As New XmlTextReader("http://localhost/bookstore/book.xml") rdr.XmlResolver.Credentials = CredentialCache.DefaultCredentials Dim doc As...
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.