mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-13 13:17:36 +03:00
3b7840cd6c
* parser.c parserInternals.c tree.c include/libxml/parser.h include/libxml/xmlerror.h: adding namespace checkings while making sure they still parse as wellformed documents. Add an nsWellFormed status report to the context, and provide new appropriate error codes. * Makefile.am result/namespaces/* test/namespaces/*: add specific regression testing for the new namespace support * test/att5 result/noent/att5 result/att5 result/att5.sax: add more coverage for the attribute parsing and normalization code. Daniel
169 lines
3.5 KiB
Plaintext
169 lines
3.5 KiB
Plaintext
SAX.setDocumentLocator()
|
|
SAX.startDocument()
|
|
SAX.internalSubset(doc, , )
|
|
SAX.attributeDecl(normId, attr, 8, 3, NULL, ...)
|
|
SAX.externalSubset(doc, , )
|
|
SAX.startElement(doc)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.comment( no normalization )
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(norm, attr=' ')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(norm, attr=' foo bar ')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(norm, attr=' foobar')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(norm, attr=' foo bar ')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(norm, attr='foobar ')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.getEntity(amp)
|
|
SAX.startElement(norm, attr=' & ')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.getEntity(amp)
|
|
SAX.startElement(norm, attr=' foo&bar ')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.getEntity(amp)
|
|
SAX.startElement(norm, attr=' foobar&')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.getEntity(amp)
|
|
SAX.startElement(norm, attr='&foo bar ')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.getEntity(amp)
|
|
SAX.startElement(norm, attr='foobar &')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.getEntity(lt)
|
|
SAX.startElement(norm, attr=' < ')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.getEntity(lt)
|
|
SAX.startElement(norm, attr=' foo<bar ')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.getEntity(lt)
|
|
SAX.startElement(norm, attr=' foobar<')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.getEntity(lt)
|
|
SAX.startElement(norm, attr='<foo bar ')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.getEntity(lt)
|
|
SAX.startElement(norm, attr='foobar <')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(norm, attr='
|
|
')
|
|
SAX.endElement(norm)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.comment( normalization )
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(normId, attr=' ')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(normId, attr=' foo bar ')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(normId, attr=' foobar')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(normId, attr=' foo bar ')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(normId, attr='foobar ')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.getEntity(amp)
|
|
SAX.startElement(normId, attr=' & ')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.getEntity(amp)
|
|
SAX.startElement(normId, attr=' foo&bar ')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.getEntity(amp)
|
|
SAX.startElement(normId, attr=' foobar&')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.getEntity(amp)
|
|
SAX.startElement(normId, attr='&foo bar ')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.getEntity(amp)
|
|
SAX.startElement(normId, attr='foobar &')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.getEntity(lt)
|
|
SAX.startElement(normId, attr=' < ')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.getEntity(lt)
|
|
SAX.startElement(normId, attr=' foo<bar ')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.getEntity(lt)
|
|
SAX.startElement(normId, attr=' foobar<')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.getEntity(lt)
|
|
SAX.startElement(normId, attr='<foo bar ')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.getEntity(lt)
|
|
SAX.startElement(normId, attr='foobar <')
|
|
SAX.endElement(normId)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(normId, attr='
|
|
')
|
|
SAX.endElement(normId)
|
|
SAX.characters( , 1)
|
|
SAX.comment( PBM serializing back )
|
|
SAX.characters(
|
|
, 1)
|
|
SAX.endElement(doc)
|
|
SAX.endDocument()
|