filip26 commented on issue #4025:
URL: https://github.com/apache/jena/issues/4025#issuecomment-4845871041

   It seems to be a bug in the expansion when composing a new URI from a base 
and a relative part that causes the issue. Absolute percent-encoded URIs are 
unaffected and pass correctly."
   
   ```bash
   > ld-cli expand
   {
     "@context": {
       "@base":"https://example.com/";
      },
      "@id": "dir/filename%20with%20spaces",
      "@type": "http://schema.org/Dataset";
   }
   [{"@id":"https://example.com/dir/filename with 
spaces","@type":["http://schema.org/Dataset"]}]
   ```
   
   ```bash
   > ld-cli tordf
   {
      "@id": "https://example.com/dir/filename%20with%20spaces";,
      "@type": "http://schema.org/Dataset";
   }
   <https://example.com/dir/filename%20with%20spaces> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://schema.org/Dataset> .
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to