eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

[pivot] Use ContentHandlers to inhibit XML analysis of Xtext files #2026

Closed eclipse-ocl-bot closed 1 month ago

eclipse-ocl-bot commented 1 month ago

| --- | --- | | Bugzilla Link | 542635 | | Status | RESOLVED FIXED | | Importance | P3 normal | | Reported | Dec 10, 2018 13:54 EDT | | Modified | Sep 21, 2019 02:53 EDT | | Reporter | Ed Willink |

Description

Creatin an Xtext resource such as a *.ocl causes EMF to perform an XML analysis to determine the content type. This of cource fails throwing an exception that eventuallyprovokes correctr REsourceFactory selection.

Installing a *.ocl ContentHandler can bypass this failure.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on Dec 11, 2018 12:44

Pushed to master for 2019-03M1.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on Sep 21, 2019 02:53

Fix used org.eclipse.ocl.xtext.base.utilities.NotXMLContentHandlerImpl

but is inconvenient for extension since org.eclipse.ocl.xtext.base is not required.

Refactor to org.eclipse.ocl.pivot.resorce.NotXMLContentHandlerImpl