Leave my XML file alone in Documentum
来源:互联网 发布:开店软件 编辑:程序博客网 时间:2024/06/05 10:19
http://www.ukoom.com/leave-my-xml-file-alone-in-documentum.htm
There are three ways to turn off XML validation while importing or checking in XML files:
1. To permanently turn off XML validation in your repository modify the "format_class" attribute for the "xml" dm_format object.
By default the "format_class" is set to "XML", which is a trigger for DFC XML processing. Removing the value of "format_class" will cause DFC to ignore all XML documents.
Run the following DQL query on your repository to permanently turn off XML validation:
update dm_format object set format_class = " where name = 'xml'
To change this behavior back to the original state and validate XML documents on import run this DQL query:
update dm_format object set format_class = 'XML' where name = 'xml'
NOTE: If your XML documents have errors you will need to change the default application that opens your XML documents. Select an application that does not parse XML such as Notepad.
Warning!! If you use Content Transformation Services you cannot use this technique to turn off XML validation. Select from option 2 or option 3 listed below.
2. If you do not want all XML documents to be ignored then change the file extension to something other than ".xml".
3. To disable XML validation on import add the processing instruction <?dctm xml_app="Ignore"?> to the xml file. This will halt the parsing algorithm.
Every XML application configuration file requires an XML declaration, a prologue, a processing instruction (that instructs the system to exempt this file from being processed by the Default XML Application), and a root element. That is:
<?xml version="1.0"?>
<!DOCTYPE application SYSTEM "config_5.1.dtd">
<?dctm xml_app="Ignore"?>
<application>…</application>
Therefore the third way to bypass the parser during import or check-in is to add the following line in the XML document after the XML declaration:
<?xml version="1.0"?>
<?dctm xml_app="Ignore"?>
- Leave my XML file alone in Documentum
- Leave Those Debugging Commands Alone!
- Registered Tables in Documentum
- My first javascript file on xml.
- Service Based Objects (SBO’s) in Documentum
- alone
- Hidden My Error Connect A Xml File Time Out
- leave
- sometimes my file just freezes in my vi |vim, what happened?
- Error in an XML file: aborting build
- Error in an XML file: aborting build
- Error in an XML file: aborting build.
- Error in an XML file: aborting build.
- Error in an XML file: aborting build
- Error in an XML file: aborting build
- Error in an XML file: aborting build
- Error in an XML file: aborting build.
- No persistence.xml file found in project
- ExtJS学习笔记 layout的9种样式风格
- Android 获取本机的IP
- 开源中最好的 Web 开发的资源(上)
- Matlab 自定义函数
- ASP.NET Cookie 概述
- Leave my XML file alone in Documentum
- .tar.bz2文件解压缩——个人笔记
- Matlab 矩阵运算
- 一个男人关心的东西 决定了他的层次
- 奇迹,是为了信念牺牲一切(高策)
- just touch me!
- javascript 中的 prototype和constructor属性的使用(constructor属性始终指向创建当前对象的构造函数,每个函数都有一个默认的属性prototype,而这个prototype的constructor默认指向这个函数)
- Linux下ls命令的简单模拟实现
- Java中唯一数的生成