[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: US-ASCII characters versus XML characters ... why sucha hu
On 1 October 2012 16:01, Costello, Roger L. <costello@mitre.org> wrote: > Ken Holman wrote: > >> XML Schema does not constrain character sets. > > I don't understand this. If I have a pattern facet that specifies any of the 28 characters not supported by XML > > <xs:simpleType name="characters"> > <xs:restriction base="xs:string"> > <xs:pattern value="[-]*" /> > </xs:restriction> > </xs:simpleType> > > then I get this error: > > Character reference  is an invalid XML character That's an error from the xml parser rather than the schema processor... If you change the version in the prolog to 1.1 it should work. -- Andrew Welch http://andrewjwelch.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|