Comment 3 for bug 1130998

Revision history for this message
Luis Rodriguez Gonzalez (kuraru) wrote :

Just as a pointer, after checking the code generated by Flex, we found a function that we initially thought should manage the problem we are currently have, there is a function called checkXmlRefs, the problem is that the test case that is included in the defect never touches that code, Chris found that this code is only executed for StringLiteral token but not in the case where the charref is enclosed in an element, so my guest is that there should be a way to mnodiy the Grammar rules so checkXmlRefs gets call in that case too. Also the same problem happens when the nul-charref is included as a Attribute so I assume the solution should be similar to this one.