Bug#288149: trang: conversion from XML and attributes with a default value

2009-09-24 Thread Vincent Lefevre
retitle 288149 xmllint: RELAX NG validation fails due to default attribute value tags 288149 upstream forwarded 288149 https://bugzilla.gnome.org/show_bug.cgi?id=596184 thanks Note: I can reproduce the bug under Mac OS X. So, this is an upstream bug. -- Vincent Lefèvre - Web:

Bug#288149: trang: conversion from XML and attributes with a default value

2009-09-22 Thread Samuel Thibault
reassign 288149 libxml2-utils subscribe 288149 thanks Vincent Lefevre, le Wed 23 Sep 2009 01:07:58 +0200, a écrit : > On 2009-09-22 23:00:39 +0200, Samuel Thibault wrote: > > Mmm, I'm not sure I'm able to understand what this means (I'm not that > > into XML/DTDs). Does it mean you agree that thi

Bug#288149: trang: conversion from XML and attributes with a default value

2009-09-22 Thread Vincent Lefevre
On 2009-09-22 23:00:39 +0200, Samuel Thibault wrote: > Mmm, I'm not sure I'm able to understand what this means (I'm not that > into XML/DTDs). Does it mean you agree that this isn't a trang bug > actually, and possibly rather a bug in xmllint (in which case it should > be reassigned)? Yes, I thi

Bug#288149: trang: conversion from XML and attributes with a default value

2009-09-22 Thread Samuel Thibault
Vincent Lefevre, le Tue 22 Sep 2009 11:39:30 +0200, a écrit : > Yes, if I understand correctly, the RELAX NG spec requires > DTD processing: > etc. Mmm, I'm not sure I'm able to understand what this means (I'm not that into XML/DTDs). Does it mean you agree that this isn't a trang bug actually, a

Bug#288149: trang: conversion from XML and attributes with a default value

2009-09-22 Thread Vincent Lefevre
Yes, if I understand correctly, the RELAX NG spec requires DTD processing: http://www.relaxng.org/spec-20011203.html "It is possible for there to be multiple distinct infosets for a single XML document. This is because XML parsers are not required to process all DTD declarations or expand all ext

Bug#288149: trang: conversion from XML and attributes with a default value

2009-09-22 Thread Vincent Lefevre
Hi, On 2009-09-21 19:58:17 +0200, Samuel Thibault wrote: > See the upstream answer: > http://code.google.com/p/jing-trang/issues/detail?id=87 > > “This is a bug in xmllint. > > I guess --relaxng tells xmllint not to do any DTD processing, which is > not correct: it should at least do the minimum

Bug#288149: trang: conversion from XML and attributes with a default value

2009-09-21 Thread Samuel Thibault
Hello, Vincent Lefevre, le Sat 01 Jan 2005 23:20:33 +0100, a écrit : > In a conversion from an XML file, trang considers that an attribute > that has a default value is always present. This leads to invalid > files. For instance: > > ay:~> cat test.xml > > >type (text|number) "text" >