1. markus.alexander@gmx.at

    28.04.2010

    0 ↑
    0 ↓
    Hi,

    any idea why the xml highlighter is failing at this xml document?
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Body>
    <ns0:returnOnAsbSstIdentifikation xmlns:ns0="http://www.telekom.at/eai/TASCapsulesResponse">
    <Header>
    <Transaktion>8217330</Transaktion>
    <Sourcesystem>Clarify</Sourcesystem>
    </Header>
    <Response>
    <GF_ID>O6888693:1786346481</GF_ID>
    <PROCESS_ID>8217330</PROCESS_ID>
    <TRAN_ID>8217330</TRAN_ID>
    <LOKATIONSID>272261</LOKATIONSID>
    <VERMITTLUNGSSTELLE>55</VERMITTLUNGSSTELLE>
    <KENNZAHL>1</KENNZAHL>
    <ZUSTAENDIGER_KDC>1411</ZUSTAENDIGER_KDC>
    <TEAM>09</TEAM>
    <SCHALTSTELLE>
    <RESSOURCEID>105473</RESSOURCEID>
    <SCHDBNR>54474</SCHDBNR>
    <NETZBEZIRK>5e1</NETZBEZIRK>
    <LV/>
    <KV>A</KV>
    <KA>4</KA>
    <SK/>
    </SCHALTSTELLE>
    <ICS_RETURN>
    <ICS_CODE>000</ICS_CODE>
    <ICS_TEXT>ON/ASB Identifizierung möglich</ICS_TEXT>
    </ICS_RETURN>
    </Response>
    </ns0:returnOnAsbSstIdentifikation>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    [/c
  2. Иван Сагалаев

    29.04.2010

    0 ↑
    0 ↓

    Hello!

    Yes, there is a known bug currently that doesn't let XML namespace prefix to have digits in them. I'll try to fix it on trunk sometime in the next month when time allows. The fix should be pretty straightforward: just adding digits into a regexp for tag names in html-xml.js. So you can fix it in your copy of highlight.js and not wait for me.

Внимание! Это довольно старый топик, посты в него не попадут в новые, и их никто не увидит. Пишите пост, если хотите просто дополнить топик, а чтобы задать новый вопрос — начните новый.