W3C home > Mailing lists > Public > public-multilingualweb-lt@w3.org > August 2012

Re: forbiddenCharacters data category - related to [ACTIOn-189]

From: Felix Sasaki <fsasaki@w3.org>
Date: Wed, 29 Aug 2012 09:01:00 +0200
Message-ID: <CAL58czpJax2Qux6tSwM7T=BU6+Y0UdhmD7gOySMhZvaFmjjgxg@mail.gmail.com>
To: Yves Savourel <ysavourel@enlaso.com>
Cc: public-multilingualweb-lt@w3.org
2012/8/28 Yves Savourel <ysavourel@enlaso.com>

> Hi Jirka, all,
>
> > Actually every platform which has built in support for
> > XML Schema 1.0 can implement this checking without any dependencies.
> > Your application can build ad hoc XSD schema with datatypes
> > restricted by regular expressions taken from its:allowedCharacters
> > and then validate your XML document (or subset containing just
> > strings to check) against such schema.
>
> I guess that may work for some use cases. But other users like me have a
> vastly different context of work: In my world the module that uses the
> allowedCharacters regex is not aware of any XML things: ITS and XML are far
> away upstream, parsed and passed on by other modules.
>
> This is something relatively new in ITS 2.0: we use ITS to carry
> information that may be acted upon outside XML/HTML context: quality
> information, allowed characters, maximum storage size, etc.
>
>
> > Personally I would go with XML Schema regexp in our draft.
> > If there will be pushback from more implementers we can adjust
> > draft in the future before producing final spec.
>
> I'll go with that to make things move forward.
>
> But let's be sure we have examples and tests that use expressions unique
> to XML schema's character class. The subtraction feature is a start
> (different syntax than in Java), but .NET supports it too. It would be nice
> to find something unique to XML schema.
>

This should be available here

http://www.w3.org/XML/2004/xml-schema-test-suite/index.html#releases

Any volunteer who would go through this and find the test?

Yves, do you want to update the forbiddencharacters proposal with the
outcome of this?

Best,

Felix


>
> Cheers,
> -yves
>
>
>
>


-- 
Felix Sasaki
DFKI / W3C Fellow
Received on Wednesday, 29 August 2012 07:01:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:31:51 UTC