Rewriting the regexp for @ContentType in opc-contentTypes.xsd

John Haug johnhaug at exchange.microsoft.com
Fri Jun 5 23:40:00 CEST 2015


Apologies for the late e-mail on this.

Are there errant \ in defining the character ranges (23-5B, 5D-7E)?
<!ENTITY qdtext "[\t&#x20;&#x21;&#x23;-\&#x5B;\&#x5D;-&#x7E;&obs-text;]">

Compare to how a range is defined here:
<!ENTITY VCHAR "&#x21;-&#x7E;">

John

From: eb2mmrt at gmail.com [mailto:eb2mmrt at gmail.com] On Behalf Of MURATA Makoto
Sent: Friday, April 10, 2015 11:50 PM
To: SC34
Subject: Re: Rewriting the regexp for @ContentType in opc-contentTypes.xsd

Oops, the schema file was incorrect.

2015-04-11 12:54 GMT+09:00 MURATA Makoto <eb2m-mrt at asahi-net.or.jp<mailto:eb2m-mrt at asahi-net.or.jp>>:
Folks,

I have thoroughly rewritten the regular expression.  it
does not look like a regular expression but looks like a
grammar.  This is because I heavily used parsed entities
such as token, qdtext, and quoted-pair.

Attached please find the schema, and three test files.

I have not finished the RELAX NG schema.  It requires
manual conversion....

Regards,
Makoto



--

Praying for the victims of the Japan Tohoku earthquake

Makoto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.vse.cz/pipermail/sc34wg4/attachments/20150605/100ef351/attachment-0001.html>


More information about the sc34wg4 mailing list