Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatexception #100

Open
Luthien-in-edhil opened this issue Jun 14, 2022 · 0 comments
Open

Formatexception #100

Luthien-in-edhil opened this issue Jun 14, 2022 · 0 comments

Comments

@Luthien-in-edhil
Copy link

Luthien-in-edhil commented Jun 14, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant