IntelliJ repeatedly connecting to mojo.w3.org
When I look at the TCP connections going out from my machine, I see IntellIJ repeatedly connecting to mojo.w3.org. I suspect that this is because I am editing XML and IntellIJ is trying to get some schema from the W3C web site. But which one?
I changed my hosts to point mojo.w3.org to 127.0.0.1, and setup a tcpmon to see what the requests coming from IntelliJ are for, but somehow IntelliJ still seems to be connecting to mojo.w3.org directly instead of going through the tcpmon I setup. Strange.
Any advice on this one?
Alex
--
Orbeon Forms - Web 2.0 Forms for the Enterprise
http://www.orbeon.com/
请先登录再写评论。
We know that Xerces validator (used during XML editing and during
Validate task) might do connecton for xml schemas/doc types to w3.org
but have no clue right now for reproducible scenario.
Alessandro Vernet wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Here is what I did which seems to fix the problem so far for me: I added the following 2 URI in the list of ignored resources:
http://www.w3.org/2001/XMLSchema.dtd
http://www.w3.org/2001/datatypes.dtd
I guess I could get the corresponding DTD and store them locally but I don't care much about DTD validation. I don't even know what triggers it. All my files are validated with XML Schema, not DTD.
Alex
--
Orbeon Forms - Web 2.0 Forms for the Enterprise
http://www.orbeon.com/
Some schema files has fake doctypes like following
-
<!DOCTYPE schema
PUBLIC "-//W3C//DTD XMLSchema 200102//EN"
"http://www.w3.org/2001/XMLSchema.dtd"
[
<!ATTLIST schema
xmlns:ds CDATA #FIXED "http://www.w3.org/2000/09/xmldsig#">
<!ENTITY dsig 'http://www.w3.org/2000/09/xmldsig#'>
<!ENTITY % p ''>
<!ENTITY % s ''>
]>
-
Could you please check if your schemas (including the ones from external
resources) have references to mentioned resources?
Alessandro Vernet wrote:
>>We know that Xerces validator (used during XML
>>editing and during
>>Validate task) might do connecton for xml schemas/doc
>>types to w3.org
>>but have no clue right now for reproducible scenario.
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
None of the files I am editing has anything like this. And all the external resources I have configured are for XML Schema files (not DTD).
Alex
And those external resources schemas do not have such fragments ?
Alessandro Vernet wrote:
>>Some schema files has fake doctypes like following
>>-------
>><!DOCTYPE schema
>>PUBLIC "-//W3C//DTD XMLSchema 200102//EN"
>>"http://www.w3.org/2001/XMLSchema.dtd"
>>[
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
E.g. XmlSignature schema has such header
(http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd)
Maxim Mossienko (JetBrains) wrote:
>>> Some schema files has fake doctypes like following
>>> -
>>> <!DOCTYPE schema
>>> PUBLIC "-//W3C//DTD XMLSchema 200102//EN"
>>> "http://www.w3.org/2001/XMLSchema.dtd"
>>> [
>>
>>
>>
>> None of the files I am editing has anything like this. And all the
>> external resources I have configured are for XML Schema files (not DTD).
>>
>> Alex
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
I can't find any reference XMLSchema.dtd in any of the schema I have configured as external resources.
Alex
I am not using that one.
Alex