aspose file tools*
The moose likes XML and Related Technologies and the fly likes Opening connections to www.w3.org Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Opening connections to www.w3.org" Watch "Opening connections to www.w3.org" New topic
Author

Opening connections to www.w3.org

Eduardo Yañez Parareda
Ranch Hand

Joined: Oct 09, 2008
Posts: 92

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?



http://serfj.sourceforge.net - Simplest Ever REST Framework for Java
Eduardo Yañez Parareda
Ranch Hand

Joined: Oct 09, 2008
Posts: 92

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
Bartender

Joined: Oct 14, 2005
Posts: 18150
    
    8

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

Joined: Oct 09, 2008
Posts: 92

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
 
subject: Opening connections to www.w3.org
 
Similar Threads
NameSpace URI?
What's wrong with it?
Getting error in XSL Transformation
Namespaces
problem with loading mapping.xml