Skip to content

Commit e17e50a

Browse files
committed
Debug $forClass
1 parent 085a326 commit e17e50a

File tree

1 file changed

+1
-0
lines changed
  • src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client

1 file changed

+1
-0
lines changed

src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/form.xsl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -770,6 +770,7 @@ WHERE
770770
<!-- POST or PUT constraint violation response is 422 Unprocessable Entity, bad RDF syntax is 400 Bad Request -->
771771
<xsl:when test="?status = (400, 422) and starts-with(?media-type, 'application/rdf+xml')"> <!-- allow 'application/rdf+xml;charset=UTF-8' as well -->
772772
<xsl:variable name="forClass" select="$container/@typeof" as="xs:anyURI"/>
773+
<xsl:message>$forClass: <xsl:value-of select="$forClass"/></xsl:message>
773774
<xsl:variable name="resource" select="key('resources-by-type', $forClass, ?body)[not(key('predicates-by-object', @rdf:nodeID)[not(../rdf:type/@rdf:resource = '&spin;ConstraintViolation')])]" as="element()"/>
774775
<!-- TO-DO: refactor to use asynchronous HTTP requests -->
775776
<xsl:variable name="types" select="distinct-values($resource/rdf:type/@rdf:resource)" as="xs:anyURI*"/>

0 commit comments

Comments
 (0)