This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xs:element name="collation"> | |
<xs:complexType> | |
<xs:choice> | |
<xs:element ref="alias"/> | |
<xs:sequence> | |
<xs:element minOccurs="0" ref="base"/> | |
<xs:element minOccurs="0" ref="settings"/> | |
<xs:element minOccurs="0" ref="suppress_contractions"/> | |
<xs:element minOccurs="0" ref="optimize"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{type,collation,sequence, | |
[{el,[{alt,suppress_contractions,'collation/SEQ1',[],1,1,false, | |
undefined}, | |
{alt,special,'collation/SEQ1',[],1,1,false,undefined}, | |
{alt,settings,'collation/SEQ1',[],1,1,false,undefined}, | |
{alt,rules,'collation/SEQ1',[],1,1,false,undefined}, | |
{alt,optimize,'collation/SEQ1',[],1,1,false,undefined}, | |
{alt,base,'collation/SEQ1',[],1,1,false,undefined}, | |
{alt,alias,alias,[],1,1,true,undefined}], | |
1,1,7}], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd"> | |
<ldml> | |
<identity> | |
<version number="$Revision: 5868 $"/> | |
<generation date="$Date: 2011-05-09 01:14:55 -0500 (Mon, 09 May 2011) $"/> | |
<language type="root" /> | |
</identity> | |
<collations validSubLocales="chr chr_US ee ee_GH ee_TG ga ga_IE id id_ID it it_CH it_IT ka ka_GE ky ky_KG ms ms_BN ms_MY nl nl_AW nl_BE nl_NL pt pt_AO pt_BR pt_GW pt_MZ pt_PT pt_ST st st_LS st_ZA sw sw_KE sw_TZ xh xh_ZA zu zu_ZA"> | |
<default type="standard"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> | |
<xs:element name="ldml"> | |
<xs:complexType> | |
<xs:choice> | |
<xs:element name="alias" /> | |
<xs:sequence> | |
<xs:element minOccurs="0" name="identity" /> | |
<xs:element minOccurs="0" name="identity2" /> | |
</xs:sequence> | |
</xs:choice> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> | |
<xs:element name="ldml"> | |
<xs:complexType> | |
<xs:choice> | |
<xs:sequence> | |
<xs:element minOccurs="0" name="identity" /> | |
<xs:element minOccurs="0" name="identity2" /> | |
</xs:sequence> | |
</xs:choice> | |
<xs:attribute name="type" default="standard" type="xs:NMTOKEN"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd"> | |
<ldml> | |
</ldml> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ok, TB} = file:read_file("test.xml"). | |
{ok, TM} = erlsom:compile_xsd_file("test.xsd"). | |
erlsom:scan(TB, TM). | |
{error,[{exception,{error,"Missing element before end-tag: ldml"}}, | |
{stack,[ldml]}, | |
{received,{endElement,[],"ldml",[]}}]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
******************************************************************************* | |
* Copyright (C) 1996-2011, International Business Machines Corporation and | |
* others. All Rights Reserved. | |
******************************************************************************* | |
*/ | |
package com.ibm.icu.text; | |
import java.io.IOException; | |
import java.text.ParseException; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Eshell V5.8.4 (abort with ^G) | |
1> c(tcp_proxy, [debug_info, export_all]). | |
{ok,tcp_proxy} | |
2> fprof:apply(tcp_proxy, dump_binary, [1,<<"Test 3">>]). | |
[["000",49], | |
58,32, | |
["000",48], | |
58,32, | |
["54 65 73 74 20 33 ", | |
[32,[32," ",32,32,32],32," ",32,32,32], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-module(decode_string). | |
-compile(export_all). | |
%% decode a single null-terminated string | |
new_decode_string(Bin) -> | |
Idx = first(Bin, 0), | |
<<H:Idx/binary, _, T/binary>> = Bin, | |
{H, T}. | |
first(<<X, T/binary>>, Idx) -> |
OlderNewer