mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-28 07:21:26 +03:00
07cb8226c0
fixing bugs and migrating to SAX2 interface by default. There is some work letf TODO, like namespace validation and attributes normalization (this break C14N right now) * Makefile.am: fixed the test rules * include/libxml/SAX2.h include/libxml/parser.h include/libxml/parserInternals.h SAX2.c parser.c parserInternals.c: changing the parser, migrating to SAX2, adding new interface to switch back to SAX1 or initialize a SAX block for v1 or v2. Most of the namespace work is done below SAX, as well as attribute defaulting * globals.c: changed initialization of the default SAX handlers * hash.c tree.c include/libxml/hash.h: added QName specific handling * xmlIO.c: small fix * xmllint.c testSAX.c: provide a --sax1 switch to test the old version code path * result/p3p result/p3p.sax result/noent/p3p test/p3p: the new code pointed out a typo in a very old test namespace Daniel
20 lines
805 B
XML
20 lines
805 B
XML
<?xml version="1.0"?>
|
|
<RDF:RDF xmlns:p3p="http://www.w3.org/TR/1998/WD-P3P10-syntax#proposal.DTD" xmlns:RDF="http://www.w3.org/TR/WD-rdf-syntax#">
|
|
<PROP realm="http://www.CoolCatalog.com/catalogue/" entity="CoolCatalog" agreeID="94df1293a3e519bb" assurance="http://www.TrustUs.org">
|
|
<USES>
|
|
<STATEMENT purp="2,3" recpnt="0" id="0" consq="a site with clothes you'd appreciate.">
|
|
<WITH><PREFIX name="User.">
|
|
<REF name="Name.First"/>
|
|
<REF name="Bdate.Year" optional="1"/>
|
|
<REF name="Gender"/>
|
|
</PREFIX></WITH>
|
|
</STATEMENT>
|
|
</USES>
|
|
<USES>
|
|
<STATEMENT action="read&write" purp="0" recpnt="0" id="1">
|
|
<REF name="User.Shipping."/>
|
|
</STATEMENT>
|
|
</USES>
|
|
<DISCLOSURE discURI="http://www.CoolCatalog.com/PrivacyPractice.html" access="3" other="0,1"/>
|
|
</PROP></RDF:RDF>
|