Changeset 3941:dac35eb5c802 in livinglogic.python.xist for src/ll/xist/scripts/dtd2xsc.py

Show
Ignore:
Timestamp:
03/26/10 16:24:36 (9 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Revert back to the previous way of checking input/output types in parsing pipelines.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/xist/scripts/dtd2xsc.py

    r3933 r3941  
    152152    for entname in ents: 
    153153        if entname not in ("quot", "apos", "gt", "lt", "amp"): 
    154             ent = parsers.tree(dtd.resolve_ge(entname).value | parsers.Encoder("utf-8") | parsers.SGMLOP(encoding="utf-8") | parsers.Prefixes() | parsers.Instantiate()) 
     154            ent = parsers.tree(dtd.resolve_ge(entname).value | parsers.Encoder("utf-8") | parsers.SGMLOP(encoding="utf-8") | parsers.NS() | parsers.Instantiate()) 
    155155            ns.content.append(xnd.CharRef(entname, codepoint=ord(unicode(ent[0])[0]))) 
    156156