PATCH does not work on turtle
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 42/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript
Hướng nghiên cứu
Tái hiện PATCH được cung cấp trên tài nguyên Turtle ban đầu, so sánh dạng có tiền tố xsd:nonNegativeInteger với IRI kiểu dữ liệu đầy đủ. Theo dõi quá trình xử lý PATCH và đường dẫn parsing Turtle/RDF; hoàn thành khi yêu cầu DELETE DATA thành công khi tài nguyên sử dụng xsd prefix, với một bài kiểm thử hồi quy bao quát cả hai dạng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi all,
I was unsuccessfully trying to HTTP PATCH a turtle file. If I don't prefix the 'xsd' namespace the patch works.
Original resource:
@prefix : <#>.
@prefix as: <https://www.w3.org/ns/activitystreams#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix p: <./>.
@prefix notes: <../>.
p:546851bd-1db4-4b8d-bea2-1a33e982c73b
a as:OrderedCollectionPage;
as:partOf notes:mynotes;
as:startIndex "0"^^<xsd:nonNegativeInteger>.
PATCH:
DELETE DATA { <https://diegoalbuquerque.localhost:8443/tests/collections/notes/pages/546851bd-1db4-4b8d-bea2-1a33e982c73b> <https://www.w3.org/ns/activitystreams#startIndex> "0"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger>. }
RESULT:
The patch could not be applied. Could not find to delete: <https://diegoalbuquerque.localhost:8443/tests/collections/notes/pages/546851bd-1db4-4b8d-bea2-1a33e982c73b> <https://www.w3.org/ns/activitystreams#startIndex> "0"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> .
This works:
@prefix : <#>.
@prefix as: <https://www.w3.org/ns/activitystreams#>.
@prefix p: <./>.
@prefix notes: <../>.
p:546851bd-1db4-4b8d-bea2-1a33e982c73b
a as:OrderedCollectionPage;
as:partOf notes:mynotes;
as:startIndex "0"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger>.
Am I doing something wrong?
- Ngôn ngữ chính
- JavaScript
- Star
- 1.8k
- Fork
- 308
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của nodeSolidServer/node-solid-server
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
nodeSolidServer/node-solid-server#1848 · 2 bình luận · 1 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
nodeSolidServer/node-solid-server#1841 · 2 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
nodeSolidServer/node-solid-server#1147 ·
-
remove bootstrap dependency Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
nodeSolidServer/node-solid-server#1867 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
nodeSolidServer/node-solid-server#1853 ·
Tất cả issue của nodeSolidServer/node-solid-server
Issue tương tự
-
bot:ai-assisted component:compact-js status:untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
midnightntwrk/midnight-sdk#403 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 86/100
DavidAnson/markdownlint-cli2#940 ·
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
githubnext/gh-aw-workshop#3692 ·
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100