[trying again] why validate text inside xs:documentaion

2008-02-21 Thread dave
I just put some sample XML inside xs:documentaion element in my XML schema. This sample XML refers to some undeclared namespace prefix. The XMLBeans renders such XSD file invalid when validated against. Am just curious why? Of course, removing this ns prefix solved the problem though.

Re: [trying again] why validate text inside xs:documentaion

2008-02-21 Thread Jacob Danner
Hi Dave, everything inside and xsd:documentation needs to be well:formed xml. This means any elements declared in the documentation should be declared properly. I believe its actually the rules of XML that require prefixes to be defined. In other words you will have this problem when you do