OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

entity-resolution-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: XML Catalog Schema publicIdentifier contradicts the specification

The XML Schema in Appendix A of the XML Catalogs specification 1.1 (https://www.oasis-open.org/committees/download.php/14809/xml-catalogs.html#a.w3cxmlschema) contradicts the specification of Public Identifier Normalization (https://www.oasis-open.org/committees/download.php/14809/xml-catalogs.html#pubid-norm):

- the specification says "All strings of white space in public identifiers must be normalized to single space characters (#x20), and leading and trailing white space must be removed."
  - the XML Schema defines pubIdChars, which forbids spaces in the public ID.

Validating XML Catalogs using the XML Schema declares the catalog invalid if the public ID of an entry includes spaces. This makes it impossible to include e.g. W3C XHTML DTDs in an XML Catalog which is validated using the XSD.

This is particularly inconvenient when IDEs or automated build systems validate XML documents according to the XSD, thus declaring the build invalid.


  Steven Bufton

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]