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

MURATA Makoto eb2m-mrt at asahi-net.or.jp
Sat Jun 13 05:28:27 CEST 2015


John,

If we remove "\" preceding [ and that preceding\]
we will have a syntax error and Xerces-J will report it.  This is
because [ is interpreted as "[" and ] is interpreted
as "]" immediately.  But I agree that a comment would be
useful.

Regards,
Makoto


2015-06-06 6:40 GMT+09:00 John Haug <johnhaug at exchange.microsoft.com>:

>  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>:
>
>  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
>



-- 

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/20150613/3535dae5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opc-contentTypes.xsd
Type: application/xml
Size: 2354 bytes
Desc: not available
URL: <http://mailman.vse.cz/pipermail/sc34wg4/attachments/20150613/3535dae5/attachment.xsd>


More information about the sc34wg4 mailing list