- From: Paul Millar <paul.millar@desy.de>
- Date: Fri, 1 Apr 2011 15:17:52 +0200
- To: xmlschema-dev@w3.org
Hi, First off, thanks for providing the XSD validation service: http://www.w3.org/2001/03/webdata/xsv It's a very useful resource. I've a suggestion for a possible improvement. I've an XSD that includes XHTML in the annotation-documentation elements. To do this, I've included the XHTML namespace; however, the validator doesn't like this and emits the following error message: > Attempt to load a schema document from > http://www.w3.org/1999/xhtml > (source: new namespace) for > http://www.w3.org/1999/xhtml, > failed: > > Not recognised as W3C XML Schema or RDDL: html I think what I'm doing is OK; here's an example fragment, where the schema element has the namespace declaration xmlns:xhtml="http://www.w3.org/1999/xhtml" <complexType name="example_t"> <annotation> <documentation source="http://www.example.org/ref.pdf#page=11" xml:lang="en"> <xhtml:div> <xhtml:p> An abstracted, logical view of software and [...] </xhtml:p> </xhtml:div> </documentation> </annotation> <!-- Rest of defn goes here --> </complexType> If this is OK, would it be possible to adjust the validator so that it knows about the xhtml namespace? Cheers, Paul.
Received on Monday, 4 April 2011 17:01:40 UTC