Formatexception
Luthien-in-edhil opened this issue · 0 comments
Luthien-in-edhil commented
Hi, I'm trying linkcheck to see if it can validate the URL's in a RDF (xml) file, and it gave this output:
> $ linkcheck -i rel-url-4.xml
INTERNAL ERROR: Sorry! Please open https://github.com/filiph/linkcheck/issues/new in your favorite browser and copy paste the following output there:
FormatException: Invalid port (at character 13)
http://<rdf:RDF
^
#0 new _Uri.notSimple (dart:core/uri.dart:1602:18)
#1 Uri.parse (dart:core/uri.dart:1123:17)
#2 run.<anonymous closure> (package:linkcheck/linkcheck.dart:264:42)
#3 MappedListIterable.elementAt (dart:_internal/iterable.dart:413:31)
#4 ListIterator.moveNext (dart:_internal/iterable.dart:342:26)
#5 new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:206:27)
#6 new _GrowableList.of (dart:core-patch/growable_array.dart:153:28)
#7 new List.of (dart:core-patch/array_patch.dart:51:28)
#8 ListIterable.toList (dart:_internal/iterable.dart:213:44)
#9 run (package:linkcheck/linkcheck.dart:264:54)
#10 main.<anonymous closure> (file:///home/runner/work/linkcheck/linkcheck/bin/linkcheck.dart:11:22)
#11 main.<anonymous closure> (file:///home/runner/work/linkcheck/linkcheck/bin/linkcheck.dart:9:25)
#12 _rootRun (dart:async/zone.dart:1426:13)
#13 _CustomZone.run (dart:async/zone.dart:1328:19)
#14 _runZoned (dart:async/zone.dart:1861:10)
#15 runZonedGuarded (dart:async/zone.dart:1849:12)
#16 main (file:///home/runner/work/linkcheck/linkcheck/bin/linkcheck.dart:9:9)
#17 _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:295:32)
#18 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:192:12)
(I had to rename the .xml to .txt to allow attaching it)
rel-url-4.txt