I used dtdschematron.xsl and specific complete = no. The resulting output included DTD Attribute Checks.
It looks like the problem might be line 46, which look like this:
<xsl:if
test="$complete='yes' and attribute[attributeDeclaration[@mode='#REQUIRED']] or attribute[attributeDeclaration[@mode='#FIXED']] or attribute[attributeDeclaration[starts-with(@type, '(') and @mode!='#FIXED']]">
Should that have parentheses after the first "and"?:
<xsl:if
test="$complete='yes' and (attribute[attributeDeclaration[@mode='#REQUIRED']] or attribute[attributeDeclaration[@mode='#FIXED']] or attribute[attributeDeclaration[starts-with(@type, '(') and @mode!='#FIXED']])">
I used dtdschematron.xsl and specific complete = no. The resulting output included DTD Attribute Checks.
It looks like the problem might be line 46, which look like this: <xsl:if test="$complete='yes' and attribute[attributeDeclaration[@mode='#REQUIRED']] or attribute[attributeDeclaration[@mode='#FIXED']] or attribute[attributeDeclaration[starts-with(@type, '(') and @mode!='#FIXED']]">
Should that have parentheses after the first "and"?: <xsl:if test="$complete='yes' and (attribute[attributeDeclaration[@mode='#REQUIRED']] or attribute[attributeDeclaration[@mode='#FIXED']] or attribute[attributeDeclaration[starts-with(@type, '(') and @mode!='#FIXED']])">