Bug#661297: html roundtrip example on man page

2012-04-20 Thread Alexander Holupirek

On 20.04.2012, at 04:04, jida...@jidanni.org wrote:

   o  Parse non well-formed HTML (needs libtagsoup-java installed):
 Say good HTML is fine too.
 
  $ cat bad.html
  html
ul
  liA
  liB
/ul
  /html
 
  $ basex -c 'set parser html; create db html bad.html'
 
 Did you have to use the exact db name 'html'? So confusing.
 
  $ basex -q doc('html')
  html xmlns=http://www.w3.org/1999/xhtml;
 
 Say there how to get rid of that xmlns=... or else one cannot do an exact 
 roundtrip.

Thanks for your suggestions. BaseX 7.2.1 will be released next week
by upstream, when packaging it, i'll add the man page updates.

Thanks,
Alex


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#661297: html roundtrip example on man page

2012-04-19 Thread jidanni
   o  Parse non well-formed HTML (needs libtagsoup-java installed):
Say good HTML is fine too.

  $ cat bad.html
  html
ul
  liA
  liB
/ul
  /html

  $ basex -c 'set parser html; create db html bad.html'

Did you have to use the exact db name 'html'? So confusing.

  $ basex -q doc('html')
  html xmlns=http://www.w3.org/1999/xhtml;

Say there how to get rid of that xmlns=... or else one cannot do an exact 
roundtrip.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org