eclipse-modisco / org.eclipse.modisco

Eclipse Public License 2.0
0 stars 0 forks source link

Proposed patch to modisco.common.core #92

Closed eclipse-modisco-bot closed 3 hours ago

eclipse-modisco-bot commented 3 hours ago

| --- | --- | | Bugzilla Link | 298644 | | Status | CLOSED FIXED | | Importance | P3 enhancement | | Reported | Dec 30, 2009 09:07 EDT | | Modified | Sep 22, 2010 09:25 EDT | | Version | 0.8.0 | | Reporter | Nicolas Guyomar |

Description

Build Identifier: I20090611-1540

This patch is an extension of XMLResourceImpl EMF class in order to open files referencing DTD. \ The aim of this patch is to avoid bugs occuring when the XML parser try to check the DTD online if Internet connection is not available \ This class will be available for various future MoDisco discoverers based using DTD definitions.

Reproducible: Didn't try

eclipse-modisco-bot commented 3 hours ago

By Nicolas Guyomar on Dec 30, 2009 09:08

Created attachment 155129 Extension of XMLResourceImpl class for DTD

:notepad_spiral: org.eclipe.gmt.modisco.common.core-20091230-1216.patch.txt

eclipse-modisco-bot commented 3 hours ago

By Fabien Giquel on Dec 30, 2009 09:30

Hi Nicolas,

could you make, as soon a possible, the following confirmations via this bug:

  1. You authored 100% of the content
  2. You have the rights to donate the content to Eclipse under the EPL
  3. You have already provided the filled Employer Consent Forms to the\ Foundation

Fabien.

eclipse-modisco-bot commented 3 hours ago

By Nicolas Bros on Jan 04, 2010 03:20

It sounds like a bug I already tried to fix by inhibiting the default "URIHandlerImpl":\ org.eclipse.gmt.modisco.common.core.resource.MoDiscoResourceSet.createURIConverter\ I wonder if this is redundant now?

eclipse-modisco-bot commented 3 hours ago

By Fabien Giquel on Jan 04, 2010 11:20

I don't think it is redundant. \ The new mechanism does not require MoDiscoResourceSet using -> NoExternalLoadXmlResourceImpl hierarchy might be used in some more EMF contexts.\ Within a MoDiscoResourceSet, the old mechanism is more general than just "DTD" references cases.

eclipse-modisco-bot commented 3 hours ago

By Nicolas Guyomar on Jan 13, 2010 14:18

(In reply to comment #2)

Hi Nicolas,

could you make, as soon a possible, the following confirmations via this bug:

  1. You authored 100% of the content
  2. You have the rights to donate the content to Eclipse under the EPL
  3. You have already provided the filled Employer Consent Forms to the Foundation

Fabien.

Hi Fabien,

  1. I am the author of 100% of the content
  2. I have the rights to donate the content to Eclipse under the EPL
  3. I have already provided the filled Employer Consent Forms to the Foundation

Nicolas

eclipse-modisco-bot commented 3 hours ago

By Fabien Giquel on Jan 14, 2010 13:32

Hugo, \ I think a CQ might be necessary for this bug. The contribution proposition has a reference to a String constant coming from a apache licensed source :\ "http://apache.org/xml/features/nonvalidating/load-external-dtd"

It should not cause any problem since the constant is delivered with SUN JDK (com.sun.org.apache.xerces.internal.impl.Constants) and so should be seen as a "exempt pre-req" (http://www.eclipse.org/org/documents/Eclipse_Policy_and_Procedure_for_3rd_Party_Dependencies_Final.pdf).

Could you please initiate a CQ if you agree with the need ?

Fabien.

eclipse-modisco-bot commented 3 hours ago

By Hugo Bruneliere on Jan 15, 2010 03:46

Hi Fabien,

If the problem is just about a reference to a String constant, we may find an alternative solution so that we don't need such a dependency anymore (by adding the constant to the class definition for instance).

My opinion is that we are starting having (too) many dependencies to third-party libraries. We should try to limitate these dependencies to the strictly required/useful cases...

Best regards,

Hugo

eclipse-modisco-bot commented 3 hours ago

By Fabien Giquel on Jan 15, 2010 05:24

Hugo,\ my explanation in my last comment was not understandable enough :

In fact, since the referenced Constant is defined in Java component delivered within the SUN JDK, such a component is a pre-requisite for Eclipse components working and does not create problem from IP point of view.

I commited the patch into "org.eclipse.gmt.modisco.common.core".

eclipse-modisco-bot commented 3 hours ago

By Hugo Bruneliere on Jan 15, 2010 05:28

OK, thanks Fabien!

Hugo

eclipse-modisco-bot commented 3 hours ago

By Hugo Bruneliere on Feb 02, 2010 04:31

Patch integrated