Ignore:
Timestamp:
Jul 19, 2010, 4:44:03 PM (9 years ago)
Author:
lindanl
Message:

Name Validation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/parabix2_compilable.py

    r511 r518  
    657657        # Mark any occurrences of null names as errors.
    658658        ParseError = ElemNamePositions & ElemNameFollows
    659         #callouts.ElemNames = ElemNameFollows - ElemNamePositions
     659        callouts.ElemNames = ElemNameFollows - ElemNamePositions
    660660       
    661661        # Initialize the accumulators for attribute name and value positions.
     
    702702        # No more attribute values to process when AttNameStart == 0.
    703703        # Not needed for xmlwf
    704         #callouts.AttNames = AttNameFollows - AttNameStarts
     704        callouts.AttNames = AttNameFollows - AttNameStarts
    705705        #callouts.AttVals = AttValFollows - AttValStarts
    706706        STagEnds = AttListEnd & lex.RAngle
     
    753753
    754754        #return (CT_callouts, callouts, refs, u16hi, u16lo, delmask, error, lex, u16delmask, EOF_mask)
    755         return (CT_callouts, callouts, refs, delmask, error, lex, EOF_mask)
     755        return (CT_callouts, callouts, refs, delmask, error, lex, EOF_mask, name_check, name_start_check)
    756756
    757757def demo_parabix(u8data):
Note: See TracChangeset for help on using the changeset viewer.