version	U12.1.00
uid	canonicalxmlformatter.u1-1786291436-0
record	xml__CanonicalXmlFormatter__state,6
	0,__s
	1,__m
	2,indent
	3,no_whitespace
	4,text_trim
	5,as_read
record	xml__CanonicalXmlFormatter__methods,19
	0,format_cdata
	1,format_document
	2,format_doctype
	3,format_element
	4,format_pi
	5,set_indent
	6,set_no_whitespace
	7,clear_no_whitespace
	8,set_text_trim
	9,clear_text_trim
	10,set_as_read
	11,clear_as_read
	12,format_content
	13,format_comment
	14,get_children
	15,format_xmldecl
	16,format
	17,xml__XmlFormatter
	18,xml__Formatter
impl	local
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/xmlformatter.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/formatter.u
global	12
	0,000005,xml__CanonicalXmlFormatter_format_cdata,3
	1,000005,xml__CanonicalXmlFormatter_format_document,3
	2,000005,xml__CanonicalXmlFormatter_format_doctype,3
	3,000005,xml__CanonicalXmlFormatter_format_element,3
	4,000005,xml__CanonicalXmlFormatter_format_pi,3
	5,000011,xml__CanonicalXmlFormatter__state,6
	6,000011,xml__CanonicalXmlFormatter__methods,19
	7,000001,xml__CanonicalXmlFormatter__oprec,0
	8,000001,xml__XmlFormatter__oprec,0
	9,000001,xml__Formatter__oprec,0
	10,000005,xml__CanonicalXmlFormatter,4
	11,000005,xml__CanonicalXmlFormatterinitialize,0

proc xml__CanonicalXmlFormatter_format_cdata
	local	0,001000,self
	local	1,001000,n
	local	2,001000,level
	local	3,000000,xml__xml_escape
	con	0,020000,7,012,015,011,046,074,076,042
	declend
	filen	canonicalxmlformatter.icn
	line	16
	colm	11
	synt	any
	mark	L1
	mark	L2
	var	3
	pnull
	var	1
	line	17
	colm	31
	synt	any
	field	content
	cset	0
	line	17
	colm	29
	synt	any
	invoke	2
	line	17
	colm	7
	synt	any
	pret
lab L2
	synt	any
	pfail
	unmark
lab L1
	pnull
	line	18
	colm	1
	synt	any
	pfail
	end
proc xml__CanonicalXmlFormatter_format_document
	local	0,001000,self
	local	1,001000,n
	local	2,001000,level
	local	3,000020,s
	local	4,000020,el
	con	0,010000,0
	con	1,010000,7,144,157,143,164,171,160,145
	con	2,010000,2,160,151
	con	3,010000,7,145,154,145,155,145,156,164
	con	4,002000,1,1
	declend
	line	20
	colm	11
	synt	any
	mark	L1
	pnull
	var	3
	str	0
	line	22
	colm	9
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	line	23
	colm	7
	synt	every
	mark0
	pnull
	var	4
	pnull
	pnull
	var	1
	line	23
	colm	21
	synt	any
	field	children
	line	23
	colm	19
	synt	any
	bang
	line	23
	colm	16
	synt	any
	asgn
	pop
	mark0
	line	24
	colm	10
	synt	if
	mark0
	pnull
	pnull
	var	4
	line	24
	colm	15
	synt	any
	field	get_type
	line	24
	colm	24
	synt	any
	invoke	0
	mark	L5
	str	1
	line	24
	colm	41
	synt	any
	esusp
	goto	L6
lab L5
	mark	L7
	str	2
	line	24
	colm	48
	synt	any
	esusp
	goto	L8
lab L7
	str	3
lab L8
lab L6
	line	24
	colm	27
	synt	any
	lexeq
	unmark
	pnull
	var	3
	dup
	pnull
	var	0
	line	25
	colm	24
	synt	any
	field	format
	var	4
	pnull
	var	2
	int	4
	line	25
	colm	40
	synt	any
	plus
	line	25
	colm	31
	synt	any
	invoke	2
	line	25
	colm	15
	synt	any
	cat
	asgn
	line	24
	colm	10
	synt	endif
	unmark
lab L3
	efail
lab L4
	line	23
	colm	7
	synt	endevery
	unmark
lab L2
	mark	L9
	mark	L10
	var	3
	line	27
	colm	7
	synt	any
	pret
lab L10
	synt	any
	pfail
	unmark
lab L9
	pnull
	line	28
	colm	1
	synt	any
	pfail
	end
proc xml__CanonicalXmlFormatter_format_doctype
	local	0,001000,self
	local	1,001000,n
	local	2,001000,level
	local	3,000020,s
	local	4,000020,x
	local	5,000000,sort
	con	0,002000,1,0
	con	1,010000,0
	con	2,010000,10,074,041,104,117,103,124,131,120,105,040
	con	3,010000,3,040,133,012
	con	4,010000,11,074,041,116,117,124,101,124,111,117,116,040
	con	5,002000,1,1
	con	6,010000,1,040
	con	7,002000,1,2
	con	8,010000,8,120,125,102,114,111,103,040,047
	con	9,010000,1,047
	con	10,010000,3,047,040,047
	con	11,010000,8,123,131,123,124,105,115,040,047
	con	12,010000,2,076,012
	con	13,010000,3,135,076,012
	declend
	line	30
	colm	11
	synt	any
	mark	L1
	line	33
	colm	7
	synt	if
	mark0
	pnull
	pnull
	pnull
	pnull
	var	1
	line	33
	colm	12
	synt	any
	field	parent
	line	33
	colm	19
	synt	any
	field	notation_declarations
	line	33
	colm	10
	synt	any
	size
	int	0
	line	33
	colm	42
	synt	any
	numeq
	unmark
	mark	L2
	str	1
	line	34
	colm	10
	synt	any
	pret
lab L2
	synt	any
	pfail
	line	33
	colm	7
	synt	endif
	unmark
lab L1
	mark	L3
	pnull
	var	3
	pnull
	str	2
	pnull
	var	1
	line	36
	colm	29
	synt	any
	field	name
	line	36
	colm	25
	synt	any
	cat
	line	36
	colm	9
	synt	any
	asgn
	unmark
lab L3
	mark	L4
	pnull
	var	3
	dup
	str	3
	line	37
	colm	9
	synt	any
	cat
	asgn
	unmark
lab L4
	mark	L5
	line	38
	colm	7
	synt	every
	mark0
	pnull
	var	4
	pnull
	var	5
	pnull
	pnull
	var	1
	line	38
	colm	25
	synt	any
	field	parent
	line	38
	colm	32
	synt	any
	field	notation_declarations
	line	38
	colm	23
	synt	any
	invoke	1
	line	38
	colm	18
	synt	any
	bang
	line	38
	colm	15
	synt	any
	asgn
	pop
	mark0
	mark	L8
	pnull
	var	3
	dup
	pnull
	pnull
	str	4
	pnull
	var	4
	int	5
	line	39
	colm	35
	synt	any
	subsc
	line	39
	colm	31
	synt	any
	cat
	str	6
	line	39
	colm	39
	synt	any
	cat
	line	39
	colm	12
	synt	any
	cat
	asgn
	unmark
lab L8
	mark	L9
	line	40
	colm	10
	synt	ifelse
	mark	L10
	pnull
	pnull
	pnull
	var	4
	int	7
	line	40
	colm	15
	synt	any
	subsc
	line	40
	colm	18
	synt	any
	field	public_id
	line	40
	colm	13
	synt	any
	nonnull
	unmark
	pnull
	var	3
	dup
	pnull
	pnull
	str	8
	pnull
	pnull
	var	4
	int	7
	line	41
	colm	36
	synt	any
	subsc
	line	41
	colm	39
	synt	any
	field	public_id
	line	41
	colm	32
	synt	any
	cat
	str	9
	line	41
	colm	50
	synt	any
	cat
	line	41
	colm	15
	synt	any
	cat
	asgn
	goto	L11
lab L10
	line	43
	colm	13
	synt	ifelse
	mark	L12
	pnull
	pnull
	pnull
	pnull
	var	4
	int	7
	line	43
	colm	18
	synt	any
	subsc
	line	43
	colm	21
	synt	any
	field	external_id
	line	43
	colm	33
	synt	any
	field	public_id
	line	43
	colm	16
	synt	any
	nonnull
	unmark
	pnull
	var	3
	dup
	pnull
	pnull
	pnull
	pnull
	str	8
	pnull
	pnull
	pnull
	var	4
	int	7
	line	44
	colm	39
	synt	any
	subsc
	line	44
	colm	42
	synt	any
	field	external_id
	line	44
	colm	54
	synt	any
	field	public_id
	line	44
	colm	35
	synt	any
	cat
	str	10
	line	44
	colm	65
	synt	any
	cat
	pnull
	pnull
	pnull
	var	4
	int	7
	line	44
	colm	80
	synt	any
	subsc
	line	44
	colm	83
	synt	any
	field	external_id
	line	44
	colm	95
	synt	any
	field	system_id
	line	44
	colm	76
	synt	any
	cat
	str	9
	line	44
	colm	106
	synt	any
	cat
	line	44
	colm	18
	synt	any
	cat
	asgn
	goto	L13
lab L12
	pnull
	var	3
	dup
	pnull
	pnull
	str	11
	pnull
	pnull
	pnull
	var	4
	int	7
	line	46
	colm	39
	synt	any
	subsc
	line	46
	colm	42
	synt	any
	field	external_id
	line	46
	colm	54
	synt	any
	field	system_id
	line	46
	colm	35
	synt	any
	cat
	str	9
	line	46
	colm	65
	synt	any
	cat
	line	46
	colm	18
	synt	any
	cat
	asgn
lab L13
	line	43
	colm	13
	synt	endifelse
lab L11
	line	40
	colm	10
	synt	endifelse
	unmark
lab L9
	pnull
	var	3
	dup
	str	12
	line	48
	colm	12
	synt	any
	cat
	asgn
	unmark
lab L6
	efail
lab L7
	line	38
	colm	7
	synt	endevery
	unmark
lab L5
	mark	L14
	mark	L15
	pnull
	var	3
	str	13
	line	50
	colm	16
	synt	any
	cat
	line	50
	colm	7
	synt	any
	pret
lab L15
	synt	any
	pfail
	unmark
lab L14
	pnull
	line	51
	colm	1
	synt	any
	pfail
	end
proc xml__CanonicalXmlFormatter_format_element
	local	0,001000,self
	local	1,001000,n
	local	2,001000,level
	local	3,000020,s
	local	4,000020,x
	local	5,000020,e
	local	6,000000,sort
	local	7,000000,xml__xml_escape
	local	8,000000,string
	con	0,010000,1,074
	con	1,002000,1,0
	con	2,010000,1,040
	con	3,002000,1,1
	con	4,010000,2,075,042
	con	5,002000,1,2
	con	6,020000,7,012,015,011,046,074,076,042
	con	7,010000,2,042,040
	con	8,010000,0
	con	9,010000,1,076
	con	10,010000,7,143,157,155,155,145,156,164
	con	11,010000,2,074,057
	declend
	line	53
	colm	11
	synt	any
	mark	L1
	pnull
	var	3
	pnull
	str	0
	pnull
	var	1
	line	56
	colm	20
	synt	any
	field	name
	line	56
	colm	16
	synt	any
	cat
	line	56
	colm	9
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	line	57
	colm	7
	synt	if
	mark0
	pnull
	pnull
	pnull
	var	1
	line	57
	colm	12
	synt	any
	field	attributes
	line	57
	colm	10
	synt	any
	size
	int	1
	line	57
	colm	24
	synt	any
	numgt
	unmark
	mark	L3
	pnull
	var	3
	dup
	str	2
	line	58
	colm	12
	synt	any
	cat
	asgn
	unmark
lab L3
	mark	L4
	line	59
	colm	10
	synt	every
	mark0
	pnull
	var	4
	pnull
	var	6
	pnull
	var	1
	line	59
	colm	28
	synt	any
	field	attributes
	line	59
	colm	26
	synt	any
	invoke	1
	line	59
	colm	21
	synt	any
	bang
	line	59
	colm	18
	synt	any
	asgn
	pop
	mark0
	pnull
	var	3
	dup
	pnull
	pnull
	pnull
	pnull
	var	4
	int	3
	line	60
	colm	21
	synt	any
	subsc
	str	4
	line	60
	colm	25
	synt	any
	cat
	var	7
	pnull
	var	4
	int	5
	line	60
	colm	54
	synt	any
	subsc
	cset	6
	line	60
	colm	52
	synt	any
	invoke	2
	line	60
	colm	34
	synt	any
	cat
	str	7
	line	60
	colm	72
	synt	any
	cat
	line	60
	colm	15
	synt	any
	cat
	asgn
	unmark
lab L5
	efail
lab L6
	line	59
	colm	10
	synt	endevery
	unmark
lab L4
	pnull
	pnull
	var	3
	pnull
	int	3
	line	62
	colm	12
	synt	any
	neg
	line	62
	colm	11
	synt	any
	subsc
	str	8
	line	62
	colm	16
	synt	any
	asgn
	line	57
	colm	7
	synt	endif
	unmark
lab L2
	mark	L7
	pnull
	var	3
	dup
	str	9
	line	64
	colm	9
	synt	any
	cat
	asgn
	unmark
lab L7
	mark	L8
	line	65
	colm	7
	synt	every
	mark0
	pnull
	var	5
	pnull
	pnull
	var	1
	line	65
	colm	20
	synt	any
	field	children
	line	65
	colm	18
	synt	any
	bang
	line	65
	colm	15
	synt	any
	asgn
	pop
	mark0
	line	66
	colm	10
	synt	ifelse
	mark	L11
	var	8
	var	5
	line	66
	colm	19
	synt	any
	invoke	1
	unmark
	pnull
	var	3
	dup
	var	7
	var	5
	cset	6
	line	67
	colm	35
	synt	any
	invoke	2
	line	67
	colm	15
	synt	any
	cat
	asgn
	goto	L12
lab L11
	line	68
	colm	15
	synt	if
	mark0
	pnull
	pnull
	var	5
	line	68
	colm	19
	synt	any
	field	get_type
	line	68
	colm	28
	synt	any
	invoke	0
	str	10
	line	68
	colm	31
	synt	any
	lexne
	unmark
	pnull
	var	3
	dup
	pnull
	var	0
	line	69
	colm	24
	synt	any
	field	format
	var	5
	pnull
	var	2
	int	3
	line	69
	colm	39
	synt	any
	plus
	line	69
	colm	31
	synt	any
	invoke	2
	line	69
	colm	15
	synt	any
	cat
	asgn
	line	68
	colm	15
	synt	endif
lab L12
	line	66
	colm	10
	synt	endifelse
	unmark
lab L9
	efail
lab L10
	line	65
	colm	7
	synt	endevery
	unmark
lab L8
	mark	L13
	pnull
	var	3
	dup
	pnull
	pnull
	str	11
	pnull
	var	1
	line	71
	colm	23
	synt	any
	field	name
	line	71
	colm	19
	synt	any
	cat
	str	9
	line	71
	colm	29
	synt	any
	cat
	line	71
	colm	9
	synt	any
	cat
	asgn
	unmark
lab L13
	mark	L14
	mark	L15
	var	3
	line	73
	colm	7
	synt	any
	pret
lab L15
	synt	any
	pfail
	unmark
lab L14
	pnull
	line	74
	colm	1
	synt	any
	pfail
	end
proc xml__CanonicalXmlFormatter_format_pi
	local	0,001000,self
	local	1,001000,n
	local	2,001000,level
	local	3,000020,s
	con	0,010000,2,074,077
	con	1,010000,1,040
	con	2,010000,2,077,076
	declend
	line	76
	colm	11
	synt	any
	mark	L1
	pnull
	var	3
	pnull
	pnull
	str	0
	pnull
	var	1
	line	78
	colm	21
	synt	any
	field	target
	line	78
	colm	17
	synt	any
	cat
	str	1
	line	78
	colm	29
	synt	any
	cat
	line	78
	colm	9
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	line	79
	colm	7
	synt	if
	mark0
	pnull
	pnull
	var	1
	line	79
	colm	12
	synt	any
	field	content
	line	79
	colm	10
	synt	any
	nonnull
	unmark
	pnull
	var	3
	dup
	pnull
	var	1
	line	80
	colm	18
	synt	any
	field	content
	line	80
	colm	12
	synt	any
	cat
	asgn
	line	79
	colm	7
	synt	endif
	unmark
lab L2
	mark	L3
	mark	L4
	pnull
	var	3
	str	2
	line	81
	colm	16
	synt	any
	cat
	line	81
	colm	7
	synt	any
	pret
lab L4
	synt	any
	pfail
	unmark
lab L3
	pnull
	line	82
	colm	1
	synt	any
	pfail
	end
proc xml__CanonicalXmlFormatter
	local	0,001000,indent
	local	1,001000,no_whitespace
	local	2,001000,text_trim
	local	3,001000,as_read
	local	4,000020,self
	local	5,000020,clone
	local	6,000000,xml__CanonicalXmlFormatter__oprec
	local	7,000000,xml__CanonicalXmlFormatterinitialize
	local	8,000000,xml__XmlFormatter__oprec
	local	9,000000,xml__XmlFormatterinitialize
	local	10,000000,xml__Formatter__oprec
	local	11,000000,xml__Formatterinitialize
	local	12,000000,xml__CanonicalXmlFormatter__state
	declend
	filen	__faux.icn
	line	5
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	mark	L4
	line	8
	colm	3
	synt	if
	mark0
	pnull
	var	6
	line	8
	colm	6
	synt	any
	null
	unmark
	var	7
	line	8
	colm	82
	synt	any
	invoke	0
	line	8
	colm	3
	synt	endif
	unmark
lab L4
	mark	L5
	line	9
	colm	3
	synt	if
	mark0
	pnull
	var	8
	line	9
	colm	6
	synt	any
	null
	unmark
	var	9
	line	9
	colm	64
	synt	any
	invoke	0
	line	9
	colm	3
	synt	endif
	unmark
lab L5
	mark	L6
	pnull
	pnull
	var	6
	line	10
	colm	36
	synt	any
	field	xml__XmlFormatter
	var	8
	line	10
	colm	55
	synt	any
	asgn
	unmark
lab L6
	mark	L7
	line	11
	colm	3
	synt	if
	mark0
	pnull
	var	10
	line	11
	colm	6
	synt	any
	null
	unmark
	var	11
	line	11
	colm	58
	synt	any
	invoke	0
	line	11
	colm	3
	synt	endif
	unmark
lab L7
	pnull
	pnull
	var	6
	line	12
	colm	36
	synt	any
	field	xml__Formatter
	var	10
	line	12
	colm	52
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L8
	pnull
	var	4
	var	12
	line	14
	colm	45
	synt	any
	keywd	null
	var	6
	var	0
	var	1
	var	2
	var	3
	line	14
	colm	44
	synt	any
	invoke	6
	line	14
	colm	8
	synt	any
	asgn
	unmark
lab L8
	mark	L9
	pnull
	pnull
	var	4
	line	15
	colm	7
	synt	any
	field	__s
	var	4
	line	15
	colm	12
	synt	any
	asgn
	unmark
lab L9
	mark	L10
	mark	L11
	var	4
	line	16
	colm	3
	synt	any
	pret
lab L11
	synt	any
	pfail
	unmark
lab L10
	pnull
	line	17
	colm	1
	synt	any
	pfail
	end
proc xml__CanonicalXmlFormatterinitialize
	local	0,000000,xml__CanonicalXmlFormatter__oprec
	local	1,000000,xml__CanonicalXmlFormatter__methods
	local	2,000000,xml__CanonicalXmlFormatter_format_cdata
	local	3,000000,xml__CanonicalXmlFormatter_format_document
	local	4,000000,xml__CanonicalXmlFormatter_format_doctype
	local	5,000000,xml__CanonicalXmlFormatter_format_element
	local	6,000000,xml__CanonicalXmlFormatter_format_pi
	local	7,000000,xml__XmlFormatter_set_indent
	local	8,000000,xml__XmlFormatter_set_no_whitespace
	local	9,000000,xml__XmlFormatter_clear_no_whitespace
	local	10,000000,xml__XmlFormatter_set_text_trim
	local	11,000000,xml__XmlFormatter_clear_text_trim
	local	12,000000,xml__XmlFormatter_set_as_read
	local	13,000000,xml__XmlFormatter_clear_as_read
	local	14,000000,xml__XmlFormatter_format_content
	local	15,000000,xml__XmlFormatter_format_comment
	local	16,000000,xml__XmlFormatter_get_children
	local	17,000000,xml__XmlFormatter_format_xmldecl
	local	18,000000,xml__Formatter_format
	declend
	line	19
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	0
	var	1
	var	2
	var	3
	var	4
	var	5
	var	6
	var	7
	var	8
	var	9
	var	10
	var	11
	var	12
	var	13
	var	14
	var	15
	var	16
	var	17
	var	18
	line	20
	colm	83
	synt	any
	invoke	17
	line	20
	colm	45
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	line	21
	colm	1
	synt	any
	pfail
	end
