Possible improvement to XSD validation service

Paul Millar <[email protected]>
Newsgroups gmane.text.xml.schema.devel
Organization Deutsches Elektronen-Synchrotron
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.