Skip to content

Commit b86e374

Browse files
namedgraphclaude
andcommitted
Fix XMLLiteral in PUT-content-blocks.sh
Self-closing <div/> isn't valid as an XSD XMLLiteral — Jena rejects the PUT body with 400 "Lexical form ... not valid for datatype XSD XMLLiteral". Use explicit start/end tags (<div></div>) which match the form used in the real demo apps' XHTML blocks. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 29d9324 commit b86e374

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

http-tests/document-hierarchy/PUT-content-blocks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ curl -k -w "%{http_code}\n" -o /dev/null -f -s \
4646
<${item}#obj> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://w3id.org/atomgraph/linkeddatahub#Object> .
4747
<${item}#obj> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> <${END_USER_BASE_URL}> .
4848
<${item}#xhtml> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://w3id.org/atomgraph/linkeddatahub#XHTML> .
49-
<${item}#xhtml> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "<div xmlns=\"http://www.w3.org/1999/xhtml\"/>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
49+
<${item}#xhtml> <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "<div xmlns=\"http://www.w3.org/1999/xhtml\"></div>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
5050
EOF

0 commit comments

Comments
 (0)