/* Copyright 2004 The Apache Software Foundation
*
* Licensed 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.
*/
package org.apache.xmlbeans;
public abstract class XmlErrorCodes
{
public static final int MISMATCHED_TARGET_NAMESPACE = 4;
public static final int CANNOT_FIND_RESOURCE = 56;
public static final int REDUNDANT_NESTED_TYPE = 7;
public static final int ELEMENT_MISSING_NAME = 8;
public static final int REDUNDANT_DEFAULT_FIXED = 9;
public static final int MODEL_GROUP_MISSING_NAME = 10;
public static final int ATTRIBUTE_GROUP_MISSING_NAME = 12;
public static final int CYCLIC_DEPENDENCY = 13;
public static final int FACET_DUPLICATED = 19;
public static final int FACET_VALUE_MALFORMED = 20;
public static final int MALFORMED_NUMBER = 21;
public static final int REDUNDANT_CONTENT_MODEL = 26;
public static final int MISSING_RESTRICTION_OR_EXTENSION = 27;
public static final int MISSING_BASE = 28;
public static final int ELEMENT_EXTRA_REF = 30;
public static final int EXPLICIT_GROUP_NEEDED = 32;
public static final int GROUP_MISSING_REF = 33;
public static final int DUPLICATE_ATTRIBUTE_NAME = 37;
public static final int DUPLICATE_ANY_ATTRIBUTE = 38;
public static final int ATTRIBUTE_GROUP_MISSING_REF = 39;
public static final int CANNOT_EXTEND_ALL = 42;
public static final int INVALID_SCHEMA = 46;
public static final int DUPLICATE_GLOBAL_ELEMENT = 47;
public static final int DUPLICATE_GLOBAL_ATTRIBUTE = 48;
public static final int DUPLICATE_GLOBAL_TYPE = 49;
public static final int MALFORMED_SIMPLE_TYPE_DEFN = 52;
public static final int INVALID_NAME = 53;
public static final int CANNOT_DERIVE_FINAL = 54;
public static final int IDC_NOT_FOUND = 55;
public static final int NONDETERMINISTIC_MODEL = 57;
public static final int XPATH_COMPILATION_FAILURE = 58;
public static final int DUPLICATE_IDENTITY_CONSTRAINT = 59;
public static final int ILLEGAL_RESTRICTION = 45;
public static final int INCONSISTENT_TYPE = 50;
/* general */
public static final int UNSUPPORTED_FEATURE = 51;
public static final int GENERIC_ERROR = 60;
//
// xmlbeans errors
//
public static final String INVALID_DOCUMENT_TYPE = "invalid.document.type";
public static final String CANNOT_LOAD_FILE = "cannot.load.file";
public static final String EXCEPTION_LOADING_URL = "exception.loading.url";
public static final String EXCEPTION_VALUE_NOT_SUPPORTED_J2S = "exception.value.not.supported.j2s";
public static final String EXCEPTION_VALUE_NOT_SUPPORTED_S2J = "exception.value.not.supported.s2j";
public static final String EXCEPTION_XQRL_XPATH_NOT_VALID = "exception.xqrl.xpath.not.valid";
public static final String EXCEPTION_XQRL_EXCEPTION = "exception.xqrl.exception";
//
// xml errors
//
/**
* uniqattspec: See
* <a href="http://www.w3.org/TR/REC-xml/#uniqattspec">XML 1.0: Unique Att Spec</a>
*/
public static final String XML_DUPLICATE_ATTRIBUTE = "uniqattspec";
//
// schema errors
//
/**
* cvc-assess-attr: See
* <a href="http://www.w3c.org/TR/xmlschema-1/#cvc-assess-attr">XMLSchema Structures 1.0: Schema-Validity Assessment (Attribute)</a>
*/
public static final String ASSESS_ATTR_SCHEMA_VALID = "cvc-assess-attr";
/**
* cvc-assess-attr.1.2: See clause 1.2 of
* <a href="http://www.w3c.org/TR/xmlschema-1/#cvc-assess-attr">XMLSchema Structures 1.0: Schema-Validity Assessment (Attribute)</a>
*/
public static final String ASSESS_ATTR_SCHEMA_VALID$NOT_RESOLVED = "cvc-assess-attr.1.2";
/**
* cvc-assess-elt: See
* <a href="http://www.w3c.org/TR/xmlschema-1/#cvc-assess-elt">XMLSchema Structures 1.0: Schema-Validity Assessment (Element)</a>
*/
public static final String ASSESS_ELEM_SCHEMA_VALID = "cvc-assess-elt";
/**
* cvc-assess-elt.1.1.1.3.2: See clause 1.1.1.3.2 of
* <a href="http://www.w3c.org/TR/xmlschema-1/#cvc-assess-elt">XMLSchema Structures 1.0: Schema-Validity Assessment (Element)</a>
*/
public static final String ASSESS_ELEM_SCHEMA_VALID$NOT_RESOLVED = "cvc-assess-elt.1.1.1.3.2";
/**
* cvc-attribute: See
* <a href="http://www.w3c.org/TR/xmlschema-1/#cvc-attribute">XMLSchema Structures 1.0: Attribute Locally Valid</a>
*/
public static final String ATTR_LOCALLY_VALID = "cvc-attribute";
/**
* cvc-attribute.1: See clause 1 of
* <a href="http://www.w3c.org/TR/xmlschema-1/#cvc-attribute">XMLSchema Structures 1.0: Attribute Locally Valid</a>
*/
public static final String ATTR_LOCALLY_VALID$NO_TYPE = "cvc-attribute.1";
/**
* cvc-attribute.4: See clause 4 of
* <a href="http://www.w3c.org/TR/xmlschema-1/#cvc-attribute">XMLSchema Structures 1.0: Attribute Locally Valid</a>
*/
public static final String ATTR_LOCALLY_VALID$FIXED = "cvc-attribute.4";
/**
* cvc-au: See
* <a href="http://www.w3c.org/TR/xmlschema-1/#cvc-au">XMLSchema Structures 1.0: Attribute Locally Valid (Use)</a>
*/
public static final String ATTR_USE_LOCALLY_VALID = "cvc-au";
/**
* cvc-complex-type: See
* <a href="http://www.w3c.org/TR/xmlschema-1/#cvc-complex-type">XMLSchema Structures 1.0: Element Locally Valid (Complex Type)</a>
*/
public static final String ELEM_COMPLEX_TYPE_LOCALLY_VALID = "cvc-complex-type";
/**
* cvc-complex-type.2.1: See clause 2.1 of
* <a href="http://www.w3c.org/TR/xmlschema-1/#cvc-complex-type">XMLSchema Structures 1.0: Element Locally Valid (Complex Type)</a>
*/
public static final String ELEM_COMPLEX_TYPE_LOCALLY_VALID$EMPTY_WITH_CONTENT = "cvc-complex-type.2.1";
/**
* cvc-complex-type.2.2: See clause 2.2 of
* <a href="http://www.w3c.org/TR/xmlschema-1/#cvc-complex-type">XMLSchema Structures 1.0: Element Locally Valid (Complex Type)</a>
*/
public static final String ELEM_COMPLEX_TYPE_LOCALLY_VALID$SIMPLE_TYPE_WITH_CONTENT = "cvc-complex-type.2.2";
/**
* cvc-complex-type.2.4a: See clause 2.4 of
* <a href="http://www.w3c.org/TR/xmlschema-1/#cvc-complex-type">XMLSchema Structures 1.0: Element Locally Valid (Complex Type)</a>
*/
public static final String ELEM_COMPLEX_TYPE_LOCALLY_VALID$EXPECTED_DIFFERENT_ELEMENT = "cvc-complex-type.2.4a";
/**
* cvc-complex-type.2.4b: See clause 2.4 of
* <a href="http://www.w3c.org/TR/xmlschema-1/#cvc-complex-type">XMLSchema Structures 1.0: Element Locally Valid (Complex Type)</a>
*/
public static final String ELEM_COMPLEX_TYPE_LOCALLY_VALID$ELEMENT_NOT_ALLOWED = "cvc-complex-type.2.4b";
/**
* cvc-complex-type.2.4c: See clause 2.4 of
* <a href="http://www.w3c.org/TR/xmlsch
没有合适的资源?快使用搜索试试~ 我知道了~
xsd生成xml工具
共355个文件
class:207个
java:142个
properties:2个
3星 · 超过75%的资源 需积分: 50 366 下载量 117 浏览量
2010-10-28
23:47:16
上传
评论 2
收藏 771KB RAR 举报
温馨提示
通过xsd文件生成样例xml的工具,有完整源代码
资源推荐
资源详情
资源评论
收起资源包目录
xsd生成xml工具 (355个子文件)
SampleXmlUtil.class 25KB
XmlErrorCodes.class 24KB
GDateBuilder.class 19KB
GDate.class 17KB
XsTypeConverter.class 17KB
FilterXmlObject.class 16KB
XmlBeans.class 16KB
QNameSetBuilder.class 12KB
XmlError.class 12KB
XmlOptions.class 11KB
GDurationBuilder.class 10KB
XmlOptionsBean.class 10KB
QNameSet.class 7KB
SchemaType.class 7KB
GDuration.class 7KB
XmlObject$Factory.class 6KB
XmlValidationError.class 6KB
XmlNonPositiveInteger$Factory.class 6KB
XmlNonNegativeInteger$Factory.class 6KB
CommandLine.class 6KB
XmlNormalizedString$Factory.class 6KB
XmlNegativeInteger$Factory.class 6KB
XmlPositiveInteger$Factory.class 6KB
SchemaInstanceGenerator.class 6KB
XmlUnsignedShort$Factory.class 6KB
XmlUnsignedByte$Factory.class 6KB
XmlBase64Binary$Factory.class 6KB
XmlUnsignedLong$Factory.class 6KB
XmlUnsignedInt$Factory.class 6KB
XmlAnySimpleType$Factory.class 6KB
XmlGYearMonth$Factory.class 6KB
XmlHexBinary$Factory.class 6KB
XmlGMonthDay$Factory.class 6KB
XmlNOTATION$Factory.class 6KB
XmlLanguage$Factory.class 6KB
XmlDateTime$Factory.class 6KB
XmlNMTOKENS$Factory.class 6KB
XmlENTITIES$Factory.class 6KB
XmlDuration$Factory.class 6KB
XmlNMTOKEN$Factory.class 6KB
XmlBoolean$Factory.class 6KB
XmlInteger$Factory.class 6KB
XmlDecimal$Factory.class 6KB
XmlNCName$Factory.class 6KB
XmlString$Factory.class 6KB
XmlAnyURI$Factory.class 6KB
XmlGMonth$Factory.class 6KB
XmlIDREFS$Factory.class 6KB
XmlENTITY$Factory.class 6KB
XmlDouble$Factory.class 6KB
XmlShort$Factory.class 6KB
XmlIDREF$Factory.class 6KB
XmlGYear$Factory.class 6KB
XmlFloat$Factory.class 6KB
XmlToken$Factory.class 6KB
XmlQName$Factory.class 6KB
XmlTime$Factory.class 6KB
XmlGDay$Factory.class 6KB
XmlLong$Factory.class 6KB
XmlByte$Factory.class 6KB
XmlDate$Factory.class 6KB
XmlName$Factory.class 6KB
XmlInt$Factory.class 6KB
XmlID$Factory.class 6KB
XmlSimpleList.class 5KB
Base64.class 4KB
XmlCalendar.class 4KB
SchemaTypeLoader.class 4KB
XmlCursor.class 4KB
IOUtil.class 3KB
QNameCache.class 3KB
SimpleValue.class 3KB
XmlCursor$TokenType.class 3KB
XmlDocumentProperties.class 3KB
XmlOptionCharEscapeMap.class 3KB
NestedThrowable$Util.class 3KB
XmlException.class 2KB
BindingConfig.class 2KB
XmlRuntimeException.class 2KB
HexBin.class 2KB
XMLStreamException.class 2KB
XmlObject.class 2KB
SchemaTypeLoaderException.class 2KB
XmlFactoryHook.class 2KB
SchemaProperty.class 2KB
StringEnumAbstractBase$Table.class 2KB
XmlTokenSource.class 2KB
Diff.class 2KB
SchemaComponent$Ref.class 2KB
XmlSimpleList$2.class 2KB
InvalidLexicalValueException.class 2KB
ElementTypeNames.class 1KB
XmlCursor$XmlBookmark.class 1KB
XMLEvent.class 1KB
SchemaParticle.class 1KB
SystemProperties.class 1KB
XmlDateTime.class 1KB
XmlDate.class 1KB
SchemaIdentityConstraint$Ref.class 1KB
SchemaAttributeGroup$Ref.class 1KB
共 355 条
- 1
- 2
- 3
- 4
lightingfish
- 粉丝: 1
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
- 6
前往页