Re: [xml] Problem with filenames with :'s in them on UNIX...
- From: Daniel Veillard <veillard redhat com>
- To: Sean Chittenden <sean chittenden org>
- Cc: xml gnome org
- Subject: Re: [xml] Problem with filenames with :'s in them on UNIX...
- Date: Wed, 9 Apr 2003 07:49:07 -0400
On Wed, Apr 09, 2003 at 04:39:30AM -0700, Sean Chittenden wrote:
Okay, that's another problem. "sa-01:32.xml" loads fine, but
it's internally registered as having an URI "sa-01:32.xml" and
when the entity loader is asked to compute the URI-Reference
for the DTD:
sa-01:32.xml + security_advisory.dtd
generates
sa-01://security_advisory.dtd
The only way to try to avoid this internally would be to transform
the internal URI onto a file:///absolute_path_to_directory/sa-01:32.xml
As far as I know there is no construct allowing to use file:// scheme
with a relative path :-(
One more issue with the Path/URI mess ...
::sigh:: Alright, well, I don't know enough or why this'd happen, but
isn't there an #ifdef that could be used so that UNIX folk wouldn't
have to worry about coping with M$ BS, or is this exclusively a
problem with URIs? Seems as though things could be preserved in their
It's a problem at the URI level ... Can't blame MS for this :-\
literal format if sa-01: isn't a valid URI scheme (have to add an
interface to load valid schemes that libxml supports?).
Just a thought, I don't really care that much other than that this
surprised me. -sc
Well the problem is that this surface somewhere else ...
I will need to fix things there due to other reasons :-\
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]