Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Opening connections to www.w3.org

 
Eduardo Yañez Parareda
Ranch Hand
Posts: 93
IntelliJ IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I've a problem at work. I'm not an expert on XSL either XSLT so I think asking here is better.

Some of our processes are opening HTTP connections to www.w3.org, I suspect is a transformation, but I'm not sure of that. I don't have access to servers, so I can't
see log files.

When a process validates an XML with an XSD file that declares an xsd namespace as:

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

Does the validator open a connection to www.w3.org?

The same question for any transformation with XSL. Our XSL files declare namespaces: xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
When the transformation happens, does it open a connection to www.w3.org?

 
Eduardo Yañez Parareda
Ranch Hand
Posts: 93
IntelliJ IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, as I've read in the specification, namespaces URIs are treated by parsers as strings, so I don't know what could be the cause of connections to www.w3.org.

Any suggestion?
 
Paul Clapham
Sheriff
Pie
Posts: 20196
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A namespace URI is just a string of characters with no meaning, so the parser should not try to connect to the URL that they happen to represent.

So that isn't your problem. However if you want to solve your problem I suggest you should find out the cause. Guesswork is going to be a slow process, so if you don't have access to the servers then somebody who does have access should be given the problem to solve.
 
Eduardo Yañez Parareda
Ranch Hand
Posts: 93
IntelliJ IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul Clapham wrote:A namespace URI is just a string of characters with no meaning, so the parser should not try to connect to the URL that they happen to represent.

So that isn't your problem. However if you want to solve your problem I suggest you should find out the cause. Guesswork is going to be a slow process, so if you don't have access to the servers then somebody who does have access should be given the problem to solve.


Yes, I'd like you to be my boss! :-)
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic