view tests/aborter.ur @ 1344:660a2715e2bd

Clarify that you aren't supposed to be able to create new XML tags
author Adam Chlipala <adam@chlipala.net>
date Thu, 16 Dec 2010 10:23:37 -0500
parents b10132434adc
children
line wrap: on
line source
table t : {A : int}

fun main () : transaction page =
    () <- dml (INSERT INTO t (A) VALUES (0));
    return (error <xml>No way, Jose!</xml>)