- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: 09 Jan 2002 14:46:46 +0000
- To: sylvain.devillers@philips.com
- Cc: <xmlschema-dev@w3.org>
sylvain.devillers@philips.com writes:
> I want my schema to allow the "xml:base" attribute in the instance.
> This seems similar to the issue discussed in
> http://lists.w3.org/Archives/Public/xmlschema-dev/2001Dec/0237.html
>
> However, http://www.w3.org/2001/xml.xsd does not declare the
> "xml:base" attribute. Is there another schema for this ?
Hmm, good point. I'll ask the WG's permission to add it.
> Furthermore, I tried to add the line
> <xs:attribute name="base" type="xs:anyURI"/>
>
> in xml.xsd, and then validate again my schema, but then XSV says:
> Error: Undeclared attribute
> xml{http://www.w3.org/XML/1998/namespace}:base referenced
>
> Is the syntax incorrect or is the xml namespace hardcoded in XSV (XSV
> 1.203.2.24/1.106.2.12 of 2001/11/09 15:45:05) ?
It is indeed hardcoded, as it's included in the schema-for-schemas,
which is now built-in to XSV. If you use XSV offline, you can get
around this by using the -D switch. Once xml.xsd is fixed, I'll fix XSV.
ht
--
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
W3C Fellow 1999--2001, part-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/
Received on Wednesday, 9 January 2002 09:46:50 UTC