Rewriting the regexp for @ContentType in opc-contentTypes.xsd
MURATA Makoto
eb2m-mrt at asahi-net.or.jp
Wed Jun 17 07:01:45 CEST 2015
Folks,
Here is the XSD schema and RELAX NG schema. I tried to make them more
readable.
Regards,
Makoto
2015-06-13 12:28 GMT+09:00 MURATA Makoto <eb2m-mrt at asahi-net.or.jp>:
> 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 !#-\[\]-~&obs-text;]">
>>
>>
>>
>> Compare to how a range is defined here:
>>
>> <!ENTITY VCHAR "!-~">
>>
>>
>>
>> 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
>
--
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/20150617/51a8a875/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opc-contentTypes.rnc
Type: application/octet-stream
Size: 1173 bytes
Desc: not available
URL: <http://mailman.vse.cz/pipermail/sc34wg4/attachments/20150617/51a8a875/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opc-contentTypes.xsd
Type: application/xml
Size: 2358 bytes
Desc: not available
URL: <http://mailman.vse.cz/pipermail/sc34wg4/attachments/20150617/51a8a875/attachment.xsd>
More information about the sc34wg4
mailing list