473,405 Members | 2,154 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,405 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.

Cheers

-- Bennett

Nov 12 '05 #1
2 1577
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
identifier.

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]
http://blog.tkachenko.com
Nov 12 '05 #3

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

Similar topics

2
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...
4
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...
2
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...
1
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()...
4
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...
3
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...
1
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...
0
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...
1
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.