Justin Lipton wrote: > > Hi, > > I'm curious about the use of the colon character (":") in IDs - > As far as I can tell the spec says that they are permitted but not > recommended.
Which spec? ;) XML Schema spec requires IDs to be of type NCName that forbits the use of ":". XML 1.0 spec, on the other hand, defines IDs of type Name, allowing colon char. > Xerces 1.4.0's XMLCharacterProperties.validName method returns true for > IDs containing ||colons - yet when the document is parsed an error is > returned. XMLCharactersProperties conforms to XML 1.0. However, it is an error for XML Schema to have an ID with colon char. -- Elena Litani / IBM Toronto --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]