OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Errata in RelaxNG schema


I just stumbled upon what I think is a minor error in the ODF RelaxNG.


On lines 3838 and 3843 we have regular expressions with the pattern $?
which, AFAIK, is not a valid RE. Indeed, those $?'s cause an error when
you try to convert the spec to compact RelaxNG with trang.

These REs define the data contained in a spreadsheet cell (e.g.
$Sheet1.[B$4]), that's why there are $?'s in the RE.

I propose that we prefix the $ by a \ character in all instances.

Line 3838:
  Remove: ($?([^\. ']+|'[^']+'))?\.$?[A-Z]+$?[0-9]+
  Add:    (\$?([^\. ']+|'[^']+'))?\.\$?[A-Z]+\$?[0-9]+

Line 3843:
  Remove: ($?([^\. ']+|'[^']+'))?\.$?[A-Z]+$?[0-9]+(:($?([^\.
  Add:    (\$?([^\. ']+|'[^']+'))?\.\$?[A-Z]+\$?[0-9]+(:(\$?([^\.

"I AM in shape. Round IS a shape."

This is a digitally signed message part

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]