[Vortex] Error parsing vortex channel dtd from compiled code
Thomas, Dominic
dthomas at informatica.com
Thu May 8 16:53:05 CEST 2008
I've downloaded the vortex 1.0.14 source, and compiled it with axl
0.4.14.
My vortex_init() fails during the parsing of CHANNEL_DTD, with AXL_DEBUG
message:
> Unrecognied attr type declaration found, check your <!ATTLIST
declaration
If it can't parse its own internal DTD, I don't see what I can do about
it. Maybe I've accidentally got the wrong file version or missed a
configuration step or something?
More of the debug messages follow:
(proc 5368): (debug)axl-dtd: checking default value declaration, stream
status: ''i-default'> '
(proc 5368): (debug)axl-stream: found matching chunk: '"' length: 1
(proc 5368): (debug)axl-stream: remaining data to be inspected: 1410
bytes (stream->stream-size=1431, stream->stream-index=21)
(proc 5368): (debug)axl-dtd: finding next att declaration
(proc 5368): (debug)axl-stream: found matching chunk: ' ' length: 0
(proc 5368): (debug)axl-stream: remaining data to be inspected: 1410
bytes (stream->stream-size=1431, stream->stream-index=21)
(proc 5368): (debug)axl-stream: matched by white space value
matched_chunk=0
(proc 5368): (debug)axl-stream: matched_chunk=0
(proc 5368): (debug)axl-dtd: find constraint for attribute
name=i-default'>
(proc 5368): (debug)axl-dtd: checking constraint type..
(proc 5368): (debug)axl-stream: getting next characters from stream:
index=96 size=1431
(proc 5368): (debug)axl-dtd: about to check attr constraint type, stream
status: '<!ELEMENT start (profile'
(proc 5368): (debug)axl-stream: getting next characters from stream:
index=96 size=1431
(proc 5368): (critical) : (code: -1) Unrecognied attr type declaration
found, check your <!ATTLIST declaration
(proc 5368): (debug)axl-dtd: releasing the DTD reference
Unable to initialise vortex
The offending section of the DTD being processed looks like this:
<!ENTITY % CHAN 'CDATA'> \
<!ENTITY % URI 'CDATA'> \
<!ENTITY % FTRS 'NMTOKENS'> \
<!ENTITY % LANG 'NMTOKEN'> \
<!ENTITY % LOCS 'NMTOKEN'> \
<!ENTITY % XYZ 'CDATA'> \
\
<!ELEMENT greeting (profile)*> \
<!ATTLIST greeting \
features %FTRS; #IMPLIED \
localize %LOCS; 'i-default'> \
\
<!ELEMENT start (profile)+> \
<!ATTLIST start \
number %CHAN; #REQUIRED \
serverName CDATA #IMPLIED> \
\
-----------------
Dominic Thomas
Senior Software Engineer, Research & Development
Informatica, 6 Waltham Park, Waltham Road, White Waltham, Maidenhead,
Berkshire SL6 3TN
Email: dthomas at informatica.com
Direct: +44 (0)1628 511494 | Fax: +44 (0)1628 511411
Main: +44 (0)1628 511311 | www.informatica.com
Informatica Software Limited, a private limited company registered in
the United Kingdom, with the company number 03352679 and registered
office at Grenville Court, Britwell Road, Burnham, Bucks SL1 8DF.
-----------------
More information about the Vortex
mailing list