
Ah-ha! Radu. That was it. ;--) Thank you very much. John
-----Original Message----- From: Radu Coravu [mailto:radu_coravu@sync.ro] Sent: Monday, 9 August 2010 5:02 PM To: oXygen User ML Subject: Re: [oXygen-user] Can't access external XML documents [SEC=UNCLASSIFIED]
Hi John,
Did you by any change set up a SOCKS Proxy in the "HTTP(S)/(S)FTP/Proxy Configuration" Oxygen preferences page? Is it necessary to you or was it set accidentaAhally? Because the error seems to indicate that a SOCKS Proxy was set up and it responded with an invalid response to the client. You can also find more details about the HTTP connection by adding this line to the "log4j.properties" file:
log4j.category.httpclient.wire=debug
If you have a SOCKS proxy server configured, was it recently updated? Oxygen is a Java program and the Java Virtual Machine seems only to support Socks v4. See this post: http://www.innovation.ch/java/HTTPClient/errors.html
Regards, Radu
-- Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com
Hi all,
I have in the past been able to access external XML documents using Schematron external validation. I set my
On 8/9/2010 2:11 AM, john.hockaday@osdm.gov.au wrote: proxy, username and password in the Options => Preferences. I now can't access the external XML documents when I validate using Schematron external validation. I get the following error:
" SystemID: G:\asdd\profileinfo\Camera.xml Description: [ISO Schematron (XSLT 2.0)] org.apache.commons.httpclient.HttpException: Malformed reply from SOCKS server (http://asdd.ga.gov.au/asdd/profileinfo/gmxCodelists.xml) "
The errors in the oxygen.log file looks like this:
" ...
Editor,resizable,maximized,defaultCloseOperation=DO_NOTHING_ON _CLOSE,rootPane=javax.swing.JRootPane[,4,23,1280x1005,invalid, layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignme ntY=0.0,border=,flags=> 16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneChe ckingEnabled=true]
13990767 DEBUG [ AWT-EventQueue-0 ] ro.sync.ui.application.ApplicationDialog - parent: java.awt.Rectangle[x=1276,y=-4,width=1288,height=1032] 13990767 DEBUG [ AWT-EventQueue-0 ] ro.sync.ui.application.ApplicationDialog - parentDedDevice: 12282778 Bounds: java.awt.Rectangle[x=1280,y=0,width=1280,height=1024] 13990767 DEBUG [ AWT-EventQueue-0 ] ro.sync.ui.application.ApplicationDialog - bestFitDevice: 12282778 Bounds: java.awt.Rectangle[x=1280,y=0,width=1280,height=1024] 14022947 DEBUG [ AWT-EventQueue-0 ] ro.sync.ui.application.ApplicationDialog - The focused window is: ro.sync.ui.application.ApplicationDialog$_B[dialog2,1615,423,6 10x177,invalid,layout=java.awt.BorderLayout,APPLICATION_MODAL,ti> tle=Validate with,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=ro.syn c.ui.application.ApplicationDialog$2[,4,23,602x150,layout=java x.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=> 0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize= ],rootPaneCheckingEnabled=true] 14022947 DEBUG [ AWT-EventQueue-0 ] ro.sync.ui.application.ApplicationDialog - KFM: ro.sync.ui.application.ApplicationDialog$_B[dialog2,1615,423,6 10x177,invalid,layout=java.awt.BorderLayout,APPLICATION_MODAL,ti> tle=Validate with,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=ro.syn c.ui.application.ApplicationDialog$2[,4,23,602x150,layout=java x.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=> 0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize= ],rootPaneCheckingEnabled=true] 14022947 DEBUG [ AWT-EventQueue-0 ] ro.sync.ui.application.ApplicationDialog - The top window: ro.sync.ui.application.ApplicationDialog$_B[dialog2,1615,423,6 10x177,invalid,layout=java.awt.BorderLayout,APPLICATION_MODAL,ti> tle=Validate with,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=ro.syn c.ui.application.ApplicationDialog$2[,4,23,602x150,layout=java x.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=> 0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize= ],rootPaneCheckingEnabled=true] 14200437 INFO [ External Validator ] org.apache.commons.httpclient.HttpMethodDirector - I/O exception (java.net.SocketException) caught when processing request: Malformed reply from SOCKS server 14200437 INFO [ External Validator ] org.apache.commons.httpclient.HttpMethodDirector - Retrying request "
I don't know how to interpret this error but I feel it has something to do with my proxy settings.
Any help would be greatly appreciated.
Thanks.
John Hockaday Spatial Standards Group (OSDM) GPO Box 378 Canberra ACT 2601 (02) 6249 9735 http://www.osdm.gov.au/ john.hockaday\@osdm.gov.au
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user