SourceForge.net | 1 Mar 2003 02:32
Picon
Favicon

[ expat-Bugs-695401 ] Unbound prefixes not rejected

Bugs item #695401, was opened at 2003-02-28 20:32
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=695401&group_id=10127

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Karl Waclawek (kwaclaw)
Assigned to: Karl Waclawek (kwaclaw)
Summary: Unbound prefixes not rejected

Initial Comment:
When namespace processing is turned on then
unbound prefixes are illegal according to
the Namespaces for XML 1.0 specification, section 4,
paragraph "Namespace Constraint: Prefix Declared".

However, Expat does not reject the following two 
documents:

<?xml version="1.0"?>
<!-- Unbound element prefix -->
<a:foo/>

<?xml version="1.0"?>
<!-- Unbound attribute prefix -->
<foo a:attr="1"/>

(Continue reading)

SourceForge.net | 1 Mar 2003 02:35
Picon
Favicon

[ expat-Bugs-676844 ] expat.h compile error: enum XML_Status

Bugs item #676844, was opened at 2003-01-29 07:37
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=676844&group_id=10127

Category: Build control
Group: None
Status: Open
Resolution: Fixed
Priority: 3
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: expat.h compile error: enum XML_Status

Initial Comment:
c++ -DHAVE_CONFIG_H -I. -I. -I../../autocfg -g -O2 -c
context.cpp  -fPIC -DPIC -o .libs/context.lo
In file included from parser.h:45,
                 from guard.h:143,
                 from context.cpp:45:
/usr/include/expat.h:657: use of enum `XML_Status'
without previous declaration
/usr/include/expat.h:736: multiple definition of `enum
XML_Status'

when building sablotron.

Hand editing the file to place the def of enum
XML_Status before any references to it fixes the problem.

----------------------------------------------------------------------
(Continue reading)

SourceForge.net | 1 Mar 2003 02:46
Picon
Favicon

[ expat-Bugs-695407 ] Reserved prefixes and namespace names

Bugs item #695407, was opened at 2003-02-28 20:46
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=695407&group_id=10127

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Karl Waclawek (kwaclaw)
Assigned to: Karl Waclawek (kwaclaw)
Summary: Reserved prefixes and namespace names

Initial Comment:
Expat does not reject illegal declarations for reserved 
prefixes and namespace names. From the errata
for the Namespaces in XML 1.0 specs:
<quote>
The prefix xml is by definition bound to the namespace 
name http://www.w3.org/XML/1998/namespace. It may, 
but need not, be declared, and must not be bound to 
any other namespace name. No other prefix may be 
bound to this namespace name. 

The prefix xmlns is used only to declare namespace 
bindings and is by definition bound to the namespace 
name http://www.w3.org/2000/xmlns/. It must not be 
declared. No other prefix may be bound to this 
namespace name. 
</quote>
(Continue reading)

SourceForge.net | 1 Mar 2003 03:03
Picon
Favicon

[ expat-Bugs-676844 ] expat.h compile error: enum XML_Status

Bugs item #676844, was opened at 2003-01-29 10:37
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=676844&group_id=10127

Category: Build control
Group: None
Status: Open
Resolution: Fixed
Priority: 3
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: expat.h compile error: enum XML_Status

Initial Comment:
c++ -DHAVE_CONFIG_H -I. -I. -I../../autocfg -g -O2 -c
context.cpp  -fPIC -DPIC -o .libs/context.lo
In file included from parser.h:45,
                 from guard.h:143,
                 from context.cpp:45:
/usr/include/expat.h:657: use of enum `XML_Status'
without previous declaration
/usr/include/expat.h:736: multiple definition of `enum
XML_Status'

when building sablotron.

Hand editing the file to place the def of enum
XML_Status before any references to it fixes the problem.

----------------------------------------------------------------------
(Continue reading)

SourceForge.net | 1 Mar 2003 15:25
Picon
Favicon

[ expat-Bugs-692878 ] FASTCALL problem with Solars/gcc

Bugs item #692878, was opened at 2003-02-25 08:27
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=692878&group_id=10127

Category: None
Group: Platform Specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Rolf Ade (pointsman)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: FASTCALL problem with Solars/gcc

Initial Comment:

Talking about 1.95.6 (of course, prior to that, the
FASTCALL macro was a noop, if I recall right).

I got two independend reports about compiler warnings,
while compiling expat with gcc under Solaris. The one
specified his gcc version (2.7.2.3) without saying the
exact Solaris Version, the other uses Solaris 2.6 and a
not specified gcc version. Both get plenty of similar
warning like this:

In file included from ../expat/xmlrole.h:14,
                 from ../expat/xmlrole.c:14:
../expat/xmltok.h:143: warning: `regparm' attribute
directive ignored
../expat/xmltok.h:144: warning: `regparm' attribute
(Continue reading)

SourceForge.net | 1 Mar 2003 17:47
Picon
Favicon

[ expat-Bugs-692964 ] Case where expat 1.95.6 doesn't report duplicate attributes.

Bugs item #692964, was opened at 2003-02-25 10:28
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=692964&group_id=10127

Category: None
Group: None
Status: Open
Resolution: Accepted
Priority: 5
Submitted By: Mark E. (snowballville)
Assigned to: Karl Waclawek (kwaclaw)
Summary: Case where expat 1.95.6 doesn't report duplicate attributes.

Initial Comment:
I believe I found a bug in the Expat parser in
detecting duplicate attributes when using namespaces.
I'm using Expat 1.95.6 with PyXML 0.8.2.

Section 6.3 of the Namespaces 1.1 recommendation
requires that no element have two attributes with the
same expanded name. Expat 1.95.6 does indeed report a
duplicate attribute error with the example given in
that section of the document:
<?xml version="1.1"?>
<x xmlns:n1="http://www.w3.org" 
   xmlns:n2="http://www.w3.org" >
  <bad a="1"     a="2" />
  <bad n1:a="1"  n2:a="2" />
</x>

(Continue reading)

SourceForge.net | 3 Mar 2003 20:36
Picon
Favicon

[ expat-Bugs-692964 ] Case where expat 1.95.6 doesn't report duplicate attributes.

Bugs item #692964, was opened at 2003-02-25 10:28
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=692964&group_id=10127

Category: None
Group: None
Status: Open
Resolution: Accepted
Priority: 5
Submitted By: Mark E. (snowballville)
>Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: Case where expat 1.95.6 doesn't report duplicate attributes.

Initial Comment:
I believe I found a bug in the Expat parser in
detecting duplicate attributes when using namespaces.
I'm using Expat 1.95.6 with PyXML 0.8.2.

Section 6.3 of the Namespaces 1.1 recommendation
requires that no element have two attributes with the
same expanded name. Expat 1.95.6 does indeed report a
duplicate attribute error with the example given in
that section of the document:
<?xml version="1.1"?>
<x xmlns:n1="http://www.w3.org" 
   xmlns:n2="http://www.w3.org" >
  <bad a="1"     a="2" />
  <bad n1:a="1"  n2:a="2" />
</x>

(Continue reading)

SourceForge.net | 3 Mar 2003 20:38
Picon
Favicon

[ expat-Bugs-695401 ] Unbound prefixes not rejected

Bugs item #695401, was opened at 2003-02-28 20:32
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=695401&group_id=10127

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Karl Waclawek (kwaclaw)
>Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: Unbound prefixes not rejected

Initial Comment:
When namespace processing is turned on then
unbound prefixes are illegal according to
the Namespaces for XML 1.0 specification, section 4,
paragraph "Namespace Constraint: Prefix Declared".

However, Expat does not reject the following two 
documents:

<?xml version="1.0"?>
<!-- Unbound element prefix -->
<a:foo/>

<?xml version="1.0"?>
<!-- Unbound attribute prefix -->
<foo a:attr="1"/>

(Continue reading)

SourceForge.net | 7 Mar 2003 12:20
Picon
Favicon

[ expat-Bugs-676844 ] expat.h compile error: enum XML_Status

Bugs item #676844, was opened at 2003-01-29 07:37
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=676844&group_id=10127

Category: Build control
Group: None
Status: Open
Resolution: Fixed
Priority: 3
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: expat.h compile error: enum XML_Status

Initial Comment:
c++ -DHAVE_CONFIG_H -I. -I. -I../../autocfg -g -O2 -c
context.cpp  -fPIC -DPIC -o .libs/context.lo
In file included from parser.h:45,
                 from guard.h:143,
                 from context.cpp:45:
/usr/include/expat.h:657: use of enum `XML_Status'
without previous declaration
/usr/include/expat.h:736: multiple definition of `enum
XML_Status'

when building sablotron.

Hand editing the file to place the def of enum
XML_Status before any references to it fixes the problem.

----------------------------------------------------------------------
(Continue reading)

SourceForge.net | 7 Mar 2003 12:24
Picon
Favicon

[ expat-Bugs-692878 ] FASTCALL problem with Solars/gcc

Bugs item #692878, was opened at 2003-02-25 13:27
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=692878&group_id=10127

Category: None
Group: Platform Specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Rolf Ade (pointsman)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: FASTCALL problem with Solars/gcc

Initial Comment:

Talking about 1.95.6 (of course, prior to that, the
FASTCALL macro was a noop, if I recall right).

I got two independend reports about compiler warnings,
while compiling expat with gcc under Solaris. The one
specified his gcc version (2.7.2.3) without saying the
exact Solaris Version, the other uses Solaris 2.6 and a
not specified gcc version. Both get plenty of similar
warning like this:

In file included from ../expat/xmlrole.h:14,
                 from ../expat/xmlrole.c:14:
../expat/xmltok.h:143: warning: `regparm' attribute
directive ignored
../expat/xmltok.h:144: warning: `regparm' attribute
(Continue reading)


Gmane