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

Hi Felix,

 

Yes, I’ll post shortly an updated proposal with the XML Schema’s regex instead of the sub-set. It’ll have the subtraction example.

 

And then I’ll try to find a feature unique to the XML Schema character class as well (maybe there aren’t any for that part of the syntax; we’ll see).

 

Cheers,

-yves

 

From: Felix Sasaki [mailto:fsasaki@w3.org] 
Sent: Wednesday, August 29, 2012 1:01 AM
To: Yves Savourel
Cc: public-multilingualweb-lt@w3.org
Subject: Re: forbiddenCharacters data category - related to [ACTIOn-189]

 

 

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 10:30:30 UTC