[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Errata in RelaxNG schema
Hello, I just stumbled upon what I think is a minor error in the ODF RelaxNG. File: http://www.oasis-open.org/committees/download.php/12571/OpenDocument-schema-v1.0-os.rng 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]+(:($?([^\. ']+|'[^']+'))?\.$?[A-Z]+$?[0-9]+)? Add: (\$?([^\. ']+|'[^']+'))?\.\$?[A-Z]+\$?[0-9]+(:(\$?([^\. ']+|'[^']+'))?\.\$?[A-Z]+\$?[0-9]+)? Cheers, Daniel. -- "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]