Skip to content

Commit

Permalink
remove xml namespacing
Browse files Browse the repository at this point in the history
  • Loading branch information
chippyash committed Dec 21, 2014
1 parent 13a4a2f commit 9b466c3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
3 changes: 1 addition & 2 deletions src/chippyash/Zend/Acl/Xml/xsd/zendacl.xsd
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" elementFormDefault="qualified"
targetNamespace="http://zf4.biz/zendacl" xmlns="http://zf4.biz/zendacl">
xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" elementFormDefault="qualified">

<xs:element name="acl">
<xs:complexType>
Expand Down
5 changes: 2 additions & 3 deletions test/src/chippyash/Zend/Acl/Xml/fixtures/badtest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<acl xmlns="http://zf4.biz/zendacl"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://zf4.biz/zendacl ../../../../../../../src/chippyash/Zend/Acl/Xml/xsd/zendacl.xsd">
<acl xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="zendacl.xsd">
<!-- No roles defined - will fail validation-->
<resources>
<resource>login</resource>
Expand Down
5 changes: 2 additions & 3 deletions test/src/chippyash/Zend/Acl/Xml/fixtures/test.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<acl xmlns="http://zf4.biz/zendacl"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://zf4.biz/zendacl ../../../../../../../src/chippyash/Zend/Acl/Xml/xsd/zendacl.xsd">
<acl xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="zendacl.xsd">
<roles>
<role type="GenericRole">guest</role>
<role parents="guest" type="chippyash\Test\Zend\Acl\Xml\Stubs\TestRoleStub">user</role>
Expand Down

0 comments on commit 9b466c3

Please sign in to comment.