Subject:Error validating a small document Author:(Deleted User) Date:01 Jun 2006 10:10 AM
I tried validating that XML document (after changing DOCTYPE to reflect the location where I placed sdktoc.dtd), and it validated just fine.
What error are you seeing? And which version of Stylus Studio are you using?
Subject:Error validating a small document Author:(Deleted User) Date:01 Jun 2006 11:17 AM
a DTD is not able to perform the kind of validation you are saying.
That is, the DTD contains
<!ELEMENT name (#PCDATA)>
that means that the element "name" will have some text between the start tag and the end tag; both [for() Loop Scoping"] and [for() Loop Scoping] are valid strings.
If you want to describe more precisely what is allowed inside an element you will need to switch to XMLSchema validation.