Closed tinchodias closed 1 year ago
I took a glance at the GTExtensions package and most of the code there seems to be not GT-related but a highlighter.
I tried how simple was to use that highlighter in a Pharo 10 and had this error: "XMLFileException: (XMLFileException) File reading unsupported"
To reproduce:
xmlFileReference := 'test.xml' asFileReference.
xmlFileReference writeStreamDo: [ :aStream |
aStream nextPutAll:
'<?xml version="1.0" encoding="UTF-8"?>
<countries>
<country code="af" handle="afghanistan" continent="asia" iso="4">Afghanistan</country>
<country code="al" handle="albania" continent="europe" iso="8">Albania</country>
<country code="dz" handle="algeria" continent="africa" iso="12">Algeria</country>
</countries>' ].
xmlFileHandle := XMLFileSystemFileHandle fileReference: xmlFileReference.
(XMLExternalDocumentConverter convertFileNamed: xmlFileHandle path)
And I forgot the say that the cause it that the XMLExternalDocumentConverter
uses XMLFileReadStreamFactory
which tries to find StandardFileStream
@tinchodias where is XMLExternalDocumentConverter from?
I introduced a new package "XML-Parser-Tools" using
Fixed for now. Reintroducing colors (if needed) should be handled in #23
The extension package is not trivial but we should have at least some basic tree of nodes in the Pharo 10 inspector.