Infinite recursion with an XML schema
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="How_To_Have_A_Bad_Day" type="InfiniteNode">
<xs:annotation>
<xs:documentation>Well guess who learned you could do infinite recursion with XML today.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="InfiniteNode">
<xs:sequence>
<xs:element name="AnotherNode" type="InfiniteNode"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
And now to validate my XML....