Re: [racket-users] sxml:document

2018-05-15 Thread N. Raghavendra
At 2018-05-14T11:40:05+05:30, N. Raghavendra wrote: > I'll update my installation of the package after a few hours. Sorry, I missed this. I had updated my installation of the package after a couple of hours on that day, and sxml:document works as expected, for local file URLs. HTTP URLs, as you

Re: [racket-users] sxml:document

2018-05-14 Thread Neil Van Dyke
As soon as tools get into accessing resources via URLs from the XML (which I don't think is what you're doing, but it might be the next step for someone), it should be documented that there's a need for access control. Sorry, I mostly meant to make a side comment for the list, and I oversta

Re: [racket-users] sxml:document

2018-05-14 Thread 'John Clements' via Racket Users
> On May 13, 2018, at 11:42 PM, Neil Van Dyke wrote: > > John, thank you for your past&present work on the SXML stuff. Two comments: > >> enforcing the “file://“ prefix. > > Sounds like the following doesn't matter in this case, but another way to > support both a given URL or given filename

Re: [racket-users] sxml:document

2018-05-13 Thread Neil Van Dyke
John, thank you for your past&present work on the SXML stuff. Two comments: enforcing the “file://“ prefix. Sounds like the following doesn't matter in this case, but another way to support both a given URL or given filename is to resolve the given value as a possibly relative URL, against a

Re: [racket-users] sxml:document

2018-05-13 Thread N. Raghavendra
At 2018-05-14T02:01:36-04:00, John Clements wrote: > I’ve made a change that appears to allow the use of “file://“ URIs > with sxml:document, and added a bit of clarifying documentation; the > updated package should be picked up by the package server in less than > a day, unless there’s a build er

Re: [racket-users] sxml:document

2018-05-13 Thread 'John Clements' via Racket Users
> On May 13, 2018, at 21:55, N. Raghavendra wrote: > > At 2018-05-14T00:33:45-04:00, John Clements wrote: > >> It turns out that the “sxml:document” function looks for local files >> *without* a file: prefix. So, you can just call >> >> (sxml:docmuent “/tmp/test.xml”) > > Thanks for your hel

Re: [racket-users] sxml:document

2018-05-13 Thread N. Raghavendra
At 2018-05-14T00:33:45-04:00, John Clements wrote: > It turns out that the “sxml:document” function looks for local files > *without* a file: prefix. So, you can just call > > (sxml:docmuent “/tmp/test.xml”) Thanks for your help. The above is not working for me: -- > (sxml:document "/tm

Re: [racket-users] sxml:document

2018-05-13 Thread 'John Clements' via Racket Users
Well, I’m the maintainer of this package, but not it’s author, and I have an answer for you, but … you’re going to be surprised. It’s pretty gross. It turns out that the “sxml:document” function looks for local files *without* a file: prefix. So, you can just call (sxml:docmuent “/tmp/test.xml