Skip to content

Commit

Permalink
Switching schema URI for RenderingControl, rollback Volume max value
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Bauer committed Dec 18, 2012
1 parent afb0a7d commit 6feb062
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
sendEvents = false,
datatype = "ui2",
allowedValueMinimum = 0,
allowedValueMaximum = 15),
allowedValueMaximum = 100),
@UpnpStateVariable(
name = "VolumeDB",
sendEvents = false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,9 @@
*/
public class RenderingControlLastChangeParser extends LastChangeParser {

/*
TODO: UPNP VIOLATION: RenderingControl 1.0 specification schema says "/RCS" but examples
say "AVT_RCS", guess what most people use?
*/
public static final String NAMESPACE_URI = "urn:schemas-upnp-org:metadata-1-0/AVT_RCS";
public static final String NAMESPACE_URI = "urn:schemas-upnp-org:metadata-1-0/RCS";
public static final String SCHEMA_RESOURCE = "org/fourthline/cling/support/renderingcontrol/metadata-1.0-rcs.xsd";

/* TODO: Michaels changes?
public static final String NAMESPACE_URI = "urn:schemas-upnp-org:metadata-1-0/RCS/";
public static final String SCHEMA_RESOURCE = "org/teleal/cling/support/renderingcontrol/metadata-1.0-rcs.xsd";
*/

@Override
protected String getNamespace() {
return NAMESPACE_URI;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

<!--
TODO: UPNP VIOLATION: RenderingControl 1.0 specification schema says "/RCS" but examples
say "AVT_RCS", guess what most people use?
in the spec say "AVT_RCS". We had /AVT_RCS, now we have /RCS, let's see who complains.
-->
<xsd:schema targetNamespace="urn:schemas-upnp-org:metadata-1-0/AVT_RCS"
xmlns:rcs="urn:schemas-upnp-org:metadata-1-0/AVT_RCS"
<xsd:schema targetNamespace="urn:schemas-upnp-org:metadata-1-0/RCS"
xmlns:rcs="urn:schemas-upnp-org:metadata-1-0/RCS"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
Expand Down

0 comments on commit 6feb062

Please sign in to comment.