I have a API with the following validation scheme:
<root>
<header>
</header>
<body>
<element></element>
</body>
'element' has the rule (in the xsd schema): with the restriction base: xs:string
is it possible to use DTD entities without changing the rules? Like this:
<!ENTITY foo "something cool">
<element>&foo;</element>
So far the scheme validation fails when I use an entity. When I don't (using a string) it works fine.
Any ideas?
edit: the <!ENTITY foo "something cool">
part works fine (I've tested it with external entities). I just can't use the result.