我正在使用Notepad ++ 5.3.1.我想在远程计算机上编辑和保存文件(两者都在Windows XP上运行).我已在包含文件的文件夹中授予访问权限和安全权限.
当我在Notepad ++中编辑后尝试保存这些文件时,出现以下错误.
'Please check whether if this file is opened in another program'
Run Code Online (Sandbox Code Playgroud)
没有其他地方文件已被打开但我仍然收到此错误.我之前能够编辑和保存,但这个错误似乎只是从昨天开始.
我有一个xml文档,其中有三个子元素以任何顺序重复.我在xsd中有xsd:sequence元素,因为xml没有得到验证.我不能使用xsd:all因为元素不止一次出现.
请帮助我.
这是xml
<Trailer>
<TrailerField name="SegmentLabelOne" length="4" type="String">TSTS</TrailerField>
<TrailerField name="SegmentLabelTwo" length="2" type="String">00</TrailerField>
<CountItem length="10" type="Numeric">MT</CountItem>
<TrailerField name="SegmentLabelThree" length="2" type="String">01</TrailerField>
<CountItem length="10" type="Numeric">MA</CountItem>
<TrailerField name="SegmentLabelFour" length="2" type="String">02</TrailerField>
<TrailerField name="FilerOne" length="65" type="String"> </TrailerField>
</Trailer>
Run Code Online (Sandbox Code Playgroud)
这是xsd
<xsd:complexType name="TrailerSegment">
<xsd:sequence>
<xsd:element name="NameOfElement" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="name" type="xsd:string"></xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="CountItem" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="length" type="xsd:string"></xsd:attribute>
<xsd:attribute name="type" type="xsd:string"></xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="TrailerField" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="name" type="xsd:string"></xsd:attribute> …Run Code Online (Sandbox Code Playgroud)