/usr/include/xmltooling/util/XMLConstants.h is in libxmltooling-dev 1.6.4-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | /**
* Licensed to the University Corporation for Advanced Internet
* Development, Inc. (UCAID) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* UCAID licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
* either express or implied. See the License for the specific
* language governing permissions and limitations under the License.
*/
/**
* @file xmltooling/util/XMLConstants.h
*
* Fundamental XML namespace constants.
*/
#ifndef __xmltooling_xmlconstants_h__
#define __xmltooling_xmlconstants_h__
#include <xmltooling/base.h>
#include <xercesc/util/XercesDefs.hpp>
/**
* XML related constants.
*/
namespace xmlconstants {
/** XML core namespace ("http://www.w3.org/XML/1998/namespace") */
extern XMLTOOL_API const XMLCh XML_NS[];
/** XML namespace prefix for special xml attributes ("xml") */
extern XMLTOOL_API const XMLCh XML_PREFIX[];
/** XML namespace for xmlns attributes ("http://www.w3.org/2000/xmlns/") */
extern XMLTOOL_API const XMLCh XMLNS_NS[];
/** XML namespace prefix for xmlns attributes ("xmlns") */
extern XMLTOOL_API const XMLCh XMLNS_PREFIX[];
/** XML Schema namespace ("http://www.w3.org/2001/XMLSchema") */
extern XMLTOOL_API const XMLCh XSD_NS[];
/** XML Schema QName prefix ("xs") */
extern XMLTOOL_API const XMLCh XSD_PREFIX[];
/** XML Schema Instance namespace ("http://www.w3.org/2001/XMLSchema-instance") */
extern XMLTOOL_API const XMLCh XSI_NS[];
/** XML Schema Instance QName prefix ("xsi") */
extern XMLTOOL_API const XMLCh XSI_PREFIX[];
/** XML Signature namespace ("http://www.w3.org/2000/09/xmldsig#") */
extern XMLTOOL_API const XMLCh XMLSIG_NS[];
/** XML Signature QName prefix ("ds") */
extern XMLTOOL_API const XMLCh XMLSIG_PREFIX[];
/** XML Signature 1.1 namespace ("http://www.w3.org/2009/xmldsig11#") */
extern XMLTOOL_API const XMLCh XMLSIG11_NS[];
/** XML Signature 1.1 QName prefix ("ds11") */
extern XMLTOOL_API const XMLCh XMLSIG11_PREFIX[];
/** XML Encryption namespace ("http://www.w3.org/2001/04/xmlenc#") */
extern XMLTOOL_API const XMLCh XMLENC_NS[];
/** XML Encryption QName prefix ("xenc") */
extern XMLTOOL_API const XMLCh XMLENC_PREFIX[];
/** XML Encryption 1.1 namespace ("http://www.w3.org/2009/xmlenc11#") */
extern XMLTOOL_API const XMLCh XMLENC11_NS[];
/** XML Encryption 1.1 QName prefix ("xenc11") */
extern XMLTOOL_API const XMLCh XMLENC11_PREFIX[];
/** SOAP 1.1 Envelope XML namespace ("http://schemas.xmlsoap.org/soap/envelope/") */
extern XMLTOOL_API const XMLCh SOAP11ENV_NS[];
/** SOAP 1.1 Envelope QName prefix ("S") */
extern XMLTOOL_API const XMLCh SOAP11ENV_PREFIX[];
/** XML Tooling namespace ("http://www.opensaml.org/xmltooling") */
extern XMLTOOL_API const XMLCh XMLTOOLING_NS[];
/** XML "true" boolean constant */
extern XMLTOOL_API const XMLCh XML_TRUE[];
/** XML "false" boolean constant */
extern XMLTOOL_API const XMLCh XML_FALSE[];
/** XML "1" boolean constant */
extern XMLTOOL_API const XMLCh XML_ONE[];
/** XML "0" boolean constant */
extern XMLTOOL_API const XMLCh XML_ZERO[];
/** Enumerations of the different values of a boolean attribute or element */
enum xmltooling_bool_t {
XML_BOOL_NULL,
XML_BOOL_TRUE,
XML_BOOL_FALSE,
XML_BOOL_ONE,
XML_BOOL_ZERO
};
};
#endif /* __xmltooling_xmlconstants_h__ */
|